-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (106 loc) · 2.21 KB
/
pyproject.toml
File metadata and controls
114 lines (106 loc) · 2.21 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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=77", "setuptools_scm>=8"]
[project]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering"
]
dependencies = [
"xarray>=2022.3.0",
"numpy>=1.18",
"earthkit-utils",
"geopandas"
]
description = "Aggregation tools for meteorological and climate data."
dynamic = ["version"]
license = "Apache-2.0"
license-files = ["LICENSE"]
name = "earthkit-transforms"
readme = "README.md"
requires-python = ">=3.10"
[project.optional-dependencies]
all = [
"earthkit-data",
"rasterio" # Requires GDAL
]
ci = [
"pre-commit",
"mypy",
"pytest",
"pytest-cov",
"pandas-stubs",
"types-PyYAML",
"earthkit-data",
"rasterio" # Requires GDAL
]
docs = [
"ipykernel",
"Pygments>=2.6.1",
"Sphinx",
"entrypoints",
"filelock",
"furo",
"sphinx-design",
"nbsphinx",
"myst-parser",
"tqdm",
"pandoc",
"pypandoc-binary",
"PyYAML",
"setuptools",
"statsmodels",
"reverse-geocode",
"rasterio",
"earthkit-plots>=1.0.0rc0",
"earthkit-utils",
"earthkit-data"
]
[tool.coverage.run]
branch = true
[tool.mypy]
exclude = '(^tests/legacy-api/|^build/)'
ignore_missing_imports = true
[tool.ruff]
line-length = 120
[tool.ruff.lint]
ignore = [
"D1", # pydocstyle: Missing Docstrings
"D107", # pydocstyle: numpy convention
"D203",
"D205",
"D212",
"D213",
"D401",
"D402",
"D413",
"D415",
"D416",
"D417"
]
select = [
"F", # pyflakes
"E", # pycodestyle
"W", # pycodestyle warnings
"I", # isort
"D" # pydocstyle
]
[tool.setuptools.packages.find]
include = ["earthkit.transforms"]
where = ["src/"]
[tool.setuptools_scm]
local_scheme = "no-local-version"
write_to = "src/earthkit/transforms/version.py"
write_to_template = '''
# Do not change! Do not track in version control!
__version__ = "{version}"
'''