diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c2cd705..d387010 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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.23.2 + rev: 0.36.0 hooks: - id: check-github-actions - id: check-github-workflows @@ -20,7 +20,7 @@ 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.0.2 + rev: v2.14.0 hooks: - id: hadolint args: @@ -28,12 +28,12 @@ repos: - error - repo: https://github.com/scop/pre-commit-shfmt # pre-commit-shfmt formats shell scripts. - rev: v3.7.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.9.0.5 + rev: v0.11.0.1 hooks: - id: shellcheck args: @@ -41,18 +41,18 @@ repos: - SC1071,SC1091 - repo: https://github.com/asottile/reorder-python-imports - rev: v3.10.0 + rev: v3.16.0 hooks: - id: reorder-python-imports - - repo: https://github.com/psf/black # The uncompromising Python code formatter. - rev: 23.3.0 + - repo: https://github.com/psf/black-pre-commit-mirror # The uncompromising Python code formatter. + rev: 25.12.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: v16.0.6 + 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. @@ -68,12 +68,12 @@ repos: - id: cmake-format - repo: https://github.com/executablebooks/mdformat # mdformat is a markdown formatter. - rev: 0.7.16 + rev: 1.0.0 hooks: - id: mdformat - repo: https://github.com/jackdewinter/pymarkdown # pymarkdown is a markdown linter. - rev: v0.9.15 + rev: v0.9.34 hooks: - id: pymarkdown args: @@ -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.4.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.