feat: update tools config

This commit is contained in:
sangge-redmi 2025-04-18 18:17:13 +08:00
parent b9bc817519
commit 12709e2259

View File

@ -14,11 +14,26 @@ authors = [
{ name = "Yu Haichuan", email = "haichuanyu243@gmail.com" }, { name = "Yu Haichuan", email = "haichuanyu243@gmail.com" },
] ]
requires-python = ">=3.8" 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] [project.optional-dependencies]
test = ["httpx", "pytest"] test = ["httpx", "pytest"]
dev = ["httpx", "pytest", "pyright", "ruff"] dev = ["httpx", "pytest", "pyright", "ruff"]
[tool.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