-
Notifications
You must be signed in to change notification settings - Fork 81
Remove black and add flake8 plugins instead #41
Comments
iKintosh
added
enhancement
New feature or request
help wanted
Extra attention is needed
labels
Sep 14, 2021
There are comments in Black's documentation about E203. |
For checking NumPy codestyle:
|
iKintosh
added
question
Further information is requested
and removed
enhancement
New feature or request
help wanted
Extra attention is needed
question
Further information is requested
labels
Nov 16, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
🚀 Feature Request
Motivation
Black does not comply with PEP (PyCQA/pycodestyle#373, psf/black#315)
Flake8 plugins could be tuned as we wish and does make developers pay more attention to code style.
Proposal
Remove black.
Add following plugins:
https://github.com/m-burst/flake8-pytest-style
https://github.com/MartinThoma/flake8-simplify
https://github.com/PyCQA/flake8-commas
https://github.com/adamchainz/flake8-comprehensions
https://github.com/PyCQA/flake8-bugbear
https://github.com/wemake-services/flake8-eradicate
https://github.com/wemake-services/flake8-broken-line
https://github.com/afonasev/flake8-return
https://github.com/best-doctor/flake8-class-attributes-order
https://github.com/sco1/flake8-annotations (only ANN301)
Test cases
No need
Alternatives
Keep as is
Checklist
The text was updated successfully, but these errors were encountered: