Skip to content

Commit

Permalink
Add self-test for pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed May 16, 2022
1 parent 37d526c commit 3b261b2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,14 @@ repos:
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear]


- repo: local # self-test for `validate-pyproject` hook
hooks:
- id: validate-pyproject
name: Validate pyproject.toml
language: python
files: ^tests/examples/simple/pyproject.toml$
entry: validate-pyproject
additional_dependencies:
- validate-pyproject[all]

0 comments on commit 3b261b2

Please sign in to comment.