Commit e95be9a
committed
fix: Allow tests to pass again under ruff 0.16.x
ruff 0.16.0 removed rule `E402` from its default rule set (among other rules). This broke these two tests, which assumes this rule is part of the default set.
Update the tests to explicitly configure these `E402`, so they can be asserted on at the end. We also go ahead and do the same for the rest of the rules these tests expect, so that they don't quietly break later on.1 parent 00356b4 commit e95be9a
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
168 | | - | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| |||
277 | 278 | | |
278 | 279 | | |
279 | 280 | | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
280 | 284 | | |
281 | 285 | | |
282 | 286 | | |
| |||
0 commit comments