👷 改用 basedpyright

This commit is contained in:
2024-08-28 00:40:24 +08:00
parent 0a660922bb
commit 84db42f1ce
4 changed files with 622 additions and 547 deletions

View File

@@ -34,9 +34,9 @@ yarl = "^1.9.4"
zstandard = '>=0.22,<0.24'
[tool.poetry.group.dev.dependencies]
basedpyright = "^1.17.0"
mypy = '>=1.9'
pandas-stubs = '>=1.5.2,<3.0.0'
pyright = "^1.1.377"
ruff = '>=0.3.0'
types-aiofiles = '>=23.2.0.20240106,<25.0.0.0'
types-lxml = '^2024.2.9'
@@ -135,7 +135,7 @@ builtins-ignorelist = ['id']
[tool.ruff.format]
quote-style = 'single'
[tool.pyright]
[tool.basedpyright]
pythonVersion = "3.10"
pythonPlatform = "All"
defineConstant = { PYDANTIC_V2 = true }