diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ca951c1c4..997f147ee 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ default_stages: [pre-commit, pre-push, manual] exclude: '^(build|3rdparty)/.*$' # exclude build and 3rdparty directories repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v6.0.0 + rev: v6.0.0 # May not sync with requirements-lint.txt, but it's OK for now hooks: - id: check-symlinks - id: destroyed-symlinks @@ -40,7 +40,7 @@ repos: - id: ruff-check args: [--fix, --exit-non-zero-on-fix] - id: ruff-format - args: [--exit-non-zero-on-format, --diff] + args: [--exit-non-zero-on-format] - repo: https://github.com/codespell-project/codespell rev: v2.4.1 # sync with requirements-lint.txt hooks: diff --git a/requirements-lint.txt b/requirements-lint.txt index b68f81a2d..37632a31e 100644 --- a/requirements-lint.txt +++ b/requirements-lint.txt @@ -1,6 +1,6 @@ # Format and lint requirements pre-commit -clang-format==21.1.7 +clang-format==21.1.8 clang-tidy==21.1.6 codespell[toml]==2.4.1 -ruff==0.14.9 +ruff==0.14.11