-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
57 lines (57 loc) · 2.02 KB
/
.pre-commit-config.yaml
File metadata and controls
57 lines (57 loc) · 2.02 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
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: 0839f92796ae388643a08a21640a029b322be5c2 # frozen: v0.15.2
hooks:
- id: ruff
exclude: pytimings/_version\.py
args: [--extend-ignore, "PLC0415"]
- id: ruff-format
exclude: pytimings/_version\.py
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: destroyed-symlinks
- repo: https://github.com/tcort/markdown-link-check
rev: 3a8992dcbb083a248671812c7027b6995ef88523 # frozen: v3.14.2
hooks:
- id: markdown-link-check
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
rev: ece479e42234943c8a73427bd2534f5daac65098 # frozen: v1.7.11.24
hooks:
- id: actionlint
additional_dependencies: [pyflakes>=3.2, shellcheck-py>=0.10]
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: 745eface02aef23e168a8afb6b5737818efbea95 # frozen: v0.11.0.1
hooks:
- id: shellcheck
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 11ea70506fd878d26129b2b87746fd1a1f6b561b # frozen: 3.6.0
hooks:
- id: editorconfig-checker
alias: ec
# this should go last since it will fix line endings broken by other tools
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: no-commit-to-branch
args: [--branch, main]
- id: trailing-whitespace
- id: check-added-large-files
exclude: ^uv\.lock$
- id: check-case-conflict
- id: mixed-line-ending
args: [--fix=lf]
- id: end-of-file-fixer
- id: check-yaml
- id: check-xml
- id: check-json
- id: check-toml
- id: pretty-format-json
args: [--autofix, --no-sort-keys, --indent=4]
exclude: .*\.ipynb$
- id: check-symlinks
- id: debug-statements
- id: fix-byte-order-marker