forked from microsoft/torchgeo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
44 lines (44 loc) · 1.07 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
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.5
hooks:
- id: ruff
types_or:
- python
- jupyter
args:
- --fix
- id: ruff-format
types_or:
- python
- jupyter
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
hooks:
- id: mypy
args:
- --strict
- --ignore-missing-imports
- --show-error-codes
additional_dependencies:
- einops>=0.6.0
- kornia>=0.6.9
- lightning>=2.0.9
- matplotlib>=3.8.1
- numpy>=1.22
- pillow>=10.3.0
- pytest>=6.1.2
- pyvista>=0.34.2
- scikit-image>=0.22.0
- torch>=2.3
- torchmetrics>=0.10
exclude: (build|data|dist|logo|logs|output)/
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
language: node
language_version: 22.0.0
args:
- --write
exclude: ^tests/data/[^/]+/$