Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Der-Henning
GitHub Repository: Der-Henning/tgtg
Path: blob/main/pyproject.toml
1494 views
1
[build-system]
2
build-backend = "poetry.core.masonry.api"
3
requires = ["poetry-core>=1.0.0"]
4
5
[project]
6
authors = [
7
{ name = "Henning Merklinger", email = "[email protected]" },
8
]
9
dependencies = [
10
'apprise (>=1.4.0,<2.0.0)',
11
'babel (>=2.16.0,<3.0.0)',
12
'colorlog (>=6.7.0,<7.0.0)',
13
'cron-descriptor (>=2.0.6,<3.0.0)',
14
'discord (>=2.3.2,<3.0.0)',
15
'googlemaps (>=4.10.0,<5.0.0)',
16
'humanize (>=4.7.0,<5.0.0)',
17
'packaging (>=25.0,<26.0)',
18
'progress (>=1.6,<2.0)',
19
'prometheus-client (>=0.21.0,<0.24.0)',
20
'pycron (>=3.0.0,<4.0.0)',
21
'python-pushsafer (>=1.1,<2.0)',
22
'python-telegram-bot[callback-data] (>=22.0.0,<23.0.0)',
23
'requests (>=2.31.0,<3.0.0)',
24
]
25
description = "Notifications for Too Good To Go"
26
dynamic = ["version"]
27
keywords = ["tgtg", "toogoodtogo", "notifications"]
28
license = "GPL-3.0-or-later"
29
name = "tgtg-scanner"
30
readme = "README.md"
31
requires-python = '>=3.10,<3.15'
32
33
[project.scripts]
34
scanner = "tgtg_scanner.__main__:main"
35
tgtg_server = "tests.tgtg_server:main"
36
37
[project.urls]
38
documentation = "https://github.com/Der-Henning/tgtg/wiki"
39
repository = "https://github.com/Der-Henning/tgtg"
40
41
[tool.poetry]
42
packages = [{ include = "tgtg_scanner" }]
43
requires-poetry = '>=2.0.0,<3.0.0'
44
version = "1.25.0"
45
46
[tool.poetry.group.build.dependencies]
47
pyinstaller = "^6.3.0"
48
49
[tool.poetry.group.test.dependencies]
50
pre-commit = "^4.0.1"
51
pytest = "^9.0.0"
52
pytest-cov = "^7.0.0"
53
pytest-mock = "^3.11.1"
54
responses = "^0.25.0"
55
56
[tool.pytest.ini_options]
57
markers = [
58
"tgtg_api: test directly calls the tgtg API (deselect with '-m \"not tgtg_api\"')",
59
]
60
61
[tool.ruff]
62
line-length = 130
63
64
[tool.ruff.lint]
65
select = ["E", "F", "B", "I", "UP"]
66
67
[tool.ruff.lint.pyupgrade]
68
# Preserve types, even if a file imports `from __future__ import annotations`.
69
keep-runtime-typing = true
70
71