Skip to content

Commit 1b9194e

Browse files
authored
fix flake8 config for flake8 6.0.0 (#668)
see PyCQA/flake8#1750
1 parent d0c60ac commit 1b9194e

1 file changed

Lines changed: 38 additions & 19 deletions

File tree

‎setup.cfg‎

Lines changed: 38 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,41 @@ tag_prefix = ""
1212
exclude = __init__.py,versioneer.py,s3fs/tests/
1313
max-line-length = 95
1414
ignore =
15-
E20, # Extra space in brackets
16-
E231,E241, # Multiple spaces around ","
17-
E26, # Comments
18-
E4, # Import formatting
19-
E721, # Comparing types instead of isinstance
20-
E731, # Assigning lambda expression
21-
E121, # continuation line under-indented for hanging indent
22-
E126, # continuation line over-indented for hanging indent
23-
E127, # continuation line over-indented for visual indent
24-
E128, # E128 continuation line under-indented for visual indent
25-
E702, # multiple statements on one line (semicolon)
26-
W503, # line break before binary operator
27-
E129, # visually indented line with same indent as next logical line
28-
E116, # unexpected indentation
29-
F811, # redefinition of unused 'loop' from line 10
30-
F841, # local variable is assigned to but never used
31-
E741 # Ambiguous variable names
32-
W504, # line break after binary operator
33-
E501, # line too long (leave it to black!)
15+
# Extra space in brackets
16+
E20,
17+
# Multiple spaces around ","
18+
E231,E241,
19+
# Comments
20+
E26,
21+
# Import formatting
22+
E4,
23+
# Comparing types instead of isinstance
24+
E721,
25+
# Assigning lambda expression
26+
E731,
27+
# continuation line under-indented for hanging indent
28+
E121,
29+
# continuation line over-indented for hanging indent
30+
E126,
31+
# continuation line over-indented for visual indent
32+
E127,
33+
# E128 continuation line under-indented for visual indent
34+
E128,
35+
# multiple statements on one line (semicolon)
36+
E702,
37+
# line break before binary operator
38+
W503,
39+
# visually indented line with same indent as next logical line
40+
E129,
41+
# unexpected indentation
42+
E116,
43+
# redefinition of unused 'loop' from line 10
44+
F811,
45+
# local variable is assigned to but never used
46+
F841,
47+
# Ambiguous variable names
48+
E741
49+
# line break after binary operator
50+
W504,
51+
# line too long (leave it to black!)
52+
E501,

0 commit comments

Comments
 (0)