Skip to content
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

consider adopting code formatter #17

Open
cs01 opened this issue Mar 2, 2019 · 0 comments
Open

consider adopting code formatter #17

cs01 opened this issue Mar 2, 2019 · 0 comments

Comments

@cs01
Copy link

cs01 commented Mar 2, 2019

I suggest black, but any autoformatter will provide the benefits advertised by black

Formatting becomes transparent after a while and you can focus on the content instead. Black makes code review faster by producing the smallest diffs possible.

To preserve formatting and not let black modify it, you can add

# fmt: off

my_aligned_code =     True
 
# fmt: on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant