forked from Forden/aiogram-bot-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (68 loc) · 1.74 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
[tool.black]
target-version = ["py310"]
[tool.isort]
profile = "black"
py_version = 310
force_alphabetical_sort_within_sections = true
group_by_package = true
[tool.mypy]
python_version = "3.10"
files = "bot.py"
show_error_codes = true
show_error_context = true
pretty = true
ignore_missing_imports = false
warn_unused_configs = true
disallow_subclassing_any = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
follow_imports_for_stubs = true
namespace_packages = true
show_absolute_path = true
[[tool.mypy.overrides]]
module = "asyncpg.*"
ignore_missing_imports = true
[tool.ruff]
select = ["E", "F", "B"]
ignore = ["E501"]
unfixable = ["B"]
target-version = "py310"
ignore-init-module-imports = true
[tool.poetry]
name = "aiogram-bot-template"
version = "2.1.0"
description = "Template for creating scalable bots with aiogram"
authors = ["Forden <[email protected]>"]
readme = "README.md"
packages = [{ include = "aiogram_bot_template" }]
[tool.poetry.scripts]
aiogram_bot_template = "aiogram_bot_template.bot:main"
[tool.poetry.dependencies]
python = "^3.10"
environs = "^9.5.0"
aiohttp = "^3.8.4"
aiojobs = "^1.1.0"
aiogram = "3.0.0b7"
asyncpg = "^0.27.0"
redis = "^4.5.5"
orjson = "^3.8.12"
structlog = "^23.1.0"
tenacity = "^8.2.2"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
mypy = "^1.3.0"
black = { extras = ["d"], version = "^23.3.0" }
ruff = "^0.0.267"
types-redis = "^4.5.5.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"