[project]
name = "mudlib"
version = "0.1.0"
description = "a telnet mud engine"
requires-python = ">=3.12"
dependencies = [
    "telnetlib3 @ file:///home/jtm/src/telnetlib3",
    "pygments>=2.17.0",
    "pyyaml>=6.0",
]

[dependency-groups]
dev = [
    "ruff",
    "pytest",
    "pytest-asyncio",
    "pytest-testmon",
    "pytest-xdist",
]

[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.pytest.ini_options]
testpaths = ["tests"]
