-
Notifications
You must be signed in to change notification settings - Fork 17
/
.pre-commit-config.yaml
32 lines (32 loc) · 1.18 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
language_version: python3.7
- repo: https://github.com/Lucas-C/pre-commit-hooks-bandit
rev: v1.0.5
hooks:
- id: python-bandit-vulnerability-check
args: [--skip, "B101", --recursive, doubtlab]
- repo: https://github.com/econchick/interrogate
rev: 1.4.0
hooks:
- id: interrogate
args: [--quiet, --ignore-nested-functions, --ignore-nested-classes, --ignore-semiprivate, --ignore-private, --ignore-magic, --ignore-module, --ignore-init-method, --fail-under=100, doubtlab]
- repo: https://github.com/econchick/interrogate
rev: 1.4.0
hooks:
- id: interrogate
args: [--quiet, --ignore-nested-functions, --ignore-nested-classes, --ignore-semiprivate, --ignore-private, --ignore-magic, --ignore-module, --ignore-init-method, --fail-under=100, tests]