ruff builtins not working with shebangs #1146
Unanswered
whatisaphone
asked this question in
Troubleshooting and Bug Reports
Replies: 1 comment
|
Thanks for the detailed repro — confirmed. Both Ruff builtins were still filtering exclusively with I switched AI-assisted — Tool: Codex; model: unavailable/unavailable; version: unavailable. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The builtins "ruff" and "ruff_format" should use
type = "python", rather than globs, so that extensionless files with shebangs are detected.Repro
mise.toml:
hk.pkl:
Steps:
Expected result
Both
x.pyandyshould be formattedActual result
Only
x.pyis formattedAll reactions