Repository navigation
Commit ae07b36
committed
Update default rules for v0.17 (#28786)
Summary
--
This makes a few modifications to our default rule set for v0.17. As the
snapshots show, these had
already been incorporated into our preview defaults via rule
recategorization. This just ports them
back to the stable default rules.
This closes #27197, which brought the problems with the DTZ rules to our
attention. F406 being a
syntax error was raised in [this comment].
[this comment]:
#27199 (comment)
Test Plan
--
Updated snapshots1 parent a5eb5b4 commit ae07b36
3 files changed
Lines changed: 4 additions & 36 deletions
File tree
- crates
- ruff_linter/src/settings
- ruff/tests/cli
- snapshots
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5084 | 5084 | | |
5085 | 5085 | | |
5086 | 5086 | | |
5087 | | - | |
5088 | 5087 | | |
5089 | 5088 | | |
5090 | 5089 | | |
5091 | | - | |
5092 | | - | |
5093 | | - | |
5094 | | - | |
5095 | | - | |
5096 | | - | |
5097 | 5090 | | |
5098 | 5091 | | |
5099 | 5092 | | |
| |||
5216 | 5209 | | |
5217 | 5210 | | |
5218 | 5211 | | |
| 5212 | + | |
5219 | 5213 | | |
5220 | 5214 | | |
5221 | 5215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | 142 | | |
144 | 143 | | |
145 | 144 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | 145 | | |
153 | 146 | | |
154 | 147 | | |
| |||
271 | 264 | | |
272 | 265 | | |
273 | 266 | | |
| 267 | + | |
274 | 268 | | |
275 | 269 | | |
276 | 270 | | |
| |||
554 | 548 | | |
555 | 549 | | |
556 | 550 | | |
557 | | - | |
558 | 551 | | |
559 | 552 | | |
560 | 553 | | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | 554 | | |
568 | 555 | | |
569 | 556 | | |
| |||
686 | 673 | | |
687 | 674 | | |
688 | 675 | | |
| 676 | + | |
689 | 677 | | |
690 | 678 | | |
691 | 679 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
417 | 416 | | |
418 | 417 | | |
419 | 418 | | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | 419 | | |
427 | 420 | | |
428 | 421 | | |
| |||
432 | 425 | | |
433 | 426 | | |
434 | 427 | | |
| 428 | + | |
435 | 429 | | |
436 | 430 | | |
437 | 431 | | |
| |||
1013 | 1007 | | |
1014 | 1008 | | |
1015 | 1009 | | |
1016 | | - | |
1017 | 1010 | | |
1018 | 1011 | | |
1019 | 1012 | | |
| |||
1070 | 1063 | | |
1071 | 1064 | | |
1072 | 1065 | | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | 1066 | | |
1081 | 1067 | | |
1082 | 1068 | | |
| |||
0 commit comments