We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to migrate to uv, and my actual project is under an "app/" folder, and we use python -m app.main.py to run it.
How can I achieve the same command using uv?
The text was updated successfully, but these errors were encountered:
Generally, you'd use uv run python -m app/main.py — does that work for you?
uv run python -m app/main.py
Sorry, something went wrong.
Related #6638
Adding onto this - how would I generate coverage when running pytest? When using poetry I'd do poetry run coverage run -m pytest tests/ .
poetry run coverage run -m pytest tests/
It'd be the same, but with uv run instead of poetry run.
uv run
poetry run
Yes it works! sorry for not seeing the related github issue before
No branches or pull requests
I want to migrate to uv, and my actual project is under an "app/" folder, and we use python -m app.main.py to run it.
How can I achieve the same command using uv?
The text was updated successfully, but these errors were encountered: