-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (81 loc) · 2.01 KB
/
pyproject.toml
File metadata and controls
89 lines (81 loc) · 2.01 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
[project]
authors = [{name = "René Filip"}]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
description = "Framework to create your own Signal bots"
keywords = [
"Signal",
"Bot",
"Framework",
"Home Automation",
]
license = { text = "MIT" }
maintainers = [{name = "René Filip"}, {name = "Era Dorta"}]
name = "signalbot"
readme = "README.md"
requires-python = ">=3.10"
version = "1.1.1.dev1"
dependencies = [
"APScheduler>=3.11.0",
"aiohttp>=3.11.9",
"websockets>=14.1",
"phonenumbers>=8.13.54",
"pydantic>=2.12.3",
"packaging>=25.0",
"pyyaml>=6.0.3",
]
[project.optional-dependencies]
redis = ["redis>=5.2.0"]
[dependency-groups]
dev = [
"prek>=0.3.0",
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
"pytest-mock>=3.15.1",
"pytest-cov>=7.0.0",
]
docs = [
"mkdocstrings[python]>=0.30.1",
"mkdocs-material>=9.7.1",
"mkdocs-git-revision-date-localized-plugin>=1.5.0",
"mkdocs-macros-plugin>=1.5.0",
"mike>=2.1.3",
"ruff>=0.15.1",
]
examples = [
"anyio>=4.12.1",
"typer>=0.23.2",
]
[project.urls]
repository = "https://github.com/signalbot-org/signalbot"
[build-system]
requires = ["uv_build>=0.9.26,<0.12.0"]
build-backend = "uv_build"
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D", # Docstrings
"FIX", # TODO, FIXME and other messages
"ERA001", # Commented out code
"COM812", # Trailing commas, the formatter already does this
]
[tool.ruff.lint.per-file-ignores]
# Tests can ignore a few extra rules
"**/tests/**.py" = [
"ANN201", # Missing return type annotation for public function
"S101", # Use of assert is detected
"INP001", # Missing __init__.py file
"SLF001", # Access private attributes
]
[tool.yamlfix]
explicit_start = false
whitelines = 1
line_length = 120 # This should be 88 but the formatter breaks some }} in the github workflows.