[project] name = "tjhlp" version = "0.1.0" description = "同济大学高级语言程序设计课程 Gitea 答疑平台管理工具" readme = "README.md" requires-python = ">=3.14" dependencies = [ "typer>=0.15", "httpx>=0.28", "rich>=14", "pydantic>=2.10", "dynaconf>=3.2", ] [project.optional-dependencies] dev = [ "pytest>=8", "pytest-cov", "pytest-mock", "respx>=0.22", "ruff", ] [project.scripts] tjhlp = "tjhlp.cli:app" [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["src/tjhlp"] [tool.ruff] target-version = "py314" line-length = 100 src = ["src"] [tool.ruff.lint] select = ["E", "F", "W", "I", "N", "UP", "B", "A", "SIM", "RUF"] ignore = ["B008"] [tool.pytest.ini_options] testpaths = ["tests"] addopts = "-v --tb=short"