-
Notifications
You must be signed in to change notification settings - Fork 4
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 hooks & BSD 3-Clause license #206
Conversation
Note to reviewers: the main files to review are |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good, just want to make sure our READMEs are still readable after this PR gets merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
* Add pre-commit hooks * Fix unknown module issue from msgs * Hardcode pylint version for consistency * Add ros2-devel to workflow branches * Remove pylint from workflow due to inconsistent errors between remote and local * Add license * Fix README numbering * Fix LICENSE numbering * Add license header to yaml files as well
Description
This PR adds pre-commit hooks to this repository. This ensures consistent formatting and style throughout the repository. After the PR gets merged in, I'll be able to configure this repository to automatically run the pre-commit hooks on every PR.
Related PRs:
ada_ros2
#51feeding_web_interface
#150Testing procedure
Although in theory this should not change any functionality, we must check. Thus:
real
:python3 src/ada_Feeding/start.py
mock
:python3 src/ada_Feeding/start.py --sim mock
Before opening a pull request
pre-commit run --all-files
pylint --recursive=y --rcfile=.pylintrc .
. All warnings butfixme
must be addressed.Before Merging
Squash & Merge