diff --git a/pyproject.toml b/pyproject.toml index 44e12b6..32ef5d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,11 +14,26 @@ authors = [ { name = "Yu Haichuan", email = "haichuanyu243@gmail.com" }, ] requires-python = ">=3.8" -dependencies = ["gmssl-python>=2.2.2,<3.0.0", "fastapi", "uvicorn", "requests"] +dependencies = [ + "gmssl-python>=2.2.2,<3.0.0", + "fastapi", + "uvicorn", + "requests", + "aiohttp", + "ecc_rs==0.1.2", +] [project.optional-dependencies] test = ["httpx", "pytest"] dev = ["httpx", "pytest", "pyright", "ruff"] [tool.ruff] -select = ["E", "F", "N", "B", "I", "C4", "UP", "SIM"] +select = ["E", "F", "N", "B", "I", "C4", "UP", "SIM", "D", "ANN", "S", "PL"] + +[tool.pyright] +typeCheckingMode = "strict" +reportMissingImports = true +reportGeneralTypeIssues = true +reportUnknownParameterType = true +reportUnknownArgumentType = true +reportMissingTypeArgument = true