-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.pre-commit-config.yaml
63 lines (62 loc) · 1.72 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
# This is the configuration file for the `pre-commit` hook
#
# If you want to benefit from this hook, please execute `pre-commit` install using the terminal
# If you want to run the checks on all files, run `pre-commit run -a` using the terminal
#
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: check-ast
- id: check-case-conflict
- id: check-json
exclude: tests/cassettes/.*\.json
- id: check-merge-conflict
- id: check-vcs-permalinks
- id: check-yaml
args: [ --allow-multiple-documents ]
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
exclude: tests/cassettes/.*\.json
- id: mixed-line-ending
args: [ --fix=lf ]
- id: trailing-whitespace
args: [ --markdown-linebreak-ext=md ]
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.6.0
hooks:
- id: autopep8
files: pykechain/.*
- repo: https://github.com/PyCQA/pydocstyle
rev: 6.1.1
hooks:
- id: pydocstyle
args:
- --ignore=D100,D105,D203,D212,D213,D416
files: pykechain/.*
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
args:
- --ignore=F821,W503
files: pykechain/.*
- repo: https://github.com/mgedmin/check-manifest
rev: '0.48'
hooks:
- id: check-manifest
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
hooks:
- id: bandit
args:
- -lll
files: pykechain/.*
- repo: https://github.com/Yelp/detect-secrets
rev: v1.2.0
hooks:
- id: detect-secrets
args:
- --baseline
- .secrets.baseline