-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
astral-sh/ruff
#22243Labels
configurationRelated to settings and configurationRelated to settings and configuration
Milestone
Description
Summary
I have a standalone script scripts/run in my project that I want to typecheck along with the main project code.
So I have this in my pyproject.toml:
[tool.ty.src]
include = ["mypackage", "scripts/run"]However, the run script gets ignored. I'm assuming this is because of some filtering for *.py files in directories. I think that if the include is a file instead of a directory then it would be useful to include it as-is instead of filtering to allow this use case.
Interestingly it works fine if I explicitly run ty as ty check scripts/run.
Version
ty 0.0.7
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
configurationRelated to settings and configurationRelated to settings and configuration