Skip to content

Commit

Permalink
Add tip for using managed = false to disable project management
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Aug 22, 2024
1 parent 9ee52e4 commit 919444a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/concepts/projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ project dependencies, use `uv add` to add a package to the environment. For one-
use [`uvx`](../guides/tools.md) or
[`uv run --with`](#running-commands-with-additional-dependencies).

!!! tip

If you don't want uv to manage the project environment, set [`managed = false`](../reference/settings.md#managed)
to disable automatic locking and syncing of the project. For example:

```toml title="pyproject.toml"
[tool.uv]
managed = false
```

## Lockfile

uv creates a `uv.lock` file next to the `pyproject.toml`.
Expand Down

0 comments on commit 919444a

Please sign in to comment.