-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
33 lines (33 loc) · 884 Bytes
/
.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
# BEFORE changing test with: pre-commit run --all-files
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
#- id: check-yaml # TODO: Enable after manifest refactoring completes
- id: trailing-whitespace
- repo: https://github.com/Yelp/detect-secrets
rev: v1.1.0
hooks:
- id: detect-secrets
args: ["scan"]
- repo: git://github.com/pycqa/pylint
rev: pylint-2.6.0
hooks:
- id: pylint
args: ["--rcfile=.pylintrc"]
- repo: https://github.com/PyCQA/bandit
rev: 1.7.0
hooks:
- id: bandit
name: Run bandit security checks
exclude: ^test/
args:
- -s
- B101
#- repo: local
# hooks:
# - id: pytest
# name: Run pre-commit unit tests
# entry: pytest
# language: python
# args: [--rcfile=.pylintrc ]