]> git.madduck.net Git - etc/vim.git/commitdiff

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:

Suggest `extend-ignore` over `ignore` for flake8 (#1165)
authorAnthony Sottile <asottile@umich.edu>
Fri, 22 Nov 2019 08:13:23 +0000 (00:13 -0800)
committerZsolt Dollenstein <zsol.zsol@gmail.com>
Fri, 22 Nov 2019 08:13:23 +0000 (08:13 +0000)
this option was introduced in flake8 3.7.x and is generally preferred over `ignore` (which unsets all default ignores)

README.md

index 03cf81e40f34b5407159c634e01ca8aab115b947..82f2df16cfe6ef7057e2fb65665f8a8d318d037a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -284,6 +284,14 @@ curious about the reasoning behind B950,
 explains it. The tl;dr is "it's like highway speed limits, we won't bother you if you
 overdo it by a few km/h".
 
+**If you're looking for a minimal, black-compatible flake8 configuration:**
+
+```ini
+[flake8]
+max-line-length = 88
+extend-ignore = E203
+```
+
 ### Empty lines
 
 _Black_ avoids spurious vertical whitespace. This is in the spirit of PEP 8 which says