-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml.jinja
62 lines (47 loc) · 1.49 KB
/
pyproject.toml.jinja
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
# https://python-poetry.org/docs/
[tool.poetry]
name = "{{bot_project_name}}"
version = "0.1.0"
description = "{{bot_short_description}}"
authors = []
[tool.poetry.dependencies]
python = ">=3.8,<3.12"
pybotx = ">=0.67.1"
pybotx-smartapp-rpc = ">=0.9.0"
pybotx-smart-logger = "~0.10.1"
fastapi = "~0.110.1"
gunicorn = "~21.2.0"
uvicorn = { version = "~0.29.0", extras = ["standart"] }
loguru = ">=0.6.0,<0.7.0"
mako = "~1.2.2"
pydantic = { version = "~1.10.8", extras = ["dotenv"] }
alembic = "~1.13.1"
SQLAlchemy = "~2.0.0"
asyncpg = "~0.29.0" # DB backend for application
psycopg2-binary = "~2.9.2" # DB backend for alembic (migration tool)
redis = "~5.0.3"
{% if add_worker -%}
saq = { version = "~0.12.4", extras = ["hiredis"] }
{%- endif %}
importlib-resources = { version = "~5.4.0", python = "<3.9" }
zipp = { version = "~3.7.0", python = "<3.9" }
importlib-metadata = { version = "~4.11.0", python = "<3.9" }
[tool.poetry.group.dev.dependencies]
add-trailing-comma = "2.2.1"
autoflake = "1.4.0"
black = "22.3.0"
isort = "5.10.1"
mypy = "1.0.1"
wemake-python-styleguide = "0.16.0"
flake8-bandit = "2.1.2" # https://github.com/PyCQA/bandit/issues/837
bandit = "1.7.2" # https://github.com/PyCQA/bandit/issues/837
pytest = "~7.2.0"
pytest-asyncio = "~0.18.2"
pytest-cov = "~3.0.0"
asgi-lifespan = "~1.0.1"
requests = "~2.31.0"
respx = "~0.20.2"
markdown = "3.3.6" # https://github.com/python-poetry/poetry/issues/4777
[build-system]
requires = ["poetry>=1.7.1"]
build-backend = "poetry.masonry.api"