X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/acafdcb5945cda8d424b2dbd0f9d0d56cf658533..125ed5b2601f0e74ded03b666132e3c37ae8af07:/.flake8 diff --git a/.flake8 b/.flake8 index c321e71..656c0df 100644 --- a/.flake8 +++ b/.flake8 @@ -1,5 +1,11 @@ [flake8] -ignore = E203, E266, E501, W503 +extend-ignore = E203, E266, E501 +# line length is intentionally set to 80 here because black uses Bugbear +# See https://github.com/psf/black/blob/master/docs/the_black_code_style.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