Skip to content

Commit

Permalink
Add tip for using uv run --no-project
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Aug 22, 2024
1 parent 9ee52e4 commit ea4007b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/concepts/projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ $ # Running a `bash` script that requires the project to be available
$ uv run bash scripts/foo.sh
```

!!! tip

Use the `--no-project` option to avoid reading project files like the `pyproject.toml` and `uv.lock`.
`uv run --no-project` will still run commands in the `.venv` in the working directory.

### Running commands with additional dependencies

Additional dependencies or different versions of dependencies can be requested per invocation.
Expand Down

0 comments on commit ea4007b

Please sign in to comment.