[style] Add additional pre-commit hooks

This commit is contained in:
Davis Schirmer
2022-02-13 10:54:17 -05:00
parent 811552d910
commit d78ae57f2f

View File

@@ -3,8 +3,12 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-ast
- id: check-json
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
@@ -29,3 +33,8 @@ repos:
- --remove-all-unused-imports
- --remove-duplicate-keys
- --remove-unused-variables
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.931"
hooks:
- id: mypy
exclude: tests