-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (58 loc) · 1.63 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (58 loc) · 1.63 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
[project]
name = "climate-ref-tutorials"
version = "0.1.0"
description = "Training notebooks for the Climate Rapid Evaluation Framework (REF)"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "Apache-2.0" }
authors = [
{ name = "Jared Lewis", email = "jared.lewis@climate-resource.com"},
{ name = "Climate-REF contributors" }
]
# Runtime dependencies needed to execute the training notebooks.
# The generated `climate_ref_client` package is NOT listed here: it is
# generated from the live API schema by scripts/generate_client.sh.
dependencies = [
"pip>=26.1.1",
"pandas>=2.0",
"matplotlib>=3.8",
"seaborn>=0.13",
"xarray>=2024.0",
"netcdf4>=1.6",
"cartopy>=0.23",
"requests>=2.31",
"pandas-indexing>=0.5",
"rich>=13.0",
"prettyprinter>=0.18",
"ipython>=8.0",
"jupyterlab>=4.0",
# Needed by the local-execution notebooks (04+).
"climate-ref",
]
[dependency-groups]
dev = [
"pytest>=8.0",
"nbmake>=1.5",
"ruff>=0.6",
"pre-commit>=4.6",
"uv>=0.11.16",
]
[project.urls]
Homepage = "https://climate-ref.org"
Repository = "https://github.com/Climate-REF/climate-ref-tutorials"
"REF API" = "https://api.climate-ref.org/docs"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/ref_tutorials"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
line-length = 110
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "W", "UP", "B"]
[tool.ruff.lint.per-file-ignores]
# Notebooks legitimately leave expressions as the last line of a cell.
"notebooks/*" = ["B018", "E402"]