-
Notifications
You must be signed in to change notification settings - Fork 311
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
Duplicate CI Linting jobs #479
Comments
When I further investigated, it looks like there is a xml linter in the built-in/standard pre-commit. So it looks like beyond the fact that 3 packages were switched for equivalents, format.yml does everything and more than lint.yml so lint.yml probably can just be deleted. |
jaron-l
added a commit
to jaron-l/ros2_control
that referenced
this issue
Jul 29, 2021
When the pre-commit workflow was added in ros-controls#473, the GitHub workflow specified in lint.yml became obsolete as all linting in now done through pre-commit in format.yml. With the exception of three packages, all linting packages have an exact match: 1.ament_pep257 -> pypi pep257 2. ament_flake8 -> pypi flake8 3. ament_xmllint -> pre-commit xml linting Fixes Duplicate CI Linting jobs ros-controls#479
jaron-l
added a commit
to jaron-l/ros2_control
that referenced
this issue
Jul 29, 2021
When the pre-commit workflow was added in ros-controls#473, the GitHub workflow specified in lint.yml became obsolete as all linting in now done through pre-commit in format.yml. With the exception of three packages, all linting packages have an exact match: 1.ament_pep257 -> pypi pep257 2. ament_flake8 -> pypi flake8 3. ament_xmllint -> pre-commit xml linting Fixes Duplicate CI Linting jobs ros-controls#479
pac48
pushed a commit
to pac48/ros2_control
that referenced
this issue
Jan 26, 2024
…-controls#622) * Remove workflows for distros not supported on master * Revert "Remove workflows for distros not supported on master" This reverts commit e916af3b19ba8642312692328ebc71a2f92ac93c. * Don't run humble workflows on master Co-authored-by: Bence Magyar <bence.magyar.robotics@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As brought up in #473, lint.yml and formal.yml GitHub workflows are redundant in that they both perform linting tasks.
Format.yml was added as it used pre-commit while lint.yml uses ament linting packages. Format.yml (pre-commit) has been set up to use most of the ament_linting packages that the original workflow uses. With the exception of ament_xmllint, ament_flake8, and ament_pep257, format.yml uses the packages exactly as lint.yml. For ament_flake8 and ament_pep257, format.yml just uses the sub-packages directly (flake8 and pep257 respectively) rather than using the ament variants.
Paths forward:
The text was updated successfully, but these errors were encountered: