forked from ACCESS-Community-Hub/PyEarthTools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (99 loc) · 2.55 KB
/
pyproject.toml
File metadata and controls
112 lines (99 loc) · 2.55 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pyearthtools"
readme = "README.md"
requires-python = ">=3.11, <3.14"
keywords = ["pyearthtools"]
maintainers = [
{ name = "Tennessee Leeuwenburg", email = "tennessee.leeuwenburg@bom.gov.au" },
]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
# In future add "Programming Language :: Python :: 3.14" once our deps allow it
]
description = """\
PyEarthTools: Machine learning for Earth system science.
"""
version = "0.6.0"
dependencies = [
"pyearthtools-utils>=0.5.1",
"pyearthtools-data>=0.5.1",
"pyearthtools-pipeline>=0.5.1",
"pyearthtools-training>=0.5.1",
"pyearthtools-zoo>=0.5.1",
]
[project.optional-dependencies]
utils = [
"pyearthtools-utils>=0.5.1",
]
data = [
"pyearthtools-data>=0.5.1",
]
pipeline = [
"pyearthtools-pipeline>=0.5.1",
]
training = [
"pyearthtools-training>=0.5.1",
]
zoo = [
"pyearthtools-zoo>=0.5.1",
]
all = [
"pyearthtools-utils>=0.5.1",
"pyearthtools-data[all]>=0.5.1",
"pyearthtools-pipeline[all]>=0.5.1",
"pyearthtools-training[all]>=0.5.1",
"pyearthtools-zoo>=0.5.1",
]
test = ["pytest", "pytest-cov", "pytest-xdist"]
dev = ["pre-commit", "black==25.1.0", "interrogate", "ruff", "pudb"]
docs = [
"sphinx",
"myst-parser",
"sphinx-book-theme",
"scores",
"xarray",
"pandas",
"scipy",
"bottleneck",
"nbsphinx",
"sphinx_gallery",
"sphinx-design",
"sphinx-togglebutton",
"sphinxcontrib-mermaid"
]
[project.urls]
homepage = "https://pyearthtools.readthedocs.io/"
documentation = "https://pyearthtools.readthedocs.io/"
repository = "https://github.com/ACCESS-Community-Hub/PyEarthTools"
[tool.isort]
profile = "black"
[tool.black]
line-length = 120
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
[tool.ruff]
exclude = ["packages/bundled_models", "notebooks", "packages/met_office_site_archive"]
[tool.hatch.build.targets.wheel]
bypass-selection = true
[tool.hatch.build.targets.sdist]
only-include = ["pyproject.toml", "README.md", "LICENSE"]
[tool.pytest.ini_options]
addopts = [
'--cov-fail-under=40',
'--cov-branch',
'--cov-report=html',
'--junitxml=report.xml',
'-n 4',
]
markers = [
"noci: marks tests to exclude from CI/CD (deselect with '-m \"not noci\"')",
"slow: mark test as slow (deselect with '-m \"not slow\"')",
]