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)
This commit is contained in:
parent
de6f4b1f6b
commit
fa1163545f
@ -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
|
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".
|
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
|
### Empty lines
|
||||||
|
|
||||||
_Black_ avoids spurious vertical whitespace. This is in the spirit of PEP 8 which says
|
_Black_ avoids spurious vertical whitespace. This is in the spirit of PEP 8 which says
|
||||||
|
Loading…
Reference in New Issue
Block a user