2023-11-30 02:42:59 +08:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
2024-04-30 22:18:09 +08:00
|
|
|
rev: v18.1.4
|
2023-11-30 02:42:59 +08:00
|
|
|
hooks:
|
|
|
|
- id: clang-format
|
2023-12-09 23:06:46 +08:00
|
|
|
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
|
|
|
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
2024-04-30 22:18:09 +08:00
|
|
|
rev: 24.4.2
|
2023-11-30 02:42:59 +08:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2023-12-09 03:31:47 +08:00
|
|
|
- repo: https://github.com/pycqa/isort
|
2024-01-21 22:11:48 +08:00
|
|
|
rev: 5.13.2
|
2023-12-09 03:31:47 +08:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
args:
|
2023-12-09 23:06:46 +08:00
|
|
|
- --profile=black
|