-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Expand file tree
/
Copy path.pytest.toml
More file actions
31 lines (27 loc) · 827 Bytes
/
.pytest.toml
File metadata and controls
31 lines (27 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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