X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/3e60f6d454616a795acb1e3e2b43efa979de4f46..78163939f157d9e18a8c0528fc5e1c58b1c1e69c:/.flake8 diff --git a/.flake8 b/.flake8 index 498b2cb..eddaaba 100644 --- a/.flake8 +++ b/.flake8 @@ -1,9 +1,8 @@ [flake8] -ignore = E203, E266, E501, W503 +# B905 should be enabled when we drop support for 3.9 +ignore = E203, E266, E501, W503, B905 +# line length is intentionally set to 80 here because black uses Bugbear +# See https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#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