From 47bfb4d5424a4dd82e3249e120d0838d81e4099e Mon Sep 17 00:00:00 2001 From: pavsoss Date: Sun, 12 Jul 2026 18:07:01 +0530 Subject: [PATCH] chore: pin pytest and ruff cache paths to avoid out-of-repo writes on Windows --- .gitignore | 1 + pyproject.toml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d364158f..f5216068 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ __pycache__/ *.pyo *.egg-info/ .pytest_cache/ +.pytest-tmp/ .venv/ venv/ dist/ diff --git a/pyproject.toml b/pyproject.toml index 80993f66..3217342f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -103,12 +103,14 @@ Issues = "https://github.com/sreerevanth/AgentWatch/issues" packages = ["agentwatch"] [tool.pytest.ini_options] +cache_dir = ".pytest_cache" asyncio_mode = "auto" testpaths = ["tests"] -addopts = "-v --tb=short" +addopts = "-v --tb=short --basetemp=.pytest-tmp" pythonpath = ["."] [tool.ruff] +cache-dir = ".ruff_cache" target-version = "py312" line-length = 100