2021-11-12 20:28:30 -05:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/psf/black
|
2022-09-05 21:33:07 -04:00
|
|
|
rev: 22.8.0
|
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
|
2022-08-11 12:10:07 -04:00
|
|
|
rev: 5.0.4
|
2021-11-12 20:28:30 -05:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2022-06-06 13:51:12 -04:00
|
|
|
additional_dependencies:
|
2022-08-11 12:10:07 -04:00
|
|
|
- flake8-bugbear==22.7.1
|
2021-11-12 20:28:30 -05:00
|
|
|
|
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
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-06-13 19:13:33 -04:00
|
|
|
rev: v4.3.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
|
2022-09-07 02:56:46 -04:00
|
|
|
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2022-09-19 19:27:00 -04:00
|
|
|
rev: v2.38.0
|
2022-09-07 02:56:46 -04:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: [--py36-plus]
|