You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Shebang #!/usr/bin/env -S uv run bash incorrectly detected as python #512
I have a bash script scripts/test which is incorrectly detected as python by tags_from_path. It uses uv to run inside a virtualenv and automatically install dependencies. It is not a python script.
#!/usr/bin/env -S uv run --group test bash# shellcheck shell=bashset -euo pipefail
set -x
coverage run -m pytest "$@"
coverage report ||true
coverage xml ||true
This is causing pre-commit to run hooks for python.
Activity
warsawnv commentedon Jan 20, 2026
Was this reverted because it won't/can't be fixed?
asottile commentedon Jan 20, 2026
click on the linked issues and find out!