-
Notifications
You must be signed in to change notification settings - Fork 296
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
41 lines (36 loc) · 979 Bytes
/
.pre-commit-config.yaml
File metadata and controls
41 lines (36 loc) · 979 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
32
33
34
35
36
37
38
39
40
41
default_language_version:
python: python3
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.14
hooks:
- id: ruff-check
args: [--fix, --show-fixes]
- id: ruff-format
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.45.0
hooks:
- id: markdownlint
args: [--config=.ci/markdownlint.yaml]
- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v9.2.0
hooks:
- id: cspell
args:
- --config=.ci/cspell.json
- --no-must-find-files
- --no-progress
- --no-summary
- --gitignore
- --files
files: (^nncf/.*\.py$|.*\.md$)
- repo: https://github.com/rhysd/actionlint
rev: v1.7.9
hooks:
- id: actionlint
- repo: https://github.com/ComPWA/taplo-pre-commit
rev: v0.9.3
hooks:
- id: taplo-format
files: \.toml$
args: ["--option", "indent_string= "]