Skip to content

Commit

Permalink
Enforce repo-review rule
Browse files Browse the repository at this point in the history
PP309: Filter warnings specified

`filterwarnings` must be set (probably to at least `["error"]`). Python
will hide important warnings otherwise, like deprecations.
  • Loading branch information
DimitriPapadopoulos committed Jun 23, 2024
1 parent 9d3701e commit c9c0074
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ repository = "https://github.com/ImagingDataCommons/highdicom.git"
[tool.pytest.ini_options]
minversion = "7"
addopts = ["--doctest-modules", "-ra", "--strict-config", "--strict-markers"]
filterwarnings = ["error"]
testpaths = ["tests"]
log_cli_level = "INFO"
xfail_strict = true
Expand Down

0 comments on commit c9c0074

Please sign in to comment.