-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
80 lines (68 loc) · 1.87 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
80 lines (68 loc) · 1.87 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-ast
- id: check-merge-conflict
- id: check-case-conflict
- id: check-docstring-first
- id: check-toml
- id: debug-statements
- id: name-tests-test
args: ["--pytest-test-first"]
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.6.14
hooks:
- id: uv-lock
- repo: https://github.com/adamchainz/blacken-docs
rev: "1.20.0"
hooks:
- id: blacken-docs
additional_dependencies: [black==24.*]
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
rev: v1.7.7.23
hooks:
- id: actionlint
- repo: https://github.com/hukkin/mdformat
rev: 1.0.0
hooks:
- id: mdformat
verbose: true
- repo: https://github.com/gitleaks/gitleaks
rev: v8.24.3
hooks:
- id: gitleaks
- repo: https://github.com/econchick/interrogate
rev: 1.7.0
hooks:
- id: interrogate
args: ["-i", "-c", "pyproject.toml", "-v", "octave_kernel"]
pass_filenames: false
- repo: https://github.com/jsh9/pydoclint
rev: 0.8.3
hooks:
- id: pydoclint
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.2
hooks:
- id: ruff-format
- id: ruff-check
args: ["--fix", "--show-fixes"]
- repo: https://github.com/PyCQA/doc8
rev: "v1.1.2"
hooks:
- id: doc8
args: ["--quiet", "--max-line-length=200"]
files: ^(docs/source/.*|.*\.md|.*\.rst)$
- repo: https://github.com/codespell-project/codespell
rev: "v2.2.6"
hooks:
- id: codespell
args: ["-L", "ect,ans"]
exclude: '\.ipynb$'
- repo: https://github.com/pre-commit/pygrep-hooks
rev: "v1.10.0"
hooks:
- id: rst-backticks
- id: rst-directive-colons
- id: rst-inline-touching-normal