2020-12-16 04:32:08 +08:00
|
|
|
repos:
|
2023-09-10 16:07:22 +08:00
|
|
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
|
|
rev: 23.9.0
|
2022-02-02 18:36:57 +08:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2022-03-03 23:33:55 +08:00
|
|
|
exclude: \.py-tpl$
|
2023-02-28 20:14:51 +08:00
|
|
|
- repo: https://github.com/adamchainz/blacken-docs
|
|
|
|
rev: 1.13.0
|
|
|
|
hooks:
|
|
|
|
- id: blacken-docs
|
|
|
|
additional_dependencies:
|
2023-09-10 16:07:22 +08:00
|
|
|
- black==23.9.0
|
2020-12-16 04:32:08 +08:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
2023-02-14 03:51:53 +08:00
|
|
|
rev: 5.12.0
|
2020-12-16 04:32:08 +08:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
2021-04-06 13:32:59 +08:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2023-07-30 22:17:07 +08:00
|
|
|
rev: 6.1.0
|
2020-12-16 04:32:08 +08:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
2023-09-10 16:07:22 +08:00
|
|
|
rev: v8.49.0
|
2020-12-16 04:32:08 +08:00
|
|
|
hooks:
|
|
|
|
- id: eslint
|