This repository was archived by the owner on Oct 15, 2026. It is now read-only.
Repository navigation
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
106 lines (95 loc) · 2.62 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
106 lines (95 loc) · 2.62 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
ci:
autofix_commit_msg: "MAINT: implement pre-commit autofixes"
autoupdate_commit_msg: "MAINT: upgrade lock files"
autoupdate_schedule: quarterly
skip:
- tombi-format
- tombi-lint
- uv-lock
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/ComPWA/policy
rev: 0.10.1
hooks:
- id: check-dev-files
- repo: https://github.com/kynan/nbstripout
rev: 0.9.1
hooks:
- id: nbstripout
args:
- --drop-empty-cells
- --extra-keys
- |
cell.attachments
cell.metadata.code_folding
cell.metadata.editable
cell.metadata.id
cell.metadata.pycharm
cell.metadata.slideshow
cell.metadata.user_expressions
metadata.celltoolbar
metadata.colab.name
metadata.colab.provenance
metadata.interpreter
metadata.notify_time
metadata.toc
metadata.toc-autonumbering
metadata.toc-showcode
metadata.toc-showmarkdowntxt
metadata.toc-showtags
metadata.varInspector
metadata.vscode
- repo: https://github.com/ComPWA/nbhooks
rev: 0.0.2
hooks:
- id: fix-nbformat-version
- id: remove-empty-tags
- id: set-nb-display-name
- id: strip-nb-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.17.0
hooks:
- id: ruff-check
args: [--fix]
types_or: [python, pyi, jupyter]
- id: ruff-format
types_or: [python, pyi, jupyter]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-case-conflict
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: check-vcs-permalinks
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/tombi-toml/tombi-pre-commit
rev: v1.8.2
hooks:
- id: tombi-format
- id: tombi-lint
args: [--error-on-warnings]
- repo: https://github.com/ComPWA/prettier-pre-commit
rev: v3.8.1
hooks:
- id: prettier
- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v10.3.0
hooks:
- id: cspell
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 3.11.1
hooks:
- id: editorconfig-checker
name: editorconfig
alias: ec
- repo: https://github.com/astral-sh/uv-pre-commit
rev: "0.13.1"
hooks:
- id: uv-lock