mud/pyproject.toml

41 lines
731 B
TOML

[project]
name = "mudlib"
version = "0.1.0"
description = "a telnet mud engine"
requires-python = ">=3.12"
dependencies = [
"telnetlib3 @ file:///home/jtm/src/telnetlib3",
]
[dependency-groups]
dev = [
"ruff",
"pyright",
"pytest",
"pytest-asyncio",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/mudlib"]
[tool.ruff]
src = ["src"]
line-length = 88
exclude = ["repos", ".worktrees"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.pyright]
pythonVersion = "3.12"
exclude = ["repos", ".worktrees", ".venv"]
[tool.pytest.ini_options]
testpaths = ["tests"]