Skip to content

Commit

Permalink
Add additional hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipMathieu committed Apr 1, 2024
1 parent f9e25ef commit 00060a5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,27 @@

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-json
exclude: .vscode
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-yaml
- id: debug-statements
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
# See: https://github.com/c4urself/bump2version/issues/58
exclude: setup.cfg
- repo: https://github.com/ambv/black
rev: 24.3.0
hooks:
- id: black
files: .
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
Expand Down

0 comments on commit 00060a5

Please sign in to comment.