From: Anthony Sottile Date: Fri, 22 Nov 2019 08:13:23 +0000 (-0800) Subject: Suggest `extend-ignore` over `ignore` for flake8 (#1165) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/fa1163545fd8779633d27a45d81e0dfa6ebd61fa Suggest `extend-ignore` over `ignore` for flake8 (#1165) this option was introduced in flake8 3.7.x and is generally preferred over `ignore` (which unsets all default ignores) --- diff --git a/README.md b/README.md index 03cf81e..82f2df1 100644 --- 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