Commit 7bda23e
[BE]: Update ruff to 0.5.0 (#129744)
Update ruff to 0.5.0 so we can enable all the some of the new checks I've been wanting to add to the codebase. First just updating the code to comply with some rule changes and a couple minor API changes / deprecations.
Pull Request resolved: #129744
Approved by: https://github.com/ezyang1 parent 0a33761 commit 7bda23e
File tree
5 files changed
+7
-4
lines changed- test
- tools/linter/adapters
5 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1781 | 1781 | | |
1782 | 1782 | | |
1783 | 1783 | | |
1784 | | - | |
| 1784 | + | |
1785 | 1785 | | |
1786 | 1786 | | |
1787 | 1787 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13210 | 13210 | | |
13211 | 13211 | | |
13212 | 13212 | | |
13213 | | - | |
| 13213 | + | |
13214 | 13214 | | |
13215 | 13215 | | |
13216 | 13216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3907 | 3907 | | |
3908 | 3908 | | |
3909 | 3909 | | |
3910 | | - | |
| 3910 | + | |
3911 | 3911 | | |
3912 | 3912 | | |
3913 | 3913 | | |
3914 | 3914 | | |
3915 | 3915 | | |
3916 | 3916 | | |
3917 | | - | |
| 3917 | + | |
3918 | 3918 | | |
3919 | 3919 | | |
3920 | 3920 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
229 | 230 | | |
230 | 231 | | |
231 | 232 | | |
| |||
308 | 309 | | |
309 | 310 | | |
310 | 311 | | |
| 312 | + | |
311 | 313 | | |
312 | 314 | | |
313 | 315 | | |
| |||
0 commit comments