Skip to content

Strict report as of 3/13/2025 #1171

@Dr-Irv

Description

@Dr-Irv

When we do a merge, we run pyright using the strict option. Current statistics on the types of errors found:

reportUnknownMemberType       2387
reportUnknownParameterType    2112
reportMissingTypeArgument     1560 
reportMissingParameterType    1247
reportUnknownArgumentType      613
reportUnknownVariableType      428
reportUnusedVariable            88
reportUnknownLambdaType         58
reportUnusedExpression          41
reportPrivateUsage              15
reportMissingTypeStubs           7

Can be output by running poe test pyright_strict

There are 8556 errors, and 3541 of them are in the stubs themselves. Rest are reported from the tests (but may be due to the stubs).

FYI for @MarcoGorelli

Some simple things that would help:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions