Skip to content

Commit 36ce873

Browse files
[pyright] Proper interpreter, disable all messages
1 parent 7eb1ca1 commit 36ce873

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

pyproject.toml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,19 @@ module = [
227227
[tool.pyright]
228228
include = [
229229
"pylint",
230+
# not checking the tests yet, but we could
230231
]
231-
pythonVersion = "3.9"
232+
pythonVersion = "3.10"
232233
typeCheckingMode = "basic"
233-
reportMissingImports = "none"
234-
reportMissingModuleSource = "none"
234+
reportMissingImports = "none" # pytest / astroid are not detected
235+
reportOptionalMemberAccess = "none" # 150 issues
236+
reportArgumentType = "none" # 12 issues
237+
reportAttributeAccessIssue = "none" # 11 issues
238+
reportInvalidTypeForm = "none" # 6 issues
239+
reportOptionalCall = "none" # 2 issues
240+
reportGeneralTypeIssues = "none" # 1 issue
241+
reportCallIssue = "none" # 1 issue
242+
reportInvalidTypeVarUse = "none" # 2 warnings
235243

236244
[tool.aliases]
237245
test = "pytest"

0 commit comments

Comments
 (0)