Let readers know E203 and W503 are explained later

This commit is contained in:
Łukasz Langa 2019-10-28 13:21:30 +01:00
parent c336b08bff
commit 6864f111fc
No known key found for this signature in database
GPG Key ID: B26995E310250568

View File

@ -274,11 +274,12 @@ You'd do it like this:
max-line-length = 80
...
select = C,E,F,W,B,B950
ignore = E501,W503,E203
ignore = E203, E501, W503
```
You'll find _Black_'s own .flake8 config file is configured like this. If you're curious
about the reasoning behind B950,
You'll find _Black_'s own .flake8 config file is configured like this. Explanation of
why W503 and E203 are disabled can be found further in this documentation. And if you're
curious about the reasoning behind B950,
[Bugbear's documentation](https://github.com/PyCQA/flake8-bugbear#opinionated-warnings)
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".