forked from geopython/pygeofilter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
30 lines (27 loc) · 823 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
repos:
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
language_version: python
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
language_version: python
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
language_version: python
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.982
hooks:
- id: mypy
language_version: python
args: [--install-types, --non-interactive]
# N.B.: Mypy is... a bit fragile.
# ref: https://github.com/python/mypy/issues/4008
# The issue is that we have too many evaluate.py or parser.py and mypy believe they are all the same
# when run within pre-commit
files: ^pygeofilter*