-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (108 loc) · 2.71 KB
/
pyproject.toml
File metadata and controls
121 lines (108 loc) · 2.71 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
113
114
115
116
117
118
119
120
121
[project]
name = "ref-sample-data"
version = "0.7.7"
description = "CMIP Rapid Evaluation Framework Sample Data"
readme = "README.md"
authors = [
{ name= "Jared Lewis", email="jared.lewis@climate-resource.com" }
]
requires-python = ">=3.10"
[project.license]
text = "Apache-2.0"
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["osx-arm64", "linux-64"]
[tool.pixi.dependencies]
python = ">=3.10"
pooch = ">=1.8.2,<2"
intake-esgf = ">=2025.9.26,<2026"
matplotlib = ">=3.10.3,<4"
scipy = ">=1.16.0,<2"
xarray = ">=2025.7.1,<2026"
typer = ">=0.16.0,<0.17"
xcdat = ">=0.9.1,<0.10"
xesmf = ">=0.8.10,<0.9"
joblib = ">=1.5.2,<2"
loguru = ">=0.7,<0.8"
requests = ">=2.32.5,<3"
[tool.pixi.pypi-dependencies]
# Add any dependencies that aren't available on conda-forge here
ref_sample_data = { path = ".", editable = true }
[tool.pixi.feature.dev.dependencies]
ruff = "*"
pre-commit = ">=3.3.1"
towncrier = ">=24.8.0"
pip = ">=24.3.1"
bump-my-version = ">=0.29.0"
pixi-pycharm = ">=0.0.8,<0.0.9"
[tool.pixi.feature.dev.pypi-dependencies]
liccheck = ">=0.9.2"
[tool.pixi.environments]
default = ["dev"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.coverage.run]
source = ["src"]
branch = true
[tool.coverage.report]
fail_under = 95
skip_empty = true
show_missing = true
# Regexes for lines to exclude from consideration in addition to the defaults
exclude_also = [
# Don't complain about missing type checking code:
"if TYPE_CHECKING",
# Exclude ... literals
"\\.\\.\\."
]
[tool.jupytext]
formats = "ipynb,py:percent"
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]
filterwarnings = [
]
# We currently check for GPL licensed code, but this restriction may be removed
[tool.liccheck]
authorized_licenses = [
"bsd",
"bsd license",
"BSD 3-Clause",
"CC0",
"apache",
"apache 2.0",
"apache-2.0",
"apache software",
"apache software license",
"Apache License, Version 2.0",
"CMU License (MIT-CMU)",
"isc license",
"isc license (iscl)",
"GNU Library or Lesser General Public License (LGPL)",
"gnu lgpl",
"lgpl with exceptions or zpl",
"LGPLv2+",
"GNU Lesser General Public License v2 (LGPLv2)",
"GNU Lesser General Public License v2 or later (LGPLv2+)",
"mit",
"mit license",
"Mozilla Public License 2.0 (MPL 2.0)",
"python software foundation",
"python software foundation license",
"zpl 2.1",
]
# This starting list is relatively conservative. Depending on the project, it
# may make sense to move some of these into the authorized list
unauthorized_licenses = [
"agpl",
"gnu agpl",
"gpl v3",
"gplv3",
"gpl v2",
"gplv2",
"gpl v1",
"gplv1",
]
dependencies = true