Commit 86baf94
Configure pytest to fail on what it should fail on (#25)
py-canon 1.3.0 puts the whole sp-repo-review PP301-PP309 set in the template:
minversion, log_level, xfail_strict, filterwarnings = ["error"], and
-ra/--strict-config/--strict-markers in addopts.
These decide whether a run *fails* rather than how it reads. Without
filterwarnings a dependency's DeprecationWarning stays invisible until the
release that removes the API; without --strict-markers a typo in a marker name
selects nothing and reports success; without --strict-config a typo in this
very table is ignored.
Applied with `preen fix pytest-config`, and the suite was run under the new
settings before this was opened -- the point of the change is that warnings now
fail, so a config that quietly breaks the suite would defeat it.
Claude-Session: https://claude.ai/code/session_011SkMDqnEFUgr7Mbc1HwMqX
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 7ff001a commit 86baf94
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
124 | 129 | | |
125 | 130 | | |
126 | 131 | | |
| |||
0 commit comments