-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Enforce a code style #208
Labels
Comments
I can recommend [flake8]
max-line-length = 100
exclude = .git
# E731: do not assign a lambda expression, use a def
# W293: blank line contains whitespace
# E203: whitespace before ':'
# E265: block comment should start with '# '
# W503: line break before binary operator
ignore = E203, E731, W293, E265, W503
# make isort play nicely with black's import formatting
# https://github.com/microsoft/vscode-python/issues/5840
[isort]
multi_line_output = 3
include_trailing_comma = True |
Closed
Merged
I think using black is a great idea. I'm not sure about some of those exceptions though. Particularly, it seems useful to have checks for these:
|
@utf Sure, I just copied those over from another project where they accumulated over time to act as an example. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
e.g., black formatting.
https://github.com/python/black
The text was updated successfully, but these errors were encountered: