X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/9f096d55365cb63548eef97e254c2793ae2776a0..c42178690e96f3bf061ad44f70dec52b1d8a299a:/.flake8?ds=inline diff --git a/.flake8 b/.flake8 index fae93b0..7bc346a 100644 --- a/.flake8 +++ b/.flake8 @@ -1,8 +1,8 @@ -# This is an example .flake8 config, used when developing *Black* itself. -# Keep in sync with setup.cfg which is used for source packages. - [flake8] -ignore = E203, E266, E501, W503 +# B905 should be enabled when we drop support for 3.9 +ignore = E203, E266, E501, W503, B905, B907 +# 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 = 15 +max-complexity = 18 select = B,C,E,F,W,T4,B9