2021-11-12 20:28:30 -05:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/psf/black
|
2023-04-24 19:25:13 -04:00
|
|
|
rev: 23.3.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-11-28 21:04:29 -05:00
|
|
|
rev: 6.0.0
|
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
|
2023-04-24 19:25:13 -04:00
|
|
|
rev: 5.12.0
|
2021-11-12 20:28:30 -05:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2022-11-28 21:04:29 -05:00
|
|
|
rev: v4.4.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
|
2023-05-13 20:07:05 -04:00
|
|
|
rev: v3.4.0
|
2022-09-07 02:56:46 -04:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: [--py36-plus]
|