2023-11-29 10:42:59 -08:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
2023-12-15 20:30:34 -05:00
|
|
|
rev: v17.0.6
|
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
|
2024-02-16 18:01:59 +04:00
|
|
|
rev: 24.2.0
|
2023-11-29 10:42:59 -08:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2023-12-08 20:31:47 +01:00
|
|
|
- repo: https://github.com/pycqa/isort
|
2024-01-21 18:11:48 +04:00
|
|
|
rev: 5.13.2
|
2023-12-08 20:31:47 +01:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
args:
|
2023-12-09 23:06:46 +08:00
|
|
|
- --profile=black
|