mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
32 lines
827 B
TOML
32 lines
827 B
TOML
# https://docs.pytest.org/en/stable/reference/reference.html#configuration-options
|
|
|
|
[pytest]
|
|
minversion = "9.0"
|
|
|
|
# https://docs.pytest.org/en/stable/reference/reference.html#command-line-flags
|
|
addopts = [
|
|
"-ra",
|
|
"--import-mode=prepend",
|
|
# "--pythonwarnings=error",
|
|
]
|
|
|
|
empty_parameter_set_mark = "xfail"
|
|
filterwarnings = [
|
|
"all",
|
|
"ignore::DeprecationWarning:docutils.io",
|
|
"ignore:Distutils was imported before Setuptools:UserWarning:_distutils_hack",
|
|
"ignore:Setuptools is replacing distutils:UserWarning:_distutils_hack",
|
|
"ignore::DeprecationWarning:pyximport.pyximport",
|
|
"ignore::ImportWarning:importlib._bootstrap",
|
|
]
|
|
log_cli_level = "INFO"
|
|
markers = [
|
|
"apidoc",
|
|
]
|
|
testpaths = ["tests"]
|
|
|
|
strict_config = true
|
|
strict_markers = true
|
|
#strict_parametrization_ids = true
|
|
strict_xfail = true
|