Move the pytest config

This commit is contained in:
Alexander Hess 2026-11-25 14:43:31 +01:00
commit 03617d5bbb
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -139,3 +139,28 @@ xdoctest = { version=">=1.3.2,<2", extras=["optional"] }
# Documentation
sphinx = ">=9.2.0,<10"
sphinx-autodoc-typehints = ">=3.17.7,<4"
[tool.pytest.ini_options]
# Source: https://docs.pytest.org/en/stable/reference/reference.html#ini-options-ref
cache_dir = ".cache/pytest"
addopts = "--strict-markers"
console_output_style = "count"
env = [
"TESTING=true",
]
filterwarnings = [
"ignore:::patsy.*",
]
markers = [
"db: (integration) tests touching the database",
"e2e: non-db and non-r integration tests",
"r: (integration) tests using rpy2",
]