mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
54 lines
1.2 KiB
TOML
54 lines
1.2 KiB
TOML
[project]
|
|
name = "mustafa"
|
|
version = "0.1.1"
|
|
description = "UiO Gaming Discord Bot"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"aiohttp==3.14.*",
|
|
"dateparser==1.4.*",
|
|
"discord.py==2.7.*",
|
|
"graphviz==0.21.*",
|
|
"Japanera==2.1.*",
|
|
"mcrcon==0.7.*",
|
|
"moviepy==2.2.*",
|
|
"nltk==3.10.*",
|
|
"numpy==2.5.*",
|
|
"opencv-python==5.0.*",
|
|
"pillow==13.0.*",
|
|
"psutil==7.2.*",
|
|
"psycopg-pool==3.3.*",
|
|
"psycopg[binary]==3.3.*",
|
|
"pypandoc==1.17.*",
|
|
"pyyaml==6.0.*",
|
|
"tzdata", # This only needed if run on windows. I haven't set a version either to ensure it's up to date.
|
|
"wordcloud==1.9.*",
|
|
"yt-dlp==2026.10.21",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pre-commit==4.7.*",
|
|
]
|
|
|
|
[tool.uv]
|
|
# moviepy 2.2.1 (latest release) caps pillow below 12, but every version below 13 has known vulnerabilities.
|
|
# moviepy's main branch has already dropped the cap, so this can be removed once a release includes it
|
|
override-dependencies = ["pillow>=13.0"]
|
|
|
|
[tool.black]
|
|
line-length = 120
|
|
|
|
[tool.isort]
|
|
atomic = true
|
|
profile = "black"
|
|
line_length = 120
|
|
force_single_line = true
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
|
|
[tool.ruff.lint]
|
|
# Keep the rule set ruff used before v0.17 expanded its defaults
|
|
select = ["E4", "E7", "E9", "F"]
|