From fa1163545fd8779633d27a45d81e0dfa6ebd61fa Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Fri, 22 Nov 2019 00:13:23 -0800 Subject: [PATCH] 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) --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.5