Commit ab1c598
committed
Apply ruff/flake8-bugbear rule B010
B010 Do not call `setattr` with a constant attribute value.
It is not any safer than normal property access.1 parent 7e98c55 commit ab1c598
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments