forked from jax-ml/ml_dtypes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
31 lines (31 loc) · 1002 Bytes
/
.pre-commit-config.yaml
File metadata and controls
31 lines (31 loc) · 1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
hooks:
- id: check-ast
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: debug-statements
- repo: https://github.com/google/pyink
rev: 8383e5df6527cc1173183875258347be0a7e07c0 # frozen: 24.3.0
hooks:
- id: pyink
language_version: python3.12
args: [
"--line-length=80",
"--preview",
"--pyink-indentation=2",
"--pyink-use-majority-quotes"
]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 8b5112a3b2ad121439a2092f8ff548c0d80f2514 # frozen: v0.6.1
hooks:
- id: ruff
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: 05241dc3def184dba136e62d54ff57f1c8a497a9 # frozen: v17.0.6
hooks:
- id: clang-format
files: ml_dtypes/