Skip to content

Commit a8119a0

Browse files
af-am-reuter
authored andcommitted
Replicate lapy flake8 config
1 parent eb213fc commit a8119a0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.flake8

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[flake8]
2+
max-line-length = 88
3+
4+
ignore =
5+
# these rules don't play well with black
6+
# whitespace before ':'
7+
E203
8+
# line break before binary operator
9+
W503
10+
E241,E305,W504,W605,E731
11+
12+
exclude =
13+
.git
14+
.github
15+
setup.py
16+
data
17+
examples
18+
*.egg-info
19+
20+
per-file-ignores =
21+
# __init__.py files are allowed to have unused imports and lines-too-long
22+
*/__init__.py:F401
23+
*/**/__init__.py:F401,E501

0 commit comments

Comments
 (0)