-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
145 lines (131 loc) · 2.91 KB
/
pyproject.toml
File metadata and controls
145 lines (131 loc) · 2.91 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# SPDX-FileCopyrightText: 2025-2026 Contributors to the MeteoForge project
# SPDX-License-Identifier: MPL-2.0
[project]
name = "meteoforge"
version = "3.0.0-alpha.1"
description = "The MeteoForge Project provides a set of tools to work with meteorological data, focused on downloading, processing and formatting datasets from various sources."
authors = [
{ name = "Raoul Linnenbank", email = "58594297+rflinnenbank@users.noreply.github.com" }
]
license = { text = "MPL2.0" }
readme = "README.md"
requires-python = ">=3.13,<3.14" # 3.14 not supported yet by all dependencies (Atheris, PyProj)
dynamic = ["dependencies"]
[tool.poetry.urls]
homepage = "https://github.com/alliander-opensource/meteoforge"
repository = "https://github.com/alliander-opensource/meteoforge"
documentation = "https://github.com/alliander-opensource/meteoforge"
[tool.poetry.dependencies]
pyproj = "^3.7.2"
colorlog = "^6.10.1"
pydantic = "^2.12.5"
xarray = "^2026.4.0"
zarr = "^3.1.6"
numpy = "^2.4.4"
netcdf4 = "^1.7.4"
dask = "^2026.3.0"
shapely = "^2.1.2"
[tool.poetry.group.dev.dependencies]
coverage = "^7.13.5"
pytest = "^9.0.3"
pre-commit = "^4.5.1"
ruff = "^0.15.10"
mypy = "^1.20.1"
fawltydeps = "^0.20.0"
types-pyyaml = "^6.0.12"
pytest-cov = "^7.1.0"
reuse = "^6.2.0"
types-shapely = "^2.1.0"
atheris = "^3.0.0"
[tool.poetry.group.docs.dependencies]
zensical = "^0.0.33"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
output-format = "github"
line-length = 120
show-fixes = true
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
"migrations",
]
[tool.ruff.lint]
select = [
"E",
"F",
"UP",
"B",
"SIM",
"I",
"D",
]
ignore = [
"D100",
"D104",
"D203",
"D213",
]
[tool.ruff.lint.per-file-ignores]
"conftest.py" = ["E501"]
[tool.mypy]
packages = ["src.meteoforge"]
plugins = []
python_version = "3.13"
strict = true
exclude = ["tests/*", ".venv/*"]
disable_error_code = []
follow_imports = "normal"
ignore_missing_imports = false
show_error_codes = true
namespace_packages = true
explicit_package_bases = true
check_untyped_defs = true
allow_redefinition = true
no_implicit_optional = true
install_types = true
non_interactive = true
enable_error_code = []
files = ["src/meteoforge/spatial_temporal/locations.py"]
[tool.pylint.format]
max-line-length = 120
[tool.pytest.ini_options]
addopts = [
"--cov",
"--cov-branch",
"--cov-report=xml",
"--cov-report=term-missing"
]
minversion = "8.4.1"
testpaths = ["tests"]
[tool.coverage.run]
relative_files = false
omit = [
"tests/*",
".venv/*",
]