-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpre-commit.toml
More file actions
40 lines (32 loc) · 1.07 KB
/
pre-commit.toml
File metadata and controls
40 lines (32 loc) · 1.07 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
[".pre-commit-config.yaml"]
minimum_pre_commit_version = "4.3.0"
default_install_hook_types = ["pre-commit", "pre-push", "commit-msg"]
[[".pre-commit-config.yaml".repos]]
repo = "https://github.com/pre-commit/pre-commit-hooks"
[[".pre-commit-config.yaml".repos.hooks]]
id = "end-of-file-fixer"
[[".pre-commit-config.yaml".repos.hooks]]
id = "trailing-whitespace"
args = ["--markdown-linebreak-ext=md,markdown"]
[[".pre-commit-config.yaml".repos]]
repo = "https://github.com/andreoliwa/nitpick"
[[".pre-commit-config.yaml".repos.hooks]]
id = "nitpick"
[[".pre-commit-config.yaml".repos]]
repo = "https://github.com/codespell-project/codespell"
[[".pre-commit-config.yaml".repos.hooks]]
id = "codespell"
additional_dependencies = ["tomli ; python_version < '3.11'"]
[[".pre-commit-config.yaml".repos]]
repo = "https://github.com/macisamuele/language-formatters-pre-commit-hooks"
hooks = [
{id = "pretty-format-toml", args = [
"--autofix",
"--no-sort",
"--trailing-commas",
"--indent",
'4',
"--inline-comment-spaces",
'1',
]},
]