Skip to content

Commit ddaa4fa

Browse files
enaplesScuttoZ
authored andcommitted
reckless: add uv run shebang
1 parent 258faac commit ddaa4fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/reckless

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ def check_for_shebang(source: InstInfo) -> bool:
11511151
if entrypoint_file.split('\n')[0].startswith('#!'):
11521152
# Calling the python interpreter will not manage dependencies.
11531153
# Leave this to another python installer.
1154-
for interpreter in ['bin/python', 'env python']:
1154+
for interpreter in ['bin/python', 'env python', 'uv run']:
11551155
if interpreter in entrypoint_file.split('\n')[0]:
11561156
return False
11571157
return True

0 commit comments

Comments
 (0)