2020-12-15 20:32:08 +00:00
|
|
|
repos:
|
2023-09-10 08:07:22 +00:00
|
|
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
2024-07-24 05:13:50 +00:00
|
|
|
rev: 24.4.2
|
2022-02-02 10:36:57 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2022-03-03 15:33:55 +00:00
|
|
|
exclude: \.py-tpl$
|
2023-02-28 12:14:51 +00:00
|
|
|
- repo: https://github.com/adamchainz/blacken-docs
|
2024-07-24 05:13:50 +00:00
|
|
|
rev: 1.18.0
|
2023-02-28 12:14:51 +00:00
|
|
|
hooks:
|
|
|
|
- id: blacken-docs
|
|
|
|
additional_dependencies:
|
2024-07-24 05:13:50 +00:00
|
|
|
- black==24.4.2
|
2024-01-04 04:35:46 +00:00
|
|
|
files: 'docs/.*\.txt$'
|
2024-05-01 10:26:30 +00:00
|
|
|
args: ["--rst-literal-block"]
|
2020-12-15 20:32:08 +00:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
2024-01-05 07:23:31 +00:00
|
|
|
rev: 5.13.2
|
2020-12-15 20:32:08 +00:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
2021-04-06 05:32:59 +00:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
2024-07-24 05:13:50 +00:00
|
|
|
rev: 7.1.0
|
2020-12-15 20:32:08 +00:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
2024-07-24 05:13:50 +00:00
|
|
|
rev: v9.7.0
|
2020-12-15 20:32:08 +00:00
|
|
|
hooks:
|
|
|
|
- id: eslint
|