2021-11-12 20:28:30 -05:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/psf/black
|
2021-12-27 16:14:19 -05:00
|
|
|
rev: 21.12b0
|
2021-11-12 20:28:30 -05:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
|
2021-12-27 16:14:19 -05:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
|
|
rev: 4.0.1
|
2021-11-12 20:28:30 -05:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
additional_dependencies: [flake8-bugbear]
|
|
|
|
|
2021-12-27 16:14:19 -05:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
2021-11-12 20:28:30 -05:00
|
|
|
rev: 5.10.1
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
additional_dependencies: [toml]
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2021-12-27 16:14:19 -05:00
|
|
|
rev: v4.1.0
|
2021-11-12 20:28:30 -05:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: debug-statements
|
|
|
|
- id: pretty-format-json
|
|
|
|
args:
|
|
|
|
- --autofix
|
|
|
|
- id: check-json
|