-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
42 lines (42 loc) · 1.32 KB
/
.pre-commit-config.yaml
File metadata and controls
42 lines (42 loc) · 1.32 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
repos:
- repo: https://github.com/commitizen-tools/commitizen
rev: cc981fcb065527b6de0033b0cbf0432e69781901 # frozen: v4.9.1
hooks:
- id: commitizen
- id: commitizen-branch
stages:
- pre-push
- 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: 'a1373f03f5a9394c75cc03e5da1b0cb6ff615dbb' # frozen: v0.38.0
hooks:
- id: nitpick
- repo: https://github.com/codespell-project/codespell
rev: '63c8f8312b7559622c0d82815639671ae42132ac' # frozen: v2.4.1
hooks:
- id: codespell
additional_dependencies:
- tomli ; python_version < '3.11'
- 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'
minimum_pre_commit_version: 4.3.0
default_install_hook_types:
- pre-commit
- pre-push
- commit-msg