-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
53 lines (47 loc) · 1.37 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
[tool.poetry]
name = "vxwhatsapp"
version = "0.1.0"
description = "A WhatsApp transport for Vumi"
authors = ["Praekelt.org <dev@praekelt.org>"]
license = "BSD-3-Clause"
readme = "README.md"
homepage = "https://github.com/praekeltfoundation/vumi-whatsapp"
repository = "https://github.com/praekeltfoundation/vumi-whatsapp"
[tool.poetry.dependencies]
python = "^3.9"
sanic = "~21.12"
sentry-sdk = "^2.8.0"
prometheus-client = "^0.9.0"
jsonschema = "^3.2.0"
aio-pika = "^6.7.1"
aiohttp = {extras = ["speedups"], version = "^3.10.2"}
redis = "^4.4.4"
websockets = "10.0"
[tool.poetry.dev-dependencies]
black = "^24.3.0"
isort = "^5.7.0"
mypy = "^0.800"
flake8 = "^3.8.4"
httpx = "^0.23.0"
pytest-asyncio = "^0.19.0"
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.flake8]
max-line-length = 88
[tool.pytest.ini_options]
addopts = "--cov=vxwhatsapp"
filterwarnings = [
"error::UserWarning:_pytest", # For PytestUnhandledCoroutineWarning
"error::DeprecationWarning",
# Various things pass a deprecated loop arg, presumably for python 3.7
"default::DeprecationWarning:pytest_asyncio",
"default::DeprecationWarning:sanic.server:556",
"default::DeprecationWarning:sanic.server.runners:133",
"default::DeprecationWarning:asyncio.streams",
]