forked from Ballsdex-Team/BallsDex-DiscordBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
63 lines (49 loc) · 1.26 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
[tool.poetry]
name = "ballsdex"
version = "1.0.0a1"
description = ""
authors = ["laggron42 <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.11"
# asyncio
uvloop = { version = "^0.17.0", markers = "sys_platform != 'win32'" }
# discord
"discord.py" = "^2.3.2"
# fastapi
fastapi = "^0.104.1"
fastapi-admin = {git = "https://github.com/fastapi-admin/fastapi-admin", rev = "0ed771026c776138aceb4ae98eeb5c976786a193"}
uvicorn = "^0.24.0"
# database ORM
tortoise-orm = {extras = ["asyncpg"], version = "^0.20.0"}
tortoise-cli = "^0.1.2"
# misc
rich = "^13.6.0"
python-dateutil = "^2.8.2"
Pillow = "^10.1.0"
aerich = "^0.6.3"
pyyaml = "^6.0"
cachetools = "^5.3.1"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.5.0"
black = {version = "^23.1.0", allow-prereleases = true}
flake8-pyproject = "^1.2.3"
pyright = "^1.1.335"
isort = "^5.12.0"
[tool.poetry.group.metrics.dependencies]
prometheus-client = "^0.16.0"
[tool.aerich]
tortoise_orm = "ballsdex.__main__.TORTOISE_ORM"
location = "./migrations"
src_folder = "./ballsdex"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 99
[tool.flake8]
ignore = "W503,E203"
max-line-length = 99
[tool.isort]
profile = "black"
line_length = 99