-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
79 lines (64 loc) · 1.76 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
[tool.poetry]
name = "Qzone3TG"
version = "0.9.9.dev13"
description = "Forward Qzone feeds to telegram."
authors = ["aioqzone <zzzzss990315@gmail.com>"]
readme = "README.md"
license = "AGPL-3.0"
homepage = "https://github.com/aioqzone/Qzone2TG"
repository = "https://github.com/aioqzone/Qzone2TG"
documentation = "https://aioqzone.github.io/Qzone2TG"
[tool.poetry.dependencies]
python = "~3.12"
aioqzone-feed = "^1.2.1.dev4"
slide-tc = { version = "~0.1.1", allow-prereleases = true, optional = true }
qzemoji = { version = "^6.0.4", source = "aioqzone-index" }
aiogram = { version = "^3.3.0", extras = ["proxy"] } # bot api 7.0
apscheduler = "^3.10.4"
[tool.poetry.extras]
slide-captcha = ["slide-tc"]
# dependency groups
[tool.poetry.group.test]
optional = false
[tool.poetry.group.test.dependencies]
pytest = "^8.2.0"
pytest-asyncio = "~0.24.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pre-commit = "*"
black = "*"
isort = "!=5.13.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
Sphinx = "^8.0.2"
autodoc-pydantic = "*"
sphinx-autodoc-typehints = "^2.2.0"
furo = "^2024.8.6"
sphinx-design = "^0.6.1"
[[tool.poetry.source]]
name = "aioqzone-index"
url = "https://aioqzone.github.io/aioqzone-index/simple/"
priority = "supplemental"
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
# customize begin
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"
log_cli_level = 'WARNING'
pythonpath = 'src'
log_cli = 1
[tool.isort]
profile = "black"
line_length = 99
[tool.black]
line-length = 99
target-version = ['py311']
[tool.pyright]
pythonVersion = "3.12"
pythonPlatform = "All"