Wrap documentation at 100 characters (#5635)

Basically sick of dealing with mixed formatting here. Going with the
number at
7c08e61b73/.editorconfig (L20)
This commit is contained in:
Zanie Blue 2024-07-30 18:17:58 -04:00 committed by GitHub
parent b081425a77
commit f971631adf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 791 additions and 505 deletions

View file

@ -109,7 +109,8 @@ steps:
run: uv python install ${{ matrix.python-version }}
```
Alternatively, the official GitHub `setup-python` action can be used. This is generally faster, but will not respect the project's pinned Python version.
Alternatively, the official GitHub `setup-python` action can be used. This is generally faster, but
will not respect the project's pinned Python version.
```yaml title="example.yml"
steps:
@ -121,7 +122,8 @@ steps:
## Syncing and running
Once uv and Python are installed, the project can be installed with `uv sync` and commands can be run in the environment with `uv run`:
Once uv and Python are installed, the project can be installed with `uv sync` and commands can be
run in the environment with `uv run`:
```yaml title="example.yml"
steps:
@ -137,7 +139,9 @@ steps:
## Using `uv pip`
If using the `uv pip` interface instead of the uv project interface, uv requires a virtual environment by default. To allow installing packages into the system environment, use the `--system` flag on all `uv` invocations or set the `UV_SYSTEM_PYTHON` variable.
If using the `uv pip` interface instead of the uv project interface, uv requires a virtual
environment by default. To allow installing packages into the system environment, use the `--system`
flag on all `uv` invocations or set the `UV_SYSTEM_PYTHON` variable.
### Setting `UV_SYSTEM_PYTHON`
@ -178,7 +182,8 @@ steps:
UV_SYSTEM_PYTHON: 1
```
Now, `uv pip` can modify the system environment without creating and activating a virtual environment.
Now, `uv pip` can modify the system environment without creating and activating a virtual
environment.
```yaml title="example.yml"
steps: