2019-08-22 01:56:02 +08:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/psf/black
|
2021-12-07 05:11:00 +08:00
|
|
|
rev: 21.12b0
|
2019-08-22 01:56:02 +08:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2021-09-24 03:07:15 +08:00
|
|
|
- repo: https://github.com/pycqa/isort
|
2021-12-07 05:11:00 +08:00
|
|
|
rev: 5.10.1
|
2021-09-24 03:07:15 +08:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
name: isort (python)
|
2019-08-22 01:56:02 +08:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2021-12-28 05:12:11 +08:00
|
|
|
rev: v4.1.0
|
2019-08-22 01:56:02 +08:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
2021-04-16 15:35:49 +08:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2021-12-07 05:11:00 +08:00
|
|
|
rev: v2.29.1
|
2021-04-16 15:35:49 +08:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: [--py36-plus]
|