torchgeo/.pre-commit-config.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 строки
1.1 KiB
YAML
Исходник Обычный вид История

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.5
hooks:
- id: ruff
types_or:
- python
2024-04-04 10:15:56 +03:00
- jupyter
args:
- --fix
- id: ruff-format
2023-02-23 17:30:46 +03:00
types_or:
- python
- jupyter
2022-11-17 20:05:58 +03:00
- repo: https://github.com/pre-commit/mirrors-mypy
2024-01-10 09:45:41 +03:00
rev: v1.9.0
hooks:
- id: mypy
2021-10-23 10:07:38 +03:00
args:
- --strict
- --ignore-missing-imports
- --show-error-codes
2023-02-23 17:30:46 +03:00
additional_dependencies:
- einops>=0.6.0
2024-04-03 10:49:23 +03:00
- 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
2024-04-03 10:49:23 +03:00
- torchmetrics>=0.10
exclude: (build|data|dist|logo|logs|output)/
2022-11-17 20:05:58 +03:00
- 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/[^/]+/$