diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 131b1b8..d007995 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: