-
Notifications
You must be signed in to change notification settings - Fork 6
/
.pre-commit-config.yaml
31 lines (31 loc) · 931 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
- repo: https://github.com/pre-commit/pre-commit-hooks.git
sha: 5bf6c09bfa1297d3692cadd621ef95f1284e33c0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-byte-order-marker
- id: check-docstring-first
- id: check-merge-conflict
- id: check-symlinks
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
- id: forbid-new-submodules
- id: check-json
- id: check-xml
- id: check-yaml
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
sha: v1.1.0
hooks:
- id: python-safety-dependencies-check
- repo: https://github.com/Lucas-C/pre-commit-hooks-bandit
sha: v1.0.3
hooks:
- id: python-bandit-vulnerability-check
- repo: local
hooks:
- id: py.test
name: py.test
language: system
entry: sh -c 'TEST_SKIP_CAPPED=1 py.test'
files: ''