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

CI: auto-format code on push #33

Open
rland93 opened this issue Apr 25, 2022 · 0 comments
Open

CI: auto-format code on push #33

rland93 opened this issue Apr 25, 2022 · 0 comments

Comments

@rland93
Copy link
Member

rland93 commented Apr 25, 2022

I think it might be useful to enforce code formatting whenever pushes are made.

I use an auto-formatter (python black) and greatly prefer it, because it helps make python syntax more automatic. But it's not just my preference, I think it would help everyone read code across the project since idiosyncratic whitespace styles would be made uniform.

https://black.readthedocs.io/en/stable/integrations/github_actions.html

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