diff --git a/.gitignore b/.gitignore index f6a17fc..a4f10a0 100644 --- a/.gitignore +++ b/.gitignore @@ -6,13 +6,11 @@ *.db gcp_agent_local.db -# Python & pytest caches +# Python bytecode and tool caches (pytest, mypy and ruff write to .cache/) __pycache__/ *.pyc *.pyo -.pytest_cache/ -.mypy_cache/ -.ruff_cache/ +.cache/ # Virtual Environments .venv/ diff --git a/mypy.ini b/mypy.ini new file mode 100644 index 0000000..bf53e96 --- /dev/null +++ b/mypy.ini @@ -0,0 +1,3 @@ +[mypy] +# Tool caches live under .cache/ to keep the repository root clean. +cache_dir = .cache/mypy diff --git a/pytest.ini b/pytest.ini index 5b71f0b..b083d54 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,5 +1,6 @@ [pytest] testpaths = tests +cache_dir = .cache/pytest asyncio_mode = auto asyncio_default_fixture_loop_scope = function filterwarnings = diff --git a/ruff.toml b/ruff.toml new file mode 100644 index 0000000..0b8b15d --- /dev/null +++ b/ruff.toml @@ -0,0 +1,2 @@ +# Tool caches live under .cache/ to keep the repository root clean. +cache-dir = ".cache/ruff"