diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 54b6f7c..51141e8 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -21,4 +21,3 @@ uses: liblaf/template/.github/actions/pre-commit@main with: autofix: true - token: ${{ secrets.GH_TOKEN }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a6102f5..bab7120 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,13 +2,7 @@ autofix_commit_msg: "ci(pre-commit): auto fixes from pre-commit hooks" autoupdate_commit_msg: "ci(pre-commit): pre-commit autoupdate" skip: - - cargo-check - - cargo-clippy - - cargo-test - - cspell - - latexindent - poetry-lock - - shellcheck repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.2.1 @@ -33,7 +27,7 @@ - --modifylinebreaks - --GCString - repo: https://github.com/commitizen-tools/commitizen - rev: v3.14.1 + rev: v3.15.0 hooks: - id: commitizen - repo: https://github.com/koalaman/shellcheck-precommit @@ -50,7 +44,6 @@ - id: cargo-clippy - id: cargo-fmt - id: cargo-test - - id: prettier - repo: https://github.com/pre-commit/mirrors-clang-format rev: v17.0.6 hooks: @@ -59,6 +52,12 @@ - c - c++ - cuda + - repo: https://github.com/pre-commit/mirrors-prettier + rev: v3.1.0 + hooks: + - id: prettier + stages: + - pre-commit - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: @@ -95,7 +94,7 @@ - id: check-github-actions - id: check-github-workflows - repo: https://github.com/python-poetry/poetry - rev: 1.7.0 + rev: 1.7.1 hooks: - id: poetry-check - id: poetry-export