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 #648

Merged
merged 7 commits into from
Sep 28, 2021
Merged

Add pre commit #648

merged 7 commits into from
Sep 28, 2021

Conversation

kenji-miyake
Copy link
Contributor

Public Changes

None

Description

Added pre-commit to format all files as @amacneil requested at #643 (comment).

Related: #643

Kenji Miyake added 3 commits September 25, 2021 03:12
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Kenji Miyake added 4 commits September 25, 2021 03:17
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
Copy link
Member

@amacneil amacneil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@amacneil amacneil merged commit ef0e417 into RobotWebTools:ros2 Sep 28, 2021
@kenji-miyake kenji-miyake deleted the add-pre-commit branch September 28, 2021 05:51
amacneil added a commit that referenced this pull request Sep 28, 2021
Follow up from #648:

- Remove separate `pre-commit.yaml` Github workflow in favor of existing `ci.yml` workflow
- Removed unused json and toml linters from `.pre-commit-config.yaml`
- `isort` is updated to v5.9.3
- `bandit`, `codespell`, and `flake8` are migrated to `.pre-commit-config.yaml` so all linters are in one place
- Fixed wildcard and invalid imports in `rosapi_node` which were missed by #609 (due to not having a .py extension)
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.

None yet

2 participants