Skip to content

Commit 9cbf17b

Browse files
committed
Add pytest configuration settings to pyproject.toml
1 parent febed56 commit 9cbf17b

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

pyproject.toml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
1+
[tool.black]
2+
line-length = 120
3+
src_paths = ["grafana_wtf", "tests"]
4+
15
[tool.isort]
26
profile = "black"
37
src_paths = ["grafana_wtf", "tests"]
48

5-
[tool.black]
6-
line-length = 120
7-
src_paths = ["grafana_wtf", "tests"]
9+
[tool.pytest.ini_options]
10+
addopts = "-ra -q --verbosity=3 --doctest-modules"
11+
minversion = "2.0"
12+
log_level = "DEBUG"
13+
log_cli_level = "DEBUG"
14+
testpaths = [
15+
"grafana_wtf",
16+
"tests",
17+
]
18+
xfail_strict = true

0 commit comments

Comments
 (0)