Skip to content

Commit e446015

Browse files
authored
Move tool cache into cache directory to prevent root directory pollution. (#223)
1 parent 00f7e37 commit e446015

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ parallel = true
6060
source_pkgs = ["ansible_creator"]
6161

6262
[tool.mypy]
63+
cache_dir = "./.cache/.mypy"
6364
exclude = 'tests/fixtures'
6465
files = ["src", "tests"]
6566
strict = true
@@ -313,13 +314,15 @@ fail-on = [
313314

314315
[tool.pytest.ini_options]
315316
addopts = "-ra --showlocals --durations=10"
317+
cache_dir = "./.cache/.pytest"
316318
norecursedirs = "tests/fixtures"
317319
testpaths = "tests"
318320
tmp_path_retention_policy = "failed"
319321
verbosity_assertions = 2
320322

321323
[tool.ruff]
322324
builtins = ["__"]
325+
cache-dir = "./.cache/.ruff"
323326
exclude = ["tests/fixtures"]
324327
fix = true
325328
line-length = 100

0 commit comments

Comments
 (0)