-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (62 loc) · 1.86 KB
/
pyproject.toml
File metadata and controls
71 lines (62 loc) · 1.86 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
[project]
name = "climate-ref-aft"
version = "2026.02.0"
description = "CMIP7 Assessment Fast Track - deployment configuration and integration tests for Climate REF"
readme = "README.md"
authors = [
{ name = "Jared Lewis", email = "jared.lewis@climate-resource.com" },
]
license = "Apache-2.0"
requires-python = ">=3.11"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: Apache Software License",
]
# Pinned versions of all Climate REF components
# We use exact versions here to ensure that the AFT tests run against the same combination of components that will be deployed in production.
# Also update versions.toml when updating these versions to keep the changelog in sync
dependencies = [
"climate-ref==0.12.3",
"climate-ref-core==0.12.3",
"climate-ref-celery==0.12.3",
# Diagnostic providers
"climate-ref-esmvaltool==0.12.3",
"climate-ref-pmp==0.12.3",
"climate-ref-ilamb==0.12.3",
]
[project.optional-dependencies]
test = [
"pytest>=9.0.0",
"pytest-mock>=3.12",
"pandas>=2.0",
"climate-ref[test]",
]
[dependency-groups]
dev = [
"climate-ref-aft[test]",
"ruff>=0.14.0",
"pre-commit>=3.3.1",
"towncrier>=25.8.0",
"bump-my-version>=0.28.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/climate_ref_aft"]
[tool.ruff]
line-length = 110
[tool.ruff.lint]
select = ["E", "W", "F", "I", "UP", "S"]
ignore = ["S101"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"nightly: marks tests that run against latest (unreleased) versions",
]