-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (67 loc) · 1.6 KB
/
pyproject.toml
File metadata and controls
77 lines (67 loc) · 1.6 KB
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
[build-system]
requires = ["uv_build>=0.8.3,<0.9.0"]
build-backend = "uv_build"
[project]
name = "ice-station-zebra"
version = "0.1.0"
description = "A pipeline for predicting sea ice."
readme = "README.md"
authors = [
{ name = "James Robinson", email = "james.em.robinson@gmail.com" }
]
requires-python = ">=3.11,<3.13" # Note "3.13" is currently incompatible with the tensorflow requirement from icenet
dependencies = [
"anemoi-datasets>=0.5.25",
"cachetools>=6.1.0",
"cdsapi>=0.7.6",
"hydra-core>=1.3.2",
"icenet==0.2.7", # newer versions require netCDF4<1.6.1 which does not work on macOS 15
"jaxtyping>=0.3.2",
"lightning>=2.5.1",
"matplotlib>=3.10.3",
"netcdf4>=1.7.0",
"pillow>=11.3.0",
"pydantic>=2.11.7",
"typer>=0.16.0",
"types-cachetools>=6.1.0",
"wandb>=0.21.0",
"xarray>=2025.3.0",
"zarr<3.0.0", # v3 is not compatible with anemoi
]
[dependency-groups]
dev = [
"mypy>=1.17.0",
"pandas-stubs>=2.3.0.250703",
"pre-commit>=4.2.0",
"pytest>=8.4.1",
"pytest-cov>=6.2.1",
]
[project.scripts]
zebra = "ice_station_zebra.cli:app"
[tool.coverage.paths]
source = ["ice_station_zebra/"]
[tool.coverage.run]
relative_files = true
omit= [
"tests/*",
]
[[tool.mypy.overrides]]
module = [
"anemoi.datasets.*",
"icenet.data.sic.*",
"zarr.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = [
"--cov=ice_station_zebra",
"--cov-report=term-missing",
"-vvv",
]
[tool.ruff]
line-length = 88
exclude = ["notebooks/*ipynb"]
[tool.ruff.lint]
extend-select = ["I"]
[tool.uv.build-backend]
module-root = ""