Is there an existing issue for this?
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].
Is there an existing issue for this?
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].