-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
53 lines (53 loc) · 1.36 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
53 lines (53 loc) · 1.36 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
43
44
45
46
47
48
49
50
51
52
53
# 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.4.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.16.1
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: pylint
name: Pylint
entry: poetry run pylint --rcfile=.python-lint
language: system
types:
- python
exclude: 'docs/.*'
- id: pyright
name: pyright
entry: poetry run pyright
language: system
types:
- python
exclude: 'docs/.*'
- id: pydocstyle
name: pydocstyle
entry: poetry run pydocstyle --convention=google
language: system
types:
- python
- id: pymarkdown
name: PyMarkdown
entry: poetry run pymarkdown --strict-config --config .pymarkdown.json scan
language: system
types: ['markdown']