Skip to content

Commit 5adc222

Browse files
committed
Pytest: Add configuration snippet to pyproject.toml
1 parent 4172ec0 commit 5adc222

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

pyproject.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,21 @@ namespace_packages = true
6868
non_interactive = true
6969

7070

71+
[tool.pytest.ini_options]
72+
addopts = "-rA --verbosity=3"
73+
minversion = "2.0"
74+
log_level = "DEBUG"
75+
log_cli_level = "DEBUG"
76+
log_format = "%(asctime)-15s [%(name)-24s] %(levelname)-8s: %(message)s"
77+
testpaths = [
78+
"src",
79+
"tests",
80+
]
81+
xfail_strict = true
82+
markers = [
83+
]
84+
85+
7186
[tool.ruff]
7287
line-length = 80
7388

0 commit comments

Comments
 (0)