-
Notifications
You must be signed in to change notification settings - Fork 148
/
pyproject.toml
114 lines (100 loc) · 2.78 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[tool.towncrier]
package = "sygnal"
filename = "CHANGELOG.md"
directory = "changelog.d"
issue_format = "[\\#{issue}](https://github.com/matrix-org/sygnal/issues/{issue})"
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bugfixes"
showcontent = true
[[tool.towncrier.type]]
directory = "docker"
name = "Updates to the Docker image"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Improved Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "removal"
name = "Deprecations and Removals"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Internal Changes"
showcontent = true
[tool.isort]
line_length = 88
sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,TESTS,LOCALFOLDER"
default_section = "THIRDPARTY"
known_first_party = "sygnal"
known_tests = "tests"
multi_line_output = 3
include_trailing_comma = true
combine_as_imports = true
[tool.ruff]
line-length = 88
ignore = [
"E501", # https://beta.ruff.rs/docs/rules/line-too-long/. Black enforces this for us.
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "matrix-sygnal"
version = "0.15.1"
description = "Reference Push Gateway for Matrix Notifications"
authors = ["Matrix.org Team and Contributors <packages@matrix.org>"]
readme = "README.md"
license = "Apache-2.0"
packages = [
{ include = "sygnal" },
]
include = [
{ path = "tests", format = "sdist" },
]
[tool.poetry.dependencies]
python = "^3.8.0"
aioapns = ">=3.0"
aiohttp = "^3.10.2"
attrs = ">=19.2.0"
cryptography = ">=2.6.1"
idna = ">=2.8"
google-auth = ">=2.27.0"
jaeger-client = ">=4.0.0"
matrix-common = "==1.3.0"
opentracing = ">=2.2.0"
prometheus_client = ">=0.7.0,<0.8"
py-vapid = ">=1.7.0"
pyOpenSSL = ">=17.5.0"
pywebpush = ">=1.13.0"
pyyaml = ">=5.1.1"
sentry-sdk = ">=0.10.2"
service_identity = ">=18.1.0"
Twisted = ">=19.7"
zope-interface = ">=5.0.0"
[tool.poetry.group.dev.dependencies]
black = "==24.3.0"
coverage = "~=5.5"
ruff = "==0.0.291"
isort = "~=5.10"
google-auth-stubs = "==0.2.0"
mypy = "==1.5.1"
mypy-zope = "==1.0.1"
towncrier = ">=18.6.0"
tox = ">=4.15.0"
types-opentracing = ">=2.4.2"
types-pyOpenSSL = ">=24.0.0"
types-PyYAML = ">=6.0.0"
typing-extensions = ">=3.7.4"
[tool.poetry.urls]
"homepage" = "https://github.com/matrix-org/sygnal"
"documentation" = "https://github.com/matrix-org/sygnal/tree/main/docs"
"repository" = "https://github.com/matrix-org/sygnal.git"
"changelog" = "https://github.com/matrix-org/sygnal/blob/main/CHANGELOG.md"
[tool.poetry.scripts]
sygnal = "sygnal.sygnal:main"