add pyright config (#1554)

This commit is contained in:
Ju4tCode 2023-01-06 12:42:20 +08:00 committed by GitHub
parent ace053f387
commit cafb7bedb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,6 +90,13 @@ all = false
[tool.pyright]
reportShadowedImports = false
pythonVersion = "3.8"
pythonPlatform = "All"
executionEnvironments = [
{ root = "./tests", extraPaths = ["./"] },
{ root = "./" },
]
[build-system]
requires = ["poetry_core>=1.0.0"]