... without any other dependencies except the rudimentary things, for the time being. This builds using `uv build` and can be run via `uv run bot`. The bot can also be installed via `uv pip install .` (from the project root) and then be imported via `import bot`. Signed-off-by: Max R. Carrara <max@aequito.sh>
49 lines
787 B
TOML
49 lines
787 B
TOML
[project]
|
|
name = "stammtisch-bot"
|
|
version = "0.1.0"
|
|
description = "A funny bot for our little Discord server."
|
|
requires-python = ">=3.13"
|
|
readme = "README.md"
|
|
license = { text = "MIT" }
|
|
|
|
dependencies = [
|
|
"pydantic>=2.10.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
bot = "bot.main:main"
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=42"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"mypy>=1.0.0",
|
|
"pytest>=7.0.0",
|
|
"ruff>=0.9.9",
|
|
]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.13"
|
|
plugins = [
|
|
"pydantic.mypy"
|
|
]
|
|
ignore_missing_imports = true
|
|
check_untyped_defs = true
|
|
disallow_untyped_defs = true
|
|
|
|
[tool.pytest.ini_options]
|
|
minversion = "7.0"
|
|
addopts = "-ra -q"
|
|
testpaths = [
|
|
"tests"
|
|
]
|
|
python_files = [
|
|
"test_*.py"
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
target-version = "py313"
|
|
|