Skip to content

test: pre-commit and type checking #739

Open
1 of 1 issue completed
Open

Description

@planetf1

Context

Part of the Testing Infrastructure & Strategy Overhaul epic (item 10). Subsumes #456 (add pyright check).

Objective

Keep pre-commit fast and reliable. Investigate faster type checkers as alternatives to mypy, and address the venv activation friction.

Work

  • Investigate ty or pyright as faster alternatives to mypy (Add pyright check #456)
  • Address venv activation friction — pre-commit currently fails if the venv isn't activated; explore whether a faster type checker removes this requirement or whether the hook can handle activation itself
  • Ensure pre-commit stays within the <60s budget
  • No tests in pre-commit for now (revisit if unit tests become fast enough)
  • Update contributor documentation on pre-commit setup

Notes

  • Add pyright check #456 (add pyright check) is a sub-issue of this work item
  • Pre-commit tier: lint + type checking only, <60s budget

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    p2
    on Jun 18, 2026
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

    p2testing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions