Skip to content

Run Pyright on test files to catch typing issues #1007

@benhoyt

Description

@benhoyt

We currently don't run Pyright over our test/*.py files to type-check those, meaning we're not getting "coverage" of most of our type annotations, which results in issues like #963.

We should enable Pyright on these files. I suspect this will be a fairly big diff -- if so, we may want to opt the files in one by one in separate PRs to streamline review.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions