Skip to content

Commit 6f53d67

Browse files
Apply repo-review rules PP306, PP307, PP308
PP306: Specifies strict config `--strict-config` should be in `addopts = [...]`. This forces an error if a config setting is misspelled. PP307: Specifies strict markers `--strict-markers` should be in `addopts = [...]`. This forces all markers to be specified in config, avoiding misspellings. PP308: Specifies useful pytest summary An explicit summary flag like `-ra` should be in `addopts = [...]` (print summary of all fails/errors).
1 parent 4d0d50b commit 6f53d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ filterwarnings = [
137137
log_level = "debug"
138138
log_cli_level = "info"
139139
# disable unraisable until investigated
140-
addopts = ["-p", "no:unraisableexception"]
140+
addopts = ["-ra", "--strict-config", "--strict-markers", "-p", "no:unraisableexception"]
141141
markers = [
142142
"issue(id): reference to github issue",
143143
"skip_commit: allows to skip committing in the helpers",

0 commit comments

Comments
 (0)