-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprek.toml
More file actions
73 lines (53 loc) · 1.21 KB
/
prek.toml
File metadata and controls
73 lines (53 loc) · 1.21 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
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.15.14"
[[repos.hooks]]
id = "ruff"
args = ["--fix", "--exit-non-zero-on-fix", "--ignore=C901"]
[[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"]