-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
39 lines (39 loc) · 1.05 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
repos:
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.6.3
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
language_version: python3
- repo: https://github.com/PyCQA/bandit
rev: 1.6.2
hooks:
- id: bandit
language_version: python3.8
args: [ -ll, '-x=tests', '-s=B101,B301,B403,B308,B303,B608' ]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
args: [ '--markdown-linebreak-ext=md' ]
- id: check-json
- id: check-yaml
- id: mixed-line-ending
args: [ '--fix=lf' ]
- id: end-of-file-fixer
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.9
hooks:
- id: forbid-crlf
- id: remove-crlf
- id: forbid-tabs
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
name: Flake8 Py3
additional_dependencies: [ flake8-docstrings ]
language_version: python3.8