Skip to content

Commit

Permalink
Add a few more useful Python pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
peplin committed Jan 12, 2024
1 parent 8303c3c commit 5212cf8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0
hooks:
- id: check-ast
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
Expand All @@ -13,3 +14,8 @@ repos:
rev: ea8102762106cdca9c88829f1295b39a544706f3 # frozen: v1.6.26
hooks:
- id: actionlint
- repo: https://github.com/pycqa/isort
rev: c235f5e450b4b84e58d114ed4c589cbf454175a3 # frozen: 5.13.2
hooks:
- id: isort
name: isort (python)

0 comments on commit 5212cf8

Please sign in to comment.