Debian Codegraph @

.pre-commit-config.yaml

raw
1 exclude: ^\.benchmarks
2
3 repos:
4 - repo: builtin
5 hooks:
6 - id: check-added-large-files
7 - id: check-case-conflict
8 - id: check-merge-conflict
9 - id: check-symlinks
10 - id: check-toml
11 - id: check-yaml
12 - id: end-of-file-fixer
13 - id: mixed-line-ending
14 - id: trailing-whitespace
15
16 - repo: https://gitlab.com/bmares/check-json5
17 rev: v1.0.1
18 hooks:
19 - id: check-json5
20
21 - repo: https://github.com/Lucas-C/pre-commit-hooks
22 rev: v1.5.6
23 hooks:
24 - id: forbid-crlf
25 - id: remove-crlf
26 - id: forbid-tabs
27 - id: remove-tabs
28
29 - repo: https://github.com/codespell-project/codespell
30 rev: v2.4.3
31 hooks:
32 - id: codespell
33 args: ["--uri-ignore-words-list", "*"] # https://github.com/codespell-project/codespell/issues/2473
34
35 - repo: https://github.com/adhtruong/mirrors-typos
36 rev: v1.49.0
37 hooks:
38 - id: typos
39 args: [--write-changes]
40
41 - repo: https://github.com/astral-sh/ty-pre-commit
42 rev: v0.0.74
43 hooks:
44 - id: ty
45
46 - repo: https://github.com/astral-sh/ruff-pre-commit
47 rev: v0.16.4
48 hooks:
49 - id: ruff-check
50 args: [--fix, --unsafe-fixes]
51 - id: ruff-format
52
53 - repo: https://github.com/shellcheck-py/shellcheck-py
54 rev: v0.11.0.1-1
55 hooks:
56 - id: shellcheck
57 exclude: ^.envrc$