Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-enable pyright.reportPrivateImportUsage and pyright.reportUnboundVariable #1217

Merged
merged 4 commits into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -137,27 +137,18 @@ reportMissingTypeStubs = false
# For warning and error, will raise an error when
reportInvalidTypeVarUse = "none"

# reportUnknownMemberType = "warning" # -> raises 6035 warnings
# reportUnknownParameterType = "warning" # -> raises 1327 warnings
# reportUnknownVariableType = "warning" # -> raises 2585 warnings
# reportUnknownArgumentType = "warning" # -> raises 2104 warnings
reportGeneralTypeIssues = "none" # -> commented out raises 489 errors
# reportUntypedFunctionDecorator = "none" # -> pytest.mark.parameterize issues
reportAttributeAccessIssue = "none"
reportArgumentType = "none"
reportAttributeAccessIssue = "none" # pyright provides false positives
reportArgumentType = "none" # pyright provides false positives

reportPrivateUsage = "warning"
reportUnboundVariable = "warning"

reportPrivateImportUsage = "none" # -> commented out raises 144 errors

reportIndexIssue = "none" # TODO fix one by one
reportReturnType = "none" # TODO fix one by one
reportCallIssue = "none" # TODO fix one by one
reportOperatorIssue = "none" # TODO fix one by one
reportInvalidTypeForm = "none" # TODO fix one by one
reportOptionalMemberAccess = "none" # TODO fix one by one
reportRedeclaration = "none" # TODO fix one by one
reportAssignmentType = "none" # TODO fix one by one


Expand Down
Loading