Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/propagate-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ jobs:
with:
token: ${{ steps.app-token.outputs.token }}
- run: pipx install prek
- run: cd '{{cookiecutter.project_name}}' && prek autoupdate
# need to explicitly specify config file since prek ignores cookiecutter directories by default: https://github.com/j178/prek/issues/1044
- run: cd '{{cookiecutter.project_name}}' && prek autoupdate -c .pre-commit-config.yaml
- uses: stefanzweifel/git-auto-commit-action@v7
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ repos:
- id: biome-format
# Hooks that are run for scripts
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.24.1
rev: v2.25.0
hooks:
- id: pyproject-fmt
files: ^scripts/pyproject\.toml$
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.17
rev: v0.15.18
hooks:
- id: ruff-check
args: [--fix, --exit-non-zero-on-fix]
Expand Down
4 changes: 2 additions & 2 deletions {{cookiecutter.project_name}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ repos:
- id: biome-format
exclude: ^\.cruft\.json$ # inconsistent indentation with cruft - file never to be modified manually.
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.24.1
rev: v2.25.0
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.17
rev: v0.15.18
hooks:
- id: ruff-check
types_or: [python, pyi, jupyter]
Expand Down
Loading