Skip to content

Commit 742916b

Browse files
committed
Configure flake8 to work with black
Using black's default line length of 88. Black follows the PEP8 standard more closely than pycodestyle does (as used in the flake8 checks) so must disable E203 until this is fixed: PyCQA/pycodestyle#373
1 parent 5c79886 commit 742916b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.flake8

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[flake8]
2+
doctests = True
3+
max-line-length = 88
4+
extend-ignore =
5+
# See https://github.com/PyCQA/pycodestyle/issues/373
6+
E203,

0 commit comments

Comments
 (0)