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

Add pre-commit for code formatting #996

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

johnwason
Copy link
Contributor

I configured pre-commit and adjusted the GitHub Action to run instead of the shell scripts for code formatting. pre-commit offers many more checks so quite a few changes are suggested. I did not commit any of the suggested changes.

pre-commit can be run from the command line using:

python3 -m pre_commit run --all

See https://pre-commit.com/

The pre-commit action output will show the changes made by the formatters.

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

Successfully merging this pull request may close these issues.

1 participant