From 0202a9186d46a8dda6075782d2f7a45ab42dd1f1 Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Sun, 26 Jul 2020 03:10:07 +0000 Subject: [PATCH] add flake8 config --- .flake8 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..c6b9943 --- /dev/null +++ b/.flake8 @@ -0,0 +1,11 @@ +[flake8] +ignore = E203, E266, E501, W503 +# line length is intentionally set to 80 here because black uses Bugbear +# See https://github.com/psf/black/blob/master/README.md#line-length for more details +max-line-length = 80 +max-complexity = 18 +select = B,C,E,F,W,T4,B9 +# We need to configure the mypy.ini because the flake8-mypy's default +# options don't properly override it, so if we don't specify it we get +# half of the config from mypy.ini and half from flake8-mypy. +mypy_config = mypy.ini \ No newline at end of file