Skip to content

Commit

Permalink
Move tool cache into cache directory to prevent root directory pollut…
Browse files Browse the repository at this point in the history
…ion. (#246)
  • Loading branch information
cidrblock authored Jun 7, 2024
1 parent b07a634 commit 8701676
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ parallel = true
source_pkgs = ["ansible_dev_tools"]

[tool.mypy]
cache_dir = "./.cache/.mypy"
files = ["src", "tests"]
strict = true

Expand Down Expand Up @@ -310,12 +311,14 @@ fail-on = [

[tool.pytest.ini_options]
addopts = "-ra --showlocals --durations=10 -p no:pytest-ansible"
cache_dir = "./.cache/.pytest"
testpaths = "tests"
tmp_path_retention_policy = "failed"
verbosity_assertions = 2

[tool.ruff]
builtins = ["__"]
cache-dir = "./.cache/.ruff"
fix = true
line-length = 100
target-version = "py310"
Expand Down

0 comments on commit 8701676

Please sign in to comment.