Skip to content

Commit d82d339

Browse files
authored
Minor flake8 improvements (#3324)
* Update flake8-bugbear * Remove unnecessary comment * Add a comment about an upcoming fix
1 parent 256b3ce commit d82d339

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.flake8

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# 7155 E302 expected 2 blank lines
66
# 1463 F401 imported but unused
77
# 967 E701 multiple statements on one line (colon)
8-
# 457 F811 redefinition
8+
# 457 F811 redefinition (should be fixed in pyflakes 2.1.2)
99
# 390 E305 expected 2 blank lines
1010
# 4 E741 ambiguous variable name
1111

@@ -18,8 +18,6 @@
1818
[flake8]
1919
ignore = F401, F403, F405, F811, E301, E302, E305, E501, E701, E704, E741, B303, W504
2020
# We are checking with Python 3 but many of the stubs are Python 2 stubs.
21-
# A nice future improvement would be to provide separate .flake8
22-
# configurations for Python 2 and Python 3 files.
2321
builtins = StandardError,apply,basestring,buffer,cmp,coerce,execfile,file,intern,long,raw_input,reduce,reload,unichr,unicode,xrange
2422
exclude = .venv*,@*,.git
2523
max-line-length = 130

requirements-tests-py3.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ git+https://github.com/python/mypy.git@master
22
typed-ast>=1.0.4
33
black==19.3b0
44
flake8==3.7.8
5-
flake8-bugbear==19.3.0
5+
flake8-bugbear==19.8.0
66
flake8-pyi==19.3.0
77
isort==4.3.21
88
pytype>=2019.7.30

0 commit comments

Comments
 (0)