[project] name = "lingkong-motor-service" version = "0.1.0" description = "HTTP control service for Lingkong broadcast-mode CAN motors" readme = "README.md" requires-python = ">=3.11" dependencies = [ "fastapi>=0.116,<0.117", "python-can[canalystii]>=4.6,<5", "uvicorn>=0.35,<0.36", ] [project.scripts] lingkong-motor-service = "lingkong_motor_service.main:run" [build-system] requires = ["hatchling>=1.27"] build-backend = "hatchling.build" [dependency-groups] dev = [ "httpx>=0.28,<0.29", "pytest>=8.4,<9", "ruff>=0.12,<0.13", ] [tool.hatch.build.targets.wheel] packages = ["src/lingkong_motor_service"] [tool.pytest.ini_options] addopts = "-ra" testpaths = ["tests"] [tool.ruff] line-length = 100 target-version = "py311" [tool.ruff.lint] select = ["E", "F", "I", "UP", "B", "SIM"]