Skip to content

Commit 5357d19

Browse files
committed
Update ruff precommit following PR #127
1 parent 692af11 commit 5357d19

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

{{cookiecutter.package_name}}/.pre-commit-config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ repos:
1919
args: [--fix=lf]
2020
- id: requirements-txt-fixer
2121
- id: trailing-whitespace
22-
- repo: https://github.com/charliermarsh/ruff-pre-commit
23-
rev: v0.6.3
22+
- repo: https://github.com/astral-sh/ruff-pre-commit
23+
rev: v0.7.2
2424
hooks:
2525
- id: ruff
26+
args: [ --config=pyproject.toml ]
2627
- id: ruff-format
28+
args: [ --config=pyproject.toml ]
2729
- repo: https://github.com/pre-commit/mirrors-mypy
2830
rev: v1.10.1
2931
hooks:

0 commit comments

Comments
 (0)