Skip to content

Commit 65aca58

Browse files
[STYLE] Aligned '.flake8.ini' with CEP-8 and CEP-7 (- WIP #181 -)
Changes in file .flake8.ini: - fixed regression - Aligned flake config as able to align with [CEP-8](https://gist.github.com/reactive-firewall/b7ee98df9e636a51806e62ef9c4ab161) and [CEP-7](https://gist.github.com/reactive-firewall/123b8a45f1bdeb064079e0524a29ec20)
1 parent f11c825 commit 65aca58

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.flake8.ini

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
[flake8]
2-
select = C,E,F,W,B,B950
2+
select = C,D,E,F,W,B,B950
33
# Ignore specific warnings and errors according to CEP-8 style
4-
extend-ignore =
5-
W191, # Indentation contains tabs
6-
W391, # Blank line at end of file
7-
E117, # Over-indented
8-
D208, # Docstring is over-indented
9-
D203, # 1 blank line required before class docstring - CEP-7
10-
D212, # Multi-line docstring summary should start at the first line - CEP-7
4+
extend-ignore = E117,D203,D208,D212,W191,W391
5+
# CEP-8 Custom Exceptions:
6+
# W191, # Indentation contains tabs
7+
# W391, # Blank line at end of file
8+
# E117, # Over-indented
9+
# D208, # Docstring is over-indented
10+
# D203, # 1 blank line required before class docstring - CEP-7
11+
# D212, # Multi-line docstring summary should start at the first line - CEP-7
1112
# Ignore long lines as specified in CEP-8
1213
max-line-length = 100
1314
extend-exclude =
@@ -20,7 +21,7 @@ extend-exclude =
2021
# There's no value in checking tox directories
2122
.tox,
2223
# This contains our built stuff
23-
build
24+
build,
2425
# Nothing to find in node_modules, ignore them
2526
node_modules,
2627
# This contains our built package for PyPi

0 commit comments

Comments
 (0)