Skip to content

Commit

Permalink
Add pytest configuration settings to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Feb 8, 2023
1 parent febed56 commit 9cbf17b
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
[tool.black]
line-length = 120
src_paths = ["grafana_wtf", "tests"]

[tool.isort]
profile = "black"
src_paths = ["grafana_wtf", "tests"]

[tool.black]
line-length = 120
src_paths = ["grafana_wtf", "tests"]
[tool.pytest.ini_options]
addopts = "-ra -q --verbosity=3 --doctest-modules"
minversion = "2.0"
log_level = "DEBUG"
log_cli_level = "DEBUG"
testpaths = [
"grafana_wtf",
"tests",
]
xfail_strict = true

0 comments on commit 9cbf17b

Please sign in to comment.