Skip to content

Commit

Permalink
Added more pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickBaus committed Jun 22, 2024
1 parent 0ffb426 commit b487141
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-executables-have-shebangs
# Check for invalid files
- id: check-toml
# Check Python files
- id: end-of-file-fixer
- id: fix-encoding-pragma
args: [--remove]
- id: end-of-file-fixer
- id: mixed-line-ending
args: [--fix=lf]
- id: check-executables-have-shebangs
- id: requirements-txt-fixer
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
Expand Down

0 comments on commit b487141

Please sign in to comment.