added pyright in pyproject.toml

This commit is contained in:
Oliver Hartmann 2023-01-13 18:29:49 +01:00
parent a5ceececb5
commit e2c55680ee

View File

@ -5,3 +5,12 @@ addopts = "-ra -q"
testpaths = [
"tests",
]
[tool.pyright]
venv = "venv"
venvPath = './'
reportOptionalMemberAccess = 'warning'
reportGeneralTypeIssues = 'warning'
analyzeUnannotatedFunctions = 'false'
executionEnvironments = [
{ root = "./" }
]