Commit 6511168
authored
Enable ruff A rule (builtin shadowing detection) (#2005)
## Summary
- Add flake8-builtins rule set with A002 globally ignored (model
parameters like `id`, `type` intentionally match Overkiz API field
names)
- Rename shadowed `input` variable in `test_obfuscate.py`
## Test plan
- [x] `ruff check .` passes
- [x] `pytest` — 280 tests pass1 parent a35befd commit 6511168
2 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| 129 | + | |
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
0 commit comments