2021-09-16 01:46:35 +03:00
|
|
|
repos:
|
2022-04-05 19:15:59 +03:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2022-12-29 17:34:21 +03:00
|
|
|
rev: v3.3.1
|
2022-04-05 19:15:59 +03:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
2023-04-16 04:27:51 +03:00
|
|
|
args: [--py39-plus]
|
2022-04-05 19:15:59 +03:00
|
|
|
|
2021-09-16 01:46:35 +03:00
|
|
|
- repo: https://github.com/pycqa/isort
|
2023-02-23 17:30:46 +03:00
|
|
|
rev: 5.12.0
|
2021-09-16 01:46:35 +03:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
2023-02-23 17:30:46 +03:00
|
|
|
additional_dependencies: ['.[colors]']
|
2021-09-16 01:46:35 +03:00
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
2023-02-02 01:26:54 +03:00
|
|
|
rev: 23.1.0
|
2021-09-16 01:46:35 +03:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2021-10-27 00:26:58 +03:00
|
|
|
args: [--skip-magic-trailing-comma]
|
2021-09-16 01:46:35 +03:00
|
|
|
|
2022-11-17 20:05:58 +03:00
|
|
|
- repo: https://github.com/pycqa/flake8.git
|
2022-12-29 17:34:21 +03:00
|
|
|
rev: 6.0.0
|
2021-09-16 01:46:35 +03:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/pydocstyle
|
2023-02-23 17:30:46 +03:00
|
|
|
rev: 6.3.0
|
2021-09-16 01:46:35 +03:00
|
|
|
hooks:
|
|
|
|
- id: pydocstyle
|
2021-10-23 10:07:38 +03:00
|
|
|
exclude: (tests|docs|experiments)
|
2023-02-23 17:30:46 +03:00
|
|
|
additional_dependencies: ['.[toml]']
|
2021-09-16 01:46:35 +03:00
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
2023-02-23 17:30:46 +03:00
|
|
|
rev: v1.0.1
|
2021-09-16 01:46:35 +03:00
|
|
|
hooks:
|
|
|
|
- id: mypy
|
2021-10-23 10:07:38 +03:00
|
|
|
args: [--strict, --ignore-missing-imports, --show-error-codes]
|
2023-12-19 23:37:22 +03:00
|
|
|
additional_dependencies: [kornia>=0.6.9, lightning>=2.0.9, matplotlib>=3.8.1, numpy>=1.22, pytest>=6.1.2, pyvista>=0.34.2, scikit-image>=0.18.0, torch>=2, torchmetrics>=0.10]
|
2021-09-16 01:46:35 +03:00
|
|
|
exclude: (build|data|dist|logo|logs|output)/
|