Skip to content

Add pre-commit for code formatting - #996

Open
johnwason wants to merge 4 commits into
tesseract-robotics:masterfrom
johnwason:precommit
Open

Add pre-commit for code formatting#996
johnwason wants to merge 4 commits into
tesseract-robotics:masterfrom
johnwason:precommit

Conversation

@johnwason

Copy link
Copy Markdown
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.

@johnwason johnwason mentioned this pull request Jan 10, 2025
69 tasks
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