Skip to content

Commit 5f7eb81

Browse files
authored
Make flake8 a little stricter (#11326)
flake8 now correctly handles overloads
1 parent 6f12251 commit 5f7eb81

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ exclude =
4343
# B007: Loop control variable not used within the loop body.
4444
# B011: Don't use assert False
4545
# F821: Name not defined (generates false positives with error codes)
46-
# F811: Redefinition of unused function (causes annoying errors with overloads)
4746
# E741: Ambiguous variable name
48-
extend-ignore = E128,W601,E701,E704,E402,B3,B006,B007,B011,F821,F811,E741
47+
extend-ignore = E128,W601,E701,E704,E402,B3,B006,B007,B011,F821,E741
4948

5049
[coverage:run]
5150
branch = true

test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-r mypy-requirements.txt
22
-r build-requirements.txt
33
attrs>=18.0
4-
flake8>=3.8.1
4+
flake8==3.9.2
55
flake8-bugbear
66
flake8-pyi>=20.5
77
lxml>=4.4.0

0 commit comments

Comments
 (0)