Files
mlx/.pre-commit-config.yaml

17 lines
432 B
YAML
Raw Normal View History

2023-11-29 10:42:59 -08:00
repos:
- repo: https://github.com/pre-commit/mirrors-clang-format
2024-04-11 18:27:53 +04:00
rev: v18.1.3
2023-11-29 10:42:59 -08:00
hooks:
- id: clang-format
# 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-11 18:27:53 +04:00
rev: 24.3.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
rev: 5.13.2
2023-12-08 20:31:47 +01:00
hooks:
- id: isort
args:
- --profile=black