diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a1bd5fd..f12cc59 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v6.0.0 + rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -11,19 +11,20 @@ repos: args: ["--fix=lf"] description: Forces to replace line ending by the UNIX 'lf' character. - repo: https://github.com/astral-sh/ruff-pre-commit - # Ruff version. - rev: v0.17.2 + rev: f12be1ebaa5351c1fc76472de98db2c3446c8253 # frozen: v0.16.10 hooks: - # Run the linter. - - id: ruff - args: [--fix] - # Run the formatter. + - id: ruff-check - id: ruff-format + args: ["--check"] - repo: https://github.com/kynan/nbstripout - rev: 0.9.1 + rev: f5da19ce3b7b40e97c12ee9cd8ce97f48f97ddf7 # frozen: 0.9.1 hooks: - id: nbstripout - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.13.5 + rev: 17a6b18b8006d390e476d419631aae885cadfa40 # frozen: 0.12.17 hooks: - id: uv-lock + - repo: https://github.com/betterleaks/betterleaks + rev: 5eab48332cc48565864514e3bc6de89df091a7c4 # frozen: v1.8.1 + hooks: + - id: betterleaks