Update pre-commit config to also run trialing whitespace and check yaml
syntax check.
@@ -34,9 +34,9 @@ repos:
entry: ./virtualenv/bin/python -m bandit -lll -x build,dist
language: script
types: [file, python]
- # - repo: https://github.com/pre-commit/pre-commit-hooks
- # rev: v2.5.0
- # hooks:
- # - id: trailing-whitespace
- # - id: check-yaml
- # exclude: (^openapi|fixtures)
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v2.5.0
+ hooks:
+ - id: trailing-whitespace
+ - id: check-yaml
+ exclude: (openapi\.yaml)
