From 4d65937b3a2827249af90d0315501836ca9f5fdb Mon Sep 17 00:00:00 2001 From: peterjc Date: Wed, 9 Jan 2019 17:02:14 +0000 Subject: [PATCH] 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: https://github.com/PyCQA/pycodestyle/issues/373 --- .flake8 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 000000000..3d1e69712 --- /dev/null +++ b/.flake8 @@ -0,0 +1,6 @@ +[flake8] +doctests = True +max-line-length = 88 +extend-ignore = + # See https://github.com/PyCQA/pycodestyle/issues/373 + E203,