Skip to content

Commit

Permalink
Add validate-pyproject back to pre-commit
Browse files Browse the repository at this point in the history
ruff does not validate the pyproject.toml. We need
to add the validate-pyproject hook back to pre-commit.
  • Loading branch information
elevans committed Oct 14, 2024
1 parent 2195b13 commit d05ba2c
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
- repo: https://github.com/astral-sh/ruff-pre-commit
# ruff version
rev: v0.6.2
hooks:
# run the linter
- id: ruff
# run the formatter
- id: ruff-format
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# ruff version
rev: v0.6.2
hooks:
# run the linter
- id: ruff
# run the formatter
- id: ruff-format
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.10.1
hooks:
- id: validate-pyproject

0 comments on commit d05ba2c

Please sign in to comment.