зеркало из https://github.com/microsoft/torchgeo.git
33 строки
990 B
YAML
33 строки
990 B
YAML
repos:
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.10.0
|
|
hooks:
|
|
- id: isort
|
|
additional_dependencies: ["colorama>=0.4.3"]
|
|
|
|
- repo: https://github.com/psf/black
|
|
rev: 21.12b0
|
|
hooks:
|
|
- id: black
|
|
args: [--skip-magic-trailing-comma]
|
|
|
|
- repo: https://gitlab.com/pycqa/flake8.git
|
|
rev: 3.8.0
|
|
hooks:
|
|
- id: flake8
|
|
|
|
- repo: https://github.com/pycqa/pydocstyle
|
|
rev: 6.1.0
|
|
hooks:
|
|
- id: pydocstyle
|
|
exclude: (tests|docs|experiments)
|
|
additional_dependencies: ["toml"]
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v0.930
|
|
hooks:
|
|
- id: mypy
|
|
args: [--strict, --ignore-missing-imports, --show-error-codes]
|
|
additional_dependencies: [torch>=1.7, pytorch-lightning>=1.3, pytest>=6, omegaconf>=2.1, kornia>=0.6]
|
|
exclude: (build|data|dist|logo|logs|output)/
|