-
Notifications
You must be signed in to change notification settings - Fork 2
/
.pre-commit-config.yaml
32 lines (32 loc) · 897 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
# - id: check-added-large-files
# args: ['--maxkb=300']
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-merge-conflict
- id: end-of-file-fixer
- id: forbid-new-submodules
- id: mixed-line-ending
- id: trailing-whitespace
- id: debug-statements
- id: check-yaml
exclude: .conda/meta.yaml
- id: requirements-txt-fixer
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
hooks:
- id: flake8
args: [--config=setup.cfg]
- repo: https://github.com/psf/black
rev: 19.10b0
hooks:
- id: black
language_version: python3
additional_dependencies: ['click==8.0.4']
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.790
hooks:
- id: mypy