-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (70 loc) · 1.9 KB
/
pyproject.toml
File metadata and controls
82 lines (70 loc) · 1.9 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "trollflow2"
dynamic = ["version"]
description = "Pytroll workflow execution framework"
readme = "README.md"
license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
requires-python = ">=3.12"
authors = [
{ name = "Adam Dybbroe" },
{ name = "Gerrit Holl" },
{ name = "Panu Lahtinen" },
{ name = "Paulo Medeiros" },
{ name = "Ondrej Nedelcev" },
{ name = "Martin Raspaud", email = "martin.raspaud@smhi.se" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
]
dependencies = [
"dpath>=2.1.0",
"posttroll>=1.10.0",
"pyorbital",
"pyyaml",
"satpy>=0.32.0",
"trollsift",
]
[project.scripts]
satpy_cli = "trollflow2.cli:cli"
"satpy_launcher.py" = "trollflow2.satpy_launcher:main"
[project.urls]
Homepage = "https://github.com/pytroll/trollflow2"
[dependency-groups]
test = [
"pytest>=8.3.5",
"rasterio>=1.4.3",
"pytroll-schedule",
"s3fs>=2025.9.0",
"netcdf4>=1.7.2",
"bokeh>=3.8.0",
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "trollflow2/_version.py"
[tool.hatch.build.targets.sdist]
include = [
"/trollflow2",
]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
# See https://docs.astral.sh/ruff/rules/
select = ["A", "E", "W", "TID", "T10"]
# to add in the future: "Q", "I", "N", "PT", "S", "T20", "C90", "F", "B", "D"
[tool.ruff.lint.per-file-ignores]
"trollflow2/tests/*" = ["S101"] # assert allowed in tests
"doc/source/conf.py" = ["D100", "A001"] # sphinx misbihaving
"trollflow2/_version.py" = ["D100", "Q000"] # automatically generated by hatch-vcs
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.mccabe]
max-complexity = 10