]> git.madduck.net Git - etc/vim.git/blobdiff - .flake8

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Migrate mypy config to pyproject.toml (#3936)
[etc/vim.git] / .flake8
diff --git a/.flake8 b/.flake8
index 583839065ad1b764bd7dd2f5089dd1bc5f75692a..85f51cf9f05a4e6dd004afd7d64e9a54457f1901 100644 (file)
--- 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 = E266, E501, W503
+# B905 should be enabled when we drop support for 3.9
+ignore = E203, E266, E501, E704, 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