uv run --script
should imply --no-project
#8764
Labels
needs-mre
Needs more information for reproduction
uv run --script
should imply --no-project
#8764
I'm running into a variation of #8666
I have some uv scripts that are just generic command line tools, not part of a project. If I run them inside a Python project that uses Poetry, though, I get
error: No
projecttable found in:
/Users/offby1/projects/autopub/autopub/pyproject.toml` errors constantly.I'm using the
--script
shebang:#!/usr/bin/env uv --script
I realize that I can add
--no-project
to it, but really, I think once you're using--script
there's a good argument to be made thatuv
should assume--no-project
The text was updated successfully, but these errors were encountered: