Commit 9ef221e
committed
Apply ruff/flake8-bugbear rule B009
B009 Do not call `getattr` with a constant attribute value.
It is not any safer than normal property access.1 parent 74f4c96 commit 9ef221e
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
165 | 167 | | |
166 | 168 | | |
167 | 169 | | |
| |||
0 commit comments