-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
104 lines (90 loc) · 2.52 KB
/
pyproject.toml
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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
authors = [
{ name = "Yvan Nollet", email = "[email protected]" },
{ name = "Vincent Leroy", email = "[email protected]" },
]
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"click>=8.1.3",
"pint>=0.20.1",
"netCDF4>=1.6.2",
"numpy>=1.22,<2",
"pandas>=1.5.2",
"scipy>=1.9.3",
"xarray>=2022.12.0",
"ussa1976>=0.3.4",
"attrs>=22.2.0",
"importlib-resources>=5.10.2",
]
description = "Reference atmospheric thermophysical profiles for radiative transfer applications in Earth's atmosphere."
license = { text = "LGPLv3" }
name = "joseki"
readme = "README.md"
requires-python = ">= 3.9,<3.13"
version = "2.7.0.dev0"
[project.scripts]
joseki = "joseki.__main__:main"
[project.urls]
changelog = "https://github.com/rayference/joseki/blob/main/docs/changelog.md"
documentation = "https://rayference.github.io/joseki/latest"
homepage = "https://github.com/rayference/joseki"
issues = "https://github.com/rayference/joseki/issues"
repository = "https://github.com/rayference/joseki"
[tool.coverage.html]
directory = "./reports/coverage/html"
[tool.coverage.json]
output = "./reports/coverage/coverage.json"
[tool.coverage.paths]
equivalent = ["src/", "__pypackages__/"]
[tool.coverage.report]
omit = ["src/*/__init__.py", "src/*/_version.py"]
precision = 2
show_missing = true
skip_covered = true
[tool.coverage.run]
branch = true
parallel = true
source = ["src/"]
[tool.hatch.build.targets.wheel]
packages = ["src/joseki"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.ruff]
select = ["I"]
src = ["src", "tests"]
[tool.ruff.isort]
relative-imports-order = "closest-to-furthest"
[tool.rye]
dev-dependencies = [
"jupyterlab>=3.5.3",
"ipykernel>=6.21.0",
"ipython>=8.9.0",
"matplotlib>=3.6.3",
"nbstripout>=0.6.1",
"mkdocs>=1.4.2",
"mkdocstrings[python]>=0.20.0",
"mkdocs-material>=9.0.10",
"mike>=1.1.2",
"pytest>=7.2.1",
"coverage>=7.1.0",
]
managed = true
[tool.rye.scripts]
coverage-combine = { cmd = "python -m coverage combine" }
coverage-html = { cmd = "python -m coverage html --skip-covered --skip-empty" }
coverage-pytest = { cmd = "coverage run -m pytest tests" }
coverage-report = { chain = [
"coverage-pytest",
"coverage-combine",
"coverage-show",
"coverage-html",
] }
coverage-show = { cmd = "python -m coverage report --fail-under=100" }