Skip to content

pyright pre-commit hook config isn't running on pyproject.toml #104

Description

@ejfine

Is there an existing issue for this?

  • I have searched the existing issues

What you expected to see, versus what you actually saw

From Coderabbit:

Change pyright-on-tests to select configuration files.

files and types filters use AND semantics. Therefore, pyproject.toml and pyrightconfig.json match files but not types: [python], so configuration-only changes skip the hook. Replace types: [python] with types: [file].

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions