2021-09-16 01:46:35 +03:00
|
|
|
repos:
|
2022-04-05 19:15:59 +03:00
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
2024-05-24 00:35:27 +03:00
|
|
|
rev: v0.4.5
|
2022-04-05 19:15:59 +03:00
|
|
|
hooks:
|
|
|
|
- id: ruff
|
2024-04-16 00:46:00 +03:00
|
|
|
types_or:
|
2022-04-05 19:15:59 +03:00
|
|
|
- python
|
2024-04-04 10:15:56 +03:00
|
|
|
- jupyter
|
|
|
|
args:
|
2021-09-16 01:46:35 +03:00
|
|
|
- --fix
|
|
|
|
- id: ruff-format
|
2023-02-23 17:30:46 +03:00
|
|
|
types_or:
|
2021-09-16 01:46:35 +03:00
|
|
|
- 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
|
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-02-23 17:30:46 +03:00
|
|
|
additional_dependencies:
|
2021-09-16 01:46:35 +03:00
|
|
|
- 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
|
2024-07-02 11:44:30 +03:00
|
|
|
- pillow>=10.4.0
|
2024-04-03 10:49:23 +03:00
|
|
|
- pytest>=6.1.2
|
|
|
|
- pyvista>=0.34.2
|
2024-04-22 09:03:39 +03:00
|
|
|
- scikit-image>=0.22.0
|
2024-04-25 21:07:11 +03:00
|
|
|
- torch>=2.3
|
2024-04-03 10:49:23 +03:00
|
|
|
- torchmetrics>=0.10
|
2021-09-16 01:46:35 +03:00
|
|
|
exclude: (build|data|dist|logo|logs|output)/
|
2022-11-17 20:05:58 +03:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
2024-05-03 16:35:34 +03:00
|
|
|
rev: v3.1.0
|
|
|
|
hooks:
|
|
|
|
- id: prettier
|
|
|
|
language: node
|
|
|
|
language_version: 22.0.0
|
|
|
|
args:
|
|
|
|
- --write
|
2021-09-16 01:46:35 +03:00
|
|
|
exclude: ^tests/data/[^/]+/$
|