chore: consolidate tool caches under .cache/
pytest, mypy and ruff now write to .cache/pytest, .cache/mypy and .cache/ruff instead of three dot-directories in the repository root. ruff.toml and mypy.ini set only the cache location, so lint and type rules are unchanged. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -6,13 +6,11 @@
|
|||||||
*.db
|
*.db
|
||||||
gcp_agent_local.db
|
gcp_agent_local.db
|
||||||
|
|
||||||
# Python & pytest caches
|
# Python bytecode and tool caches (pytest, mypy and ruff write to .cache/)
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.pyc
|
*.pyc
|
||||||
*.pyo
|
*.pyo
|
||||||
.pytest_cache/
|
.cache/
|
||||||
.mypy_cache/
|
|
||||||
.ruff_cache/
|
|
||||||
|
|
||||||
# Virtual Environments
|
# Virtual Environments
|
||||||
.venv/
|
.venv/
|
||||||
|
|||||||
3
mypy.ini
Normal file
3
mypy.ini
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[mypy]
|
||||||
|
# Tool caches live under .cache/ to keep the repository root clean.
|
||||||
|
cache_dir = .cache/mypy
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
[pytest]
|
[pytest]
|
||||||
testpaths = tests
|
testpaths = tests
|
||||||
|
cache_dir = .cache/pytest
|
||||||
asyncio_mode = auto
|
asyncio_mode = auto
|
||||||
asyncio_default_fixture_loop_scope = function
|
asyncio_default_fixture_loop_scope = function
|
||||||
filterwarnings =
|
filterwarnings =
|
||||||
|
|||||||
Reference in New Issue
Block a user