-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (62 loc) · 1.49 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
[tool.poetry]
name = "slidge-whatsapp"
version = "0.0.0-dev0"
description = "A Whatsapp/XMPP gateway."
authors = ["deuill <[email protected]>", "Nicoco <[email protected]>"]
readme = "README.md"
[[tool.poetry.include]]
path = "slidge_whatsapp"
[[tool.poetry.include]]
path = "slidge_whatsapp/generated/*.py"
format = ["wheel"]
[[tool.poetry.include]]
path = "slidge_whatsapp/generated/*.so"
format = ["wheel"]
[tool.poetry.build]
script = "build.py"
[tool.poetry.dependencies]
python = "^3.11"
linkpreview = "^0.6.5"
pybindgen = "^0.22.1"
slidge = "^0.2.0beta0"
[tool.poetry.group.dev.dependencies]
pytest-asyncio = "^0.21.0"
black = "^24"
isort = "^5.12.0"
ruff = "^0.0.261"
mypy = "^1.2.0"
xmldiff = "^2.6.1"
pre-commit = "^3.2.2"
sphinx = "^6.1.3"
furo = "^2023.3.27"
sphinx-autoapi = "^3"
sphinx-argparse = "^0.4.0"
sphinx-mdinclude = "^0.5.3"
[tool.poetry.group.dev.dependencies.slidge-dev-helpers]
git = "https://git.sr.ht/~nicoco/slidge-dev-helpers"
branch = "master"
[build-system]
requires = ["poetry-core", "pybindgen"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
slidge-whatsapp = 'slidge_whatsapp:main'
[tool.mypy]
files = ["slidge_whatsapp"]
exclude = "slidge_whatsapp/generated"
check_untyped_defs = true
strict = false
[[tool.mypy.overrides]]
module = ["linkpreview"]
ignore_missing_imports = true
[tool.ruff]
line-length = 120
exclude = [
"tests",
"slidge_whatsapp/generated",
]
[tool.isort]
profile = "black"
skip = [
"tests",
"slidge_whatsapp/generated",
]