-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
39 lines (39 loc) · 1.26 KB
/
.pre-commit-config.yaml
File metadata and controls
39 lines (39 loc) · 1.26 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
minimum_pre_commit_version: 4.3.0
default_install_hook_types:
- pre-commit
- pre-push
- commit-msg
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: '3e8a8703264a2f4a69428a0aa4dcb512790b2c8c' # frozen: v6.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md,markdown
- repo: https://github.com/andreoliwa/nitpick
rev: '3ba97e5d57882cca6ef1eccaae683753c8a26630' # frozen: v0.38.1
hooks:
- id: nitpick
- repo: https://github.com/codespell-project/codespell
rev: '63c8f8312b7559622c0d82815639671ae42132ac' # frozen: v2.4.1
hooks:
- additional_dependencies:
- tomli ; python_version < '3.11'
id: codespell
- repo: https://github.com/commitizen-tools/commitizen
rev: '9f3ec868c0429155a46b4819b625d47a8522a3d5' # frozen: v4.10.0
hooks:
- id: commitizen
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: '19b28a9f0a0102b30776f054bea4176e7af50dbe' # frozen: v2.15.0
hooks:
- id: pretty-format-toml
args:
- --autofix
- --no-sort
- --trailing-commas
- --indent
- '4'
- --inline-comment-spaces
- '1'