-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
45 lines (44 loc) · 1.15 KB
/
.pre-commit-config.yaml
File metadata and controls
45 lines (44 loc) · 1.15 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-toml
- repo: https://github.com/PyCQA/pydocstyle
rev: 6.1.1
hooks:
- id: pydocstyle
args: ['--convention=google']
- repo: https://github.com/terrencepreilly/darglint
rev: v1.8.1
hooks:
- id: darglint
exclude: versioneer.py|lmpy/_version.py
args: ['-v2', '-sgoogle']
#- repo: https://github.com/PyCQA/bandit
# rev: 1.7.4
# hooks:
# - id: bandit
# args: [-c, .github/linters/.bandit]
#- repo: https://github.com/jendrikseipp/vulture
# rev: 'v2.3'
# hooks:
# - id: vulture
#- repo: https://github.com/igorshubovych/markdownlint-cli
# rev: v0.31.1
# hooks:
# - id: markdownlint
# args: [--config=.github/linters/.markdownlint]
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.1
hooks:
- id: pyupgrade
#- repo: https://github.com/markdownlint/markdownlint
# rev: v0.11.0
# hooks:
# - id: markdownlint
# files: \.md$
# args:
# - --git-recurse