Skip to content

Commit

Permalink
Configure flake8 to work with black
Browse files Browse the repository at this point in the history
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
  • Loading branch information
peterjc committed Jan 10, 2019
1 parent 5c79886 commit 4d65937
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[flake8]
doctests = True
max-line-length = 88
extend-ignore =
# See https://github.com/PyCQA/pycodestyle/issues/373
E203,

0 comments on commit 4d65937

Please sign in to comment.