-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
80 lines (70 loc) · 2.16 KB
/
pyproject.toml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[project]
name = "geoarches"
version = "0.1.0"
description = "Machine learning package for training, running, and evaluating ML models on geospatial data (specifically climate and weather data)"
authors = [
{name = "ARCHES lab @ INRIA"}
]
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"torch (>=2.5.1,<3.0.0)",
"torchvision (>=0.20.1,<0.21.0)",
"xarray (>=2025.1.1,<2026.0.0)",
"submitit (>=1.5.2,<2.0.0)",
"diffusers (==0.29.2)",
"netcdf4 (>=1.7.2,<2.0.0)",
"wandb (>=0.19.3,<0.20.0)",
"tqdm (>=4.67.1,<5.0.0)",
"matplotlib (>=3.10.0,<4.0.0)",
"hydra-core (==1.3.2)",
"axial-attention (>=0.6.1,<0.7.0)",
"lightning (>=2.5.0.post0,<3.0.0)",
"zarr (>=3.0.0,<4.0.0)",
"einops (>=0.8.0,<0.9.0)",
"tensordict (>=0.6.2,<0.7.0)",
"scipy (>=1.15.1,<2.0.0)",
"pyshtools (>=4.13.1,<5.0.0)",
"fasteners (>=0.19,<0.20)",
"timm (>=1.0.13,<2.0.0)",
"dask (>=2024.12.1,<2025.0.0)"
]
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 99
target-version = 'py310'
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# isort - I
# pep8-naming - N
# Warning - W
select = ["E4", "E7", "E9", "F", "I", "N", "W"]
ignore = [
"E731", # lambda-assignment
"N804", # Checks for class methods that use a name other than cls for their first argument.
"N813", # Checks for CamelCase imports that are aliased to lowercase names.
"N806", # Variable in function should be lowercase.
]
[tool.ruff.lint.per-file-ignores]
"geoarches/backbones/weatherlearn_utils/*" = ["N"]
"geoarches/lightning_modules/__init__.py" = ["F401"]
[tool.codespell]
skip = "*.ipynb"
ignore-words-list = "hist"
[tool.poetry.group.dev.dependencies]
pytest = "*"
ruff = "*"
codespell = "*"
pre-commit = "*"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.6.1"
mkdocs-material = "^9.5.50"
mkdocs-jupyter = "^0.25.1"
[project.scripts]
geoarches-main = 'geoarches.main_hydra:main'
geoarches-submit = 'geoarches.submit:main'
geoarches-eval = 'geoarches.evaluation.eval_multistep:main'