🔧 Store miscellaneous dev cache files in their own directory

This commit is contained in:
Daniil Fajnberg 2023-03-13 18:35:14 +01:00
parent 4878d550fe
commit 4dd1fbaf53
Signed by: daniil-berg
GPG Key ID: BE187C50903BEE97
2 changed files with 5 additions and 2 deletions

4
.gitignore vendored
View File

@ -21,5 +21,5 @@ __pycache__/
# Testing:
/.coverage
# mypy:
.mypy_cache/
# Miscellaneous cache:
.cache/

View File

@ -65,6 +65,7 @@ version = {attr = "marshmallow_generic.__version__"}
# Static type checking: #
[tool.mypy]
cache_dir = ".cache/mypy"
files = [
"src/",
"tests/",
@ -80,6 +81,7 @@ plugins = [
# Unit test coverage: #
[tool.coverage.run]
data_file = ".cache/coverage"
source = [
"src/",
]
@ -105,6 +107,7 @@ omit = [
# Linting and style checking: #
[tool.ruff]
cache-dir = ".cache/ruff"
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings