-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
32 lines (32 loc) · 968 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: detect-private-key
- id: mixed-line-ending
- id: check-yaml
- id: check-added-large-files
args: ['--maxkb=2000']
- id: check-byte-order-marker
- id: check-docstring-first
- id: check-json
- id: check-merge-conflict
- id: debug-statements
- id: fix-encoding-pragma
- id: flake8
args: [--max-line-length=90, --ignore=E203]
language_version: python3.8
- repo: https://github.com/psf/black
rev: 19.10b0
hooks:
- id: black
language_version: python3.8
- repo: https://github.com/antoniojkim/Sandboxer
rev: e8389a2
hooks:
- id: clean-sandboxer
name: remove-empty-templates