Skip to content

Commit

Permalink
Update Python uv virtualenv e requirements.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipebros authored Oct 28, 2024
1 parent cc7f69c commit 92cdd0b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Python uv virtualenv e requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ uv add --dev ipdb
```bash
uv run python hello.py
```
ou simplesmente
```bash
uv run hello.py
```
```bash
uv run python -V
```
Expand All @@ -105,3 +109,13 @@ Instalando e gerenciando o próprio Python.
- `uv python find`: Encontre uma versão instalada do Python.
- `uv python pin`: Fixe o projeto atual para usar uma versão específica do Python.
- `uv python uninstall`: Desinstale uma versão do Python.

## Para instalar uma ferramenta a ser usada em todo o computador
```bash
uv tool install ruff
```

## Para executar uma ferramenta em qualquer pasta
```bash
uvx ruff
```

0 comments on commit 92cdd0b

Please sign in to comment.