Skip to content

Evaluate a type checker for import-time and signature errors #61

Description

@DaniusKalv

tests/test_imports.py catches modules that fail at import, but it is a cheap approximation of static checking. A type checker reports the same class without importing, plus much more: wrong constructor arity, dataclass field ordering,
attribute typos, None-safety on optional returns.

Worth weighing after 1.0, when churn slows:

  • mypy or pyright, both workable since PyQt6 ships stubs
  • new CI job, keep it separate from lint so failures read distinctly

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    infraCI, release tooling, repo plumbingresearchInvestigation or spike, outcome is knowledge not code

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions