-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
49 lines (49 loc) · 1.37 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: 'https://github.com/gitleaks/gitleaks'
rev: v8.18.4
hooks:
- id: gitleaks
- repo: local
hooks:
- id: black
name: Black
entry: poetry run black
language: system
types: ['python']
- id: isort
name: isort
entry: poetry run isort
language: system
types: ['python']
- id: mypy
name: MyPy
entry: poetry run mypy --install-types --non-interactive
language: system
types: ['python']
exclude: ^alembic/
- id: pylint
name: Pylint
entry: poetry run pylint --rcfile=.python-lint
language: system
types: ['python']
exclude: ^alembic/
- id: pymarkdown
name: PyMarkdown
entry: poetry run pymarkdown --strict-config --config .pymarkdown.json scan
language: system
types: ['markdown']
exclude: .github/
- id: pydocstyle
name: pydocstyle
entry: poetry run pydocstyle --convention=google
language: system
types: ['python']