Commit d2e96b0
committed
enable flake8-bugbear ruff lint rules
but disable all of the ones which actually occur in the current
codebase, so they can be handled one-by-one.
The bugbear lint rules are generally pretty helpful, especially B006:
mutable data structures for argument defaults.
We will leave in place the ignore for B005: multi-character strip().1 parent e0b527e commit d2e96b0
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
0 commit comments