Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exclude: (?i)^(.*third[^/]*party/.*|.*\.ts|.*\.trt)$

repos:
- repo: https://github.com/sirosen/check-jsonschema # check-jsonschema is a github actions and workflows verifier.
rev: 0.29.2
rev: 0.36.2
hooks:
- id: check-github-actions
- id: check-github-workflows
Expand All @@ -20,39 +20,39 @@ repos:
exclude: (?i)(.*docker-compose.*)$ # by-pass docker-compose since the %YAML 1.2 will break it.

- repo: https://github.com/AleksaC/hadolint-py # hadolint is a Dockerfile linter.
rev: v2.12.1b3
rev: v2.14.0
hooks:
- id: hadolint
args:
- -t
- error

- repo: https://github.com/scop/pre-commit-shfmt # pre-commit-shfmt formats shell scripts.
rev: v3.9.0-1
rev: v3.12.0-2
hooks:
- id: shfmt

- repo: https://github.com/shellcheck-py/shellcheck-py # shellcheck-py is a shellcheck wrapper.
rev: v0.10.0.1
rev: v0.11.0.1
hooks:
- id: shellcheck
args:
- -e
- SC1071,SC1091,SC2016

- repo: https://github.com/asottile/reorder-python-imports
rev: v3.13.0
rev: v3.16.0
hooks:
- id: reorder-python-imports

- repo: https://github.com/psf/black # The uncompromising Python code formatter.
rev: 24.8.0
- repo: https://github.com/psf/black-pre-commit-mirror # The uncompromising Python code formatter.
rev: 26.1.0
hooks:
- id: black
- id: black-jupyter

- repo: https://github.com/pre-commit/mirrors-clang-format # mirrors-clang-format is a clang-format wrapper, it can format json.
rev: v18.1.8
rev: v21.1.8
hooks:
- id: clang-format
files: (?i)\.(h|c|hpp|cpp|hxx|cxx|cc|json)$ # enabled json, if prettier is used, should turn off json.
Expand All @@ -68,12 +68,12 @@ repos:
- id: cmake-format

- repo: https://github.com/executablebooks/mdformat # mdformat is a markdown formatter.
rev: 0.7.17
rev: 1.0.0
hooks:
- id: mdformat

- repo: https://github.com/jackdewinter/pymarkdown # pymarkdown is a markdown linter.
rev: v0.9.22
rev: v0.9.35
hooks:
- id: pymarkdown
args:
Expand All @@ -82,7 +82,7 @@ repos:
- scan

- repo: https://github.com/pre-commit/pre-commit-hooks # pre-commit-hooks is a collection of additional pre-commit hooks.
rev: v4.6.0
rev: v6.0.0
hooks:
- id: requirements-txt-fixer # fixes requirements.txt and requirements-dev.txt.
- id: check-added-large-files # prevents giant files from being committed.
Expand Down
1 change: 0 additions & 1 deletion src/new_package/scripts/new_package_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from new_package.msg import new_msg
from new_package.new_package_library import NewActionClient


if __name__ == "__main__":
rospy.init_node("new_package_node", anonymous=True) # Initialize the node

Expand Down
Loading