2023-11-29 10:42:59 -08:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
2025-02-06 16:55:01 +00:00
|
|
|
rev: v19.1.7
|
2023-11-29 10: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
|
2025-02-06 16:55:01 +00:00
|
|
|
rev: 25.1.0
|
2023-11-29 10:42:59 -08:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2024-12-06 15:54:29 +00:00
|
|
|
|
2023-12-08 20:31:47 +01:00
|
|
|
- repo: https://github.com/pycqa/isort
|
2025-02-06 16:55:01 +00:00
|
|
|
rev: 6.0.0
|
2023-12-08 20:31:47 +01:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
args:
|
2023-12-09 23:06:46 +08:00
|
|
|
- --profile=black
|
2024-09-16 20:53:01 +01:00
|
|
|
- repo: https://github.com/cheshirekow/cmake-format-precommit
|
|
|
|
rev: v0.6.13
|
|
|
|
hooks:
|
|
|
|
- id: cmake-format
|