-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
83 lines (67 loc) · 2.46 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
[project]
name = "pytroll-watchers"
dynamic = ["version"]
description = "Utility functions and scripts to watch for new files on local or remote filesystems."
authors = [
{ name = "Martin Raspaud", email = "[email protected]" }
]
dependencies = ["universal-pathlib>=0.2.5", "trollsift", "pyyaml", "geojson"]
readme = "README.md"
requires-python = ">= 3.10"
license = {file = "LICENSE.txt"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Communications"
]
[project.scripts]
pytroll-watcher = "pytroll_watchers.main_interface:cli"
pytroll-selector = "pytroll_watchers.selector:cli"
[project.entry-points."pytroll_watchers.backends"]
local = "pytroll_watchers.local_watcher"
minio = "pytroll_watchers.minio_notification_watcher"
dataspace = "pytroll_watchers.dataspace_watcher"
datastore = "pytroll_watchers.datastore_watcher"
dhus = "pytroll_watchers.dhus_watcher"
[project.urls]
"Documentation" = "https://pytroll-watchers.readthedocs.io/en/latest/"
[project.optional-dependencies]
minio = ["minio", "s3fs"]
local = ["watchdog"]
publishing = ["posttroll"]
ssh = ["paramiko"]
dataspace = ["oauthlib", "requests_oauthlib", "s3fs"]
datastore = ["oauthlib", "requests_oauthlib", "aiohttp"]
dhus = ["defusedxml", "requests", "aiohttp"]
selector = ["redis"]
tests = ["redis-server", "freezegun", "responses", "pytroll-watchers[minio,local,publishing,ssh,dataspace,datastore,dhus,selector]"]
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = []
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/pytroll_watchers"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/pytroll_watchers/version.py"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
# See https://docs.astral.sh/ruff/rules/
select = ["A", "B", "D", "E", "W", "F", "I", "N", "PT", "S", "TID", "C90", "Q", "T10", "T20"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"] # assert allowed in tests
"docs/source/conf.py" = ["D100", "A001"] # sphinx misbihaving
"src/pytroll_watchers/version.py" = ["D100", "Q000"] # automatically generated by hatch-vcs
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.mccabe]
max-complexity = 10