diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3dd808b..7e23d14 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,33 +1,29 @@ # .pre-commit-config.yaml # ======================== # -# pre-commit clean -# pre-commit install -# pre-commit install-hooks -# -# precommit hooks installation -# -# - pre-commit autoupdate -# -# - pre-commit run black -# -# continuous integration -# ====================== -# -# - pre-commit run --all-files +# Commands: +# uv run pre-commit install +# uv run pre-commit autoupdate +# uv run pre-commit run --all-files # # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v6.0.0 hooks: + - id: check-added-large-files + - id: check-case-conflict + - id: check-illegal-windows-names + - id: check-merge-conflict - id: check-yaml + - id: debug-statements + - id: detect-private-key - id: end-of-file-fixer - id: forbid-submodules - id: trailing-whitespace - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v18.1.2 + rev: v21.1.8 hooks: - id: clang-format types_or: [c++, c] @@ -37,11 +33,11 @@ repos: - id: dockerfilelint stages: [pre-commit] - repo: https://github.com/kynan/nbstripout - rev: 0.7.1 + rev: 0.9.0 hooks: - id: nbstripout - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.2 + rev: v0.14.14 hooks: - id: ruff args: [--fix] diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index d200190..c6216b1 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -12,5 +12,4 @@ uv sync # Install dependencies uv run pre-commit install # Use pre-commit to install git hooks into the working repository. ``` -pre-commit is configured with .pre-commit-config.yaml which contains some -additional documentation. +pre-commit is configured with .pre-commit-config.yaml. diff --git a/test.macos.sh b/scripts/checks.sh similarity index 100% rename from test.macos.sh rename to scripts/checks.sh