-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprek.toml
More file actions
102 lines (73 loc) · 1.73 KB
/
Copy pathprek.toml
File metadata and controls
102 lines (73 loc) · 1.73 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
exclude = "^tests|^docs|^examples|^notebooks"
[[repos]]
repo = "builtin"
[[repos.hooks]]
id = "check-toml"
[[repos.hooks]]
id = "check-yaml"
[[repos.hooks]]
id = "pretty-format-json"
args = ["--autofix"]
[[repos.hooks]]
id = "trailing-whitespace"
[[repos.hooks]]
id = "check-merge-conflict"
[[repos.hooks]]
id = "end-of-file-fixer"
[[repos.hooks]]
id = "mixed-line-ending"
[[repos.hooks]]
id = "no-commit-to-branch"
args = ["--branch", "main", "--branch", "dev"]
[[repos.hooks]]
id = "check-added-large-files"
[[repos]]
repo = "https://github.com/astral-sh/ruff-pre-commit"
rev = "v0.16.8"
[[repos.hooks]]
id = "ruff-check"
args = ["--fix", "--exit-non-zero-on-fix", "--ignore=C901", "--preview"]
[[repos.hooks]]
id = "ruff-format"
[[repos]]
repo = "https://github.com/conorfalvey/check_pdb_hook"
rev = "0.0.9"
[[repos.hooks]]
id = "check_pdb_hook"
pass_filenames = false
[[repos]]
repo = "https://github.com/PyCQA/bandit.git"
rev = "1.9.4"
[[repos.hooks]]
id = "bandit"
args = ["-lll", "--recursive", "clumper"]
[[repos]]
repo = "https://github.com/python-poetry/poetry"
rev = "2.4.1"
[[repos.hooks]]
id = "poetry-check"
[[repos.hooks]]
id = "poetry-lock"
[[repos.hooks]]
id = "poetry-install"
args = ["--all-extras", "--all-groups"]
[[repos]]
repo = "https://github.com/GabDug/sync-pre-commit-lock"
rev = "v0.9.0"
[[repos.hooks]]
id = "sync-pre-commit-uv"
[[repos]]
repo = "https://github.com/astral-sh/uv-pre-commit"
rev = "0.11.32"
[[repos.hooks]]
id = "uv-lock"
[[repos]]
repo = "https://github.com/citation-file-format/cffconvert"
rev = "b6045d78aac9e02b039703b030588d54d53262ac"
[[repos.hooks]]
id = "validate-cff"
[[repos]]
repo = "https://github.com/DetachHead/basedpyright-prek-mirror"
rev = "1.39.9"
[[repos.hooks]]
id = "basedpyright"