Commit e45c3d4
Configure pytest to fail on what it should fail on (#81)
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 1d58296 commit e45c3d4
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 104 | + | |
109 | 105 | | |
110 | 106 | | |
111 | 107 | | |
| |||
117 | 113 | | |
118 | 114 | | |
119 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
| |||
0 commit comments