chore(tests): move pytest's cache directory out of OneDrive's way
Every test run this session logged the same warning: "PytestCacheWarning: could not create cache path ...\.pytest_cache\v\cache\nodeids: [WinError 5] Access is denied." The project lives under OneDrive on this machine, and OneDrive's sync agent transiently locks files it's syncing — a classic source of WinError 5 on Windows, and not something specific to this one laptop's permissions. `npm run test` now points pytest at .pytest-temp/.pytest-cache instead of the default .pytest_cache, both gitignored. Harmless either way: it's cache, not state. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,6 +5,8 @@ __pycache__/
|
||||
*.py[cod]
|
||||
*.egg-info/
|
||||
.pytest_cache/
|
||||
.pytest-temp/
|
||||
.pytest-cache/
|
||||
.ruff_cache/
|
||||
.mypy_cache/
|
||||
.coverage
|
||||
|
||||
Reference in New Issue
Block a user