-
Notifications
You must be signed in to change notification settings - Fork 167
/
Copy pathpyproject.toml
100 lines (84 loc) · 2.3 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[project]
name = "ballsdex"
description = ""
authors = [
{ name = 'Auguste "laggron42" Charpentier', email = "laggron42@ballsdex.com" },
{ name = 'Jamie "flare" McGuinness', email = "flare@ballsdex.com" },
]
license = "MIT"
requires-python = ">=3.12, <3.14"
dynamic = ["version"]
dependencies = [
# asyncio
"uvloop==0.21.0; sys_platform != 'win32'",
# discord
"discord.py==2.4.0",
"audioop-lts==0.2.1 ; python_version >= '3.13'",
# database ORM
"tortoise-orm[asyncpg] ==0.22.2",
"tortoise-cli==0.1.2",
# django admin panel
"uvicorn[standard]==0.32.0",
"django==5.1.4",
"django-allow-cidr (>=0.7.1,<0.8.0)",
"django-nonrelated-inlines==0.2",
"django-admin-autocomplete-filter==0.7.1",
"django-admin-action-forms==1.3.0",
"django-admin-inline-paginator==0.4.0",
"dj-database-url==2.3.0",
"social-auth-app-django==5.4.2",
"psycopg==3.2.3",
"psycopg-binary==3.2.3",
# metrics
"prometheus-client==0.20.0",
# misc
"rich==13.8.0",
"python-dateutil==2.9.0",
"Pillow==10.4.0",
"aerich==0.6.3",
"pyyaml==6.0.2",
"cachetools==5.5.0",
]
[project.optional-dependencies]
dev = [
"pre-commit==3.7.1",
"black==24.8.0",
"flake8-pyproject==1.2.3",
"pyright==1.1.390",
"isort==5.13.2",
"django-debug-toolbar==4.4.6",
"pyinstrument==5.0.0",
]
[tool.poetry]
packages = [{ include = "ballsdex" }]
requires-poetry = ">=2.0"
version = "0.0.0"
[tool.poetry.requires-plugins]
poetry-plugin-shell = ">=1.0"
poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = ["plugin"] }
[tool.poetry-dynamic-versioning]
enable = true
[tool.poetry-dynamic-versioning.from-file]
source = "ballsdex/__init__.py"
pattern = '__version__ = "(?P<base>\d+\.\d+\.\d+)"'
[build-system]
requires = ["poetry-core>=2.0"]
build-backend = "poetry.core.masonry.api"
[tool.aerich]
tortoise_orm = "ballsdex.__main__.TORTOISE_ORM"
location = "./migrations"
src_folder = "./ballsdex"
[tool.black]
line-length = 99
[tool.flake8]
ignore = "W503,E203,E999"
max-line-length = 99
exclude = "./admin_panel/admin_panel/settings/*"
[tool.isort]
profile = "black"
line_length = 99
[tool.pyright]
extraPaths = ["./admin_panel"]
pythonVersion = "3.13"
reportIncompatibleMethodOverride = "warning"
reportIncompatibleVariableOverride = "warning"