2022-05-12 03:07:04 +08:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v2.3.0
|
|
|
|
hooks:
|
|
|
|
- id: check-yaml
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/psf/black
|
2022-11-09 17:39:29 +08:00
|
|
|
rev: 22.10.0
|
2022-05-12 03:07:04 +08:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2022-11-09 17:39:29 +08:00
|
|
|
- repo: https://github.com/pycqa/isort
|
|
|
|
rev: 5.10.1
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
name: isort (python)
|
2022-05-12 03:07:04 +08:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
|
|
|
rev: v13.0.0
|
|
|
|
hooks:
|
|
|
|
- id: clang-format
|