forked from digitalearthafrica/ndvi-anomalies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
53 lines (48 loc) · 1.35 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
# - repo: local
# hooks:
# - id: pylint-dags
# name: pylint-dags
# entry: env PYTHONPATH=plugins pylint
# language: system
# files: dags/
# types: [ python ]
# args: [ "--load-plugins=pylint_airflow", "--disable=C,W", "--disable=similarities" ]
#
- repo: https://gitlab.com/pycqa/flake8
rev: '' # pick a git hash / tag to point to
hooks:
- id: flake8
# - repo: https://github.com/pre-commit/mirrors-pylint
# rev: '' # Use the sha / tag you want to point at
# hooks:
# - id: pylint
- repo: https://github.com/pre-commit/mirrors-mypy
rev: '' # Use the sha / tag you want to point at
hooks:
- id: mypy
entry: mypy
args: [ --no-strict-optional, --ignore-missing-imports ]
# - repo: https://github.com/PyCQA/prospector
# rev: 1.1.7 # The version of Prospector to use, at least 1.1.7
# hooks:
# - id: prospector
#
# - repo: local
# hooks:
# - id: wily
# name: wily
# entry: wily diff
# verbose: true
# language: python
# additional_dependencies: [ wily ]