[project] name = "zhixing-server" version = "0.1.0" description = "FastAPI backend and quantitative processing foundation for Zhixing System" readme = "README.md" requires-python = ">=3.12,<3.13" dependencies = [ "fastapi>=0.141.1", "pydantic-settings>=2.14.2", "uvicorn[standard]>=0.52.1", ] [dependency-groups] dev = [ "httpx2>=2.9.1", "pyright>=1.1.411", "pytest>=9.1.1", "pytest-cov>=7.1.0", "ruff>=0.16.1", ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["src/zhixing_server"] [tool.pytest.ini_options] addopts = "-ra --strict-config --strict-markers" pythonpath = ["src"] testpaths = ["tests"] [tool.pyright] include = ["src", "tests"] pythonVersion = "3.12" typeCheckingMode = "strict" venvPath = "." venv = ".venv" [tool.ruff] line-length = 100 target-version = "py312" [tool.ruff.lint] select = ["B", "E", "F", "I", "SIM", "UP"] [tool.ruff.format] quote-style = "double"