forked from CS-SI/eodag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
42 lines (38 loc) · 1011 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
33
34
35
36
37
38
39
40
41
42
exclude: '^$'
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v2.1.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-json
- id: check-yaml
args: [--allow-multiple-documents, --unsafe]
- id: check-xml
- id: check-added-large-files
args: ['--maxkb=1600']
- id: debug-statements
- id: flake8
args: [--max-line-length=120]
language_version: python3.7
- id: check-merge-conflict
- repo: 'https://github.com/ambv/black'
# stable
rev: 19.10b0
hooks:
- id: black
args: ['--safe']
language_version: python3.7
- repo: 'https://github.com/chewse/pre-commit-mirrors-pydocstyle'
# 2.1.1
rev: v2.1.1
hooks:
- id: pydocstyle
language_version: python3.7
- repo: https://github.com/pre-commit/mirrors-isort
# v4.3.15
rev: v4.3.15
hooks:
- id: isort