Skip to content

ni/python-actions/analyze-project does not think mypy is installed #31

Closed

Description

@bkeryan

Bug Report

mypy is installed, but ni/python-actions/analyze-project does not run it.

Repro or Code Sample

Introduce typing errors to code.
Run PR workflow.
Example: https://github.com/ni/nitypes-python/actions/runs/18022788195/job/51283815366

Expected Behavior

Mypy runs and fails.

Current Behavior

Mypy does not run.

Context

Testing a suggestion for ni/nitypes-python#200

Your Environment

GitHub

AB#3330140

Activity

  1. bkeryan commented on Sep 25, 2025

    @bkeryan
    CollaboratorAuthor

    We should also add a test project where the checks fail, and have the test workflow verify that they fail.

  2. bkeryan commented on Sep 26, 2025

    @bkeryan
    CollaboratorAuthor

    Reopening because there are no tests.

    On further thought, we should test these cases:

    • project w/passing nps, mypy, pyright
    • project with nps errors
    • project with mypy errors
    • project with pyright errors
    • project with only nps
    • run again with cached venv
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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions