Skip to content

Commit dd57ddb

Browse files
[CONFIG] minor fix for flake8 config
1 parent 7f68da7 commit dd57ddb

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

.flake8

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
[flake8]
22
select = C,E,F,W,B,B950
3+
# Ignore specific warnings and errors according to CEP-8 style
34
extend-ignore =
4-
W191, # Indentation contains tabs - CEP-8
5-
W391, # Blank line at end of file - CEP-8
6-
E117, # Over-indented - CEP-8
7-
D208, # Docstring is over-indented - CEP-8
5+
W191, # Indentation contains tabs
6+
W391, # Blank line at end of file
7+
E117, # Over-indented
8+
D208, # Docstring is over-indented
89
D203, # 1 blank line required before class docstring - CEP-7
910
D212, # Multi-line docstring summary should start at the first line - CEP-7
10-
docstring-convention = google
11-
docstring_style = google
1211
# Ignore long lines as specified in CEP-8
1312
max-line-length = 100
14-
exclude =
13+
extend-exclude =
1514
# No need to traverse our git directory
1615
.git,
1716
# There's no value in checking cache directories
@@ -20,6 +19,16 @@ exclude =
2019
docs,
2120
# There's no value in checking tox directories
2221
.tox,
23-
# This contains our built documentation
22+
# This contains our built stuff
2423
build
24+
# Nothing to find in node_modules, ignore them
25+
node_modules,
26+
# This contains our built package for PyPi
27+
dist,
28+
# There's no value in checking git directories
29+
.git,
30+
# There's no value in checking virtual directories
31+
venv,
32+
# There's no value in checking xcode directories
33+
*.xc**
2534
max-complexity = 10

0 commit comments

Comments
 (0)