Skip to content

Commit 34e85f0

Browse files
Synchronizing flake8 config in pep8speaks
1 parent 07ebcd0 commit 34e85f0

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.pep8speaks.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,18 @@
33
scanner:
44
diff_only: True # If True, errors caused by only the patch are shown
55

6+
# Opened issue in pep8speaks, so we can directly use the config in setup.cfg
7+
# (and avoid having to duplicate it here):
8+
# https://github.com/OrkoHunter/pep8speaks/issues/95
9+
610
pycodestyle:
711
max-line-length: 79
8-
ignore: # Errors and warnings to ignore
12+
ignore:
13+
- W503, # line break before binary operator
914
- E402, # module level import not at top of file
15+
- E722, # do not use bare except
1016
- E731, # do not assign a lambda expression, use a def
11-
- W503 # line break before binary operator
17+
- E741, # ambiguous variable name 'l'
18+
- C406, # Unnecessary list literal - rewrite as a dict literal.
19+
- C408, # Unnecessary dict call - rewrite as a literal.
20+
- C409 # Unnecessary list passed to tuple() - rewrite as a tuple literal.

0 commit comments

Comments
 (0)