Skip to content

Commit

Permalink
re-enable pyright.reportPrivateImportUsage and `pyright.reportUnbou…
Browse files Browse the repository at this point in the history
…ndVariable `
  • Loading branch information
Kallinteris-Andreas committed Oct 17, 2024
1 parent 33af4dc commit 132e31f
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -137,19 +137,14 @@ 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"
# reportUnboundVariable = "warning"

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

reportIndexIssue = "none" # TODO fix one by one
reportReturnType = "none" # TODO fix one by one
Expand Down

0 comments on commit 132e31f

Please sign in to comment.