-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (88 loc) · 2.39 KB
/
Copy pathpyproject.toml
File metadata and controls
101 lines (88 loc) · 2.39 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
[project]
name = "zalfmas-fbp"
version = "0.2.36"
description = "lib and tooling for Cap'n Proto-based FBP flows"
readme = "README.md"
requires-python = ">=3.12,<3.15"
authors = [
{ name = "Michael Berg-Mohnicke", email = "michael.berg@zalf.de" },
{ name = "Vincent Dlugosch", email = "vincent.dlugosch@zalf.de" }
]
dependencies = [
"tomli-w>=1.2.0,<2",
"netcdf4>=1.7.4,<2",
"spotpy>=1.6.7,<2",
"matplotlib>=3.11.1,<4",
"pycapnp>=2.2.4,<3",
"zalfmas-common>=0.1.48,<0.2",
"zalfmas-capnp-schemas>=0.1.68,<0.2",
"zalfmas-services>=0.1.16,<0.2",
"pymep>=1.0.7,<2",
"pydantic>=2.13.5,<3",
"geojson-pydantic>=2.1.2,<3",
"rasterio>=1.5.1,<2",
"geopandas>=1.1.4,<2",
"pyarrow>=25.0.1,<26",
"duckdb>=1.5.5,<2",
"owslib>=0.36.0,<0.37",
"boto3>=1.43.85,<2", "gjson>=1.2.0,<2",
]
[project.scripts]
zalfmas-component-service = "zalfmas_fbp.run.local_components_service:cli"
zalfmas-channel-service = "zalfmas_fbp.run.channel_starter_service:cli"
[dependency-groups]
dev = [
"pytest>=9.1.1,<10",
"ruff>=0.16.5,<0.17",
"ty>=0.0.77,<0.0.78",
"types-boto3[all,s3]>=1.43.85,<2",
"basedpyright>=1.39.10,<2",
]
[tool.pixi.dependencies]
libsodium = ">=1.0.22,<2"
openpyxl = ">=3.1.5,<4"
[tool.pixi.pypi-dependencies]
zalfmas-fbp = { path = ".", editable = true }
# Referencing local packages in editable mode for pixi
# zalfmas-common = { path = "../mas_python_common", editable = true }
# zalfmas-capnp-schemas = { path = "../mas_capnproto_schemas", editable = true }
[tool.pixi.feature.dev.dependencies]
pixi-pycharm = ">=0.0.12,<0.0.13"
[tool.pixi.environments]
dev = ["dev"]
[tool.pixi.workspace]
channels = ["conda-forge"]
platforms = ["linux-64", "win-64"]
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"UP",
"T",
"G",
"BLE",
"COM",
"PTH",
"C417",
"TRY",
"ASYNC109",
# "D100",
# "D101",
]
ignore = ["E501", "COM812"]
[tool.basedpyright]
ignore = ["tests"]
typeCheckingMode = "basic"
venvPath = ".pixi/envs"
venv = "dev"
[tool.pixi.tasks]
components-service = { cmd = "python -m zalfmas_fbp.run.local_components_service configs/local_components_service.toml" }
channel-service = { cmd = "python -m zalfmas_fbp.run.channel_starter_service configs/channel_starter_service.toml" }
run-flow = { cmd = "python -m zalfmas_fbp.run.run_fbp_flow" }