-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use black code formatter #41
Comments
I'm contemplating to not reformat the code base but just require it for new changes. Mainly because GitHub does not allow to ignore a pure reformat commit. |
As the most code is written by you this should be a non issue and I would guess the other contributors will aggree =) |
Reviewng this to close the issue. Only small inconsistency now that I use pre-commit:
This gets formatted differently by pre-commit's black vs. black. Didn't bother to check the configuration and just moved the comment outside the parens - it was bad style anyway. |
README-DEV.md has info about pre-commit, and |
Originally posted by @mikegerber in #37 (comment)
Note: black requires Python >= 3.6!
Todo:
The text was updated successfully, but these errors were encountered: