| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Oh, no shebang update until astral-sh/ruff#13021, I'll revert those. |
Sorry, something went wrong.
|
Let's wait for #13597 (comment) to be resolved before merging this. (Edit: resolved now) |
Sorry, something went wrong.
|
I still don't like this. If someone wants to contribute a small fix to typeshed, e.g. stubs for a simple library, they shouldn't be thrown on a tangent about a tool named uv that they don't really even need to use.
I think it is safe to assume that anyone contributing to typeshed already knows how to run Python on their own system. Figuring out whether to put 3 in the command or not is much easier than learning about uv, even if uv is very simple and easy to use. |
Sorry, something went wrong.
Yeah my comment at #13597 (comment) will apply here as well
I'll update this PR python vs python3 and .venv vs .venv3 in doc: I guess more of an annoyance where it'd be nice if we were consistant. |
Sorry, something went wrong.
|
This PR is now only scoped to allowing using uv run without having to run --no-project every time. You may have reasons to not want to modify the pyproject.toml. In which case please voice them! (even if it's just "let's wait for uv to support this"). Since I'm fine with such a change. |
Sorry, something went wrong.
Co-authored-by: Akuli <akuviljanen17@gmail.com>
| Back | FazBrowse Home | New Git URL |
This enables running uv run without having to add --no-project every time. Until astral-sh/uv#8666, this requires adding a [project] section to pyproject.toml and .gitignoring the uv.lock file.
Using uv run is optional. "medium to advanced" python users already know to activate their venv and use the right py/python/python3 command if they want to.
Contributors who want to use uv run but with a custom venv can do so with uv run --active. I use that on WSL with a .venv-linux venv.