Skip to content

Commit

Permalink
Enforce repo-review rule PP306
Browse files Browse the repository at this point in the history
PP306: Specifies strict config

`--strict-config` should be in `addopts = [...]`. This forces an error
if a config setting is misspelled.
  • Loading branch information
DimitriPapadopoulos committed Jun 23, 2024
1 parent da5acdf commit 39011d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ repository = "https://github.com/ImagingDataCommons/highdicom.git"

[tool.pytest.ini_options]
minversion = "7"
addopts = "--doctest-modules"
addopts = ["--doctest-modules", "--strict-config"]
testpaths = ["tests"]
log_cli_level = "INFO"
xfail_strict = true
Expand Down

0 comments on commit 39011d5

Please sign in to comment.