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
|
2024-02-23 14:30:44 +08:00
|
|
|
rev: 24.2.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
|
2023-10-23 14:58:30 +08:00
|
|
|
rev: 1.16.0
|
2023-02-28 20:14:51 +08:00
|
|
|
hooks:
|
|
|
|
- id: blacken-docs
|
|
|
|
additional_dependencies:
|
2024-02-23 14:30:44 +08:00
|
|
|
- black==24.2.0
|
2024-01-04 12:35:46 +08:00
|
|
|
files: 'docs/.*\.txt$'
|
2024-05-01 18:26:30 +08:00
|
|
|
args: ["--rst-literal-block"]
|
2020-12-16 04:32:08 +08:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
2024-01-05 15:23:31 +08:00
|
|
|
rev: 5.13.2
|
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
|
2024-01-05 15:23:31 +08:00
|
|
|
rev: 7.0.0
|
2020-12-16 04:32:08 +08:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
2024-05-06 03:03:16 +08:00
|
|
|
rev: v9.2.0
|
2020-12-16 04:32:08 +08:00
|
|
|
hooks:
|
|
|
|
- id: eslint
|