feat: update tools config
This commit is contained in:
parent
b9bc817519
commit
12709e2259
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user