Skip to content

Commit 95dc689

Browse files
authored
Remove unneeded ignore in .flake8 (#9661)
B028 was renamed as B907, and we don't have any of the B9 rules enabled for this repo (they're all off by default)
1 parent 1e5d723 commit 95dc689

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.flake8

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,9 @@
2323
# Currently can't be enabled due to a few lingering bugs in mypy regarding
2424
# PEP 604 type aliases (see #4819).
2525

26-
# A bugbear rule that has many false positives:
27-
# B028 consider using the `!r` conversion flag instead of manually surrounding things in quotes
28-
2926
[flake8]
3027
per-file-ignores =
31-
*.py: B028, E203, E301, E302, E305, E501
28+
*.py: E203, E301, E302, E305, E501
3229
*.pyi: B, E301, E302, E305, E501, E701, E741, F401, F403, F405, F822, Y037
3330
# Since typing.pyi defines "overload" this is not recognized by flake8 as typing.overload.
3431
# Unfortunately, flake8 does not allow to "noqa" just a specific error inside the file itself.

0 commit comments

Comments
 (0)