This repository was archived by the owner on May 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
73 lines (72 loc) · 1.82 KB
/
.pre-commit-config.yaml
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
ci:
skip:
- poetry-lock
repos:
- repo: https://github.com/commitizen-tools/commitizen
rev: "3.2.2"
hooks:
- id: commitizen
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: "v2.9.0"
hooks:
- id: pretty-format-toml
args:
- "--autofix"
exclude: poetry.lock
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: "v16.0.3"
hooks:
- id: clang-format
args:
- "--fallback-style"
- "Google"
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.9-for-vscode"
hooks:
- id: prettier
stages:
- commit
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.4.0"
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-json
- id: check-symlinks
- id: check-toml
- id: check-yaml
- id: destroyed-symlinks
- id: end-of-file-fixer
exclude: requirements.txt
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: "23.3.0"
hooks:
- id: black
- id: black-jupyter
- repo: https://github.com/PyCQA/isort
rev: "5.12.0"
hooks:
- id: isort
args:
- "--profile"
- "black"
- "--filter-files"
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: "0.23.0"
hooks:
- id: check-dependabot
- id: check-github-actions
- id: check-github-workflows
- repo: https://github.com/python-poetry/poetry
rev: "1.4.0"
hooks:
- id: poetry-check
- id: poetry-lock
- id: poetry-export
args:
- "--output"
- "requirements.txt"
- "--without-hashes"
- "--without-urls"