From 12709e2259bae3d500a03ede4602cb2811fc4b09 Mon Sep 17 00:00:00 2001 From: sangge-redmi <2251250136@qq.com> Date: Fri, 18 Apr 2025 18:17:13 +0800 Subject: [PATCH] feat: update tools config --- pyproject.toml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) 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