🔧 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: # Testing:
/.coverage /.coverage
# mypy: # Miscellaneous cache:
.mypy_cache/ .cache/

View File

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