Browse Source

Add uv at the beginning of installation instruction

tags/v0.3.10^2
haixuantao haixuanTao 11 months ago
parent
commit
8617357fe4
2 changed files with 8 additions and 7 deletions
  1. +3
    -3
      .github/workflows/ci.yml
  2. +5
    -4
      binaries/cli/src/template/python/__node-name__/README.md

+ 3
- 3
.github/workflows/ci.yml View File

@@ -317,9 +317,9 @@ jobs:
cd test_python_project

# Check Compliancy
ruff check .
pip install -e ./*/
pytest
uv pip install -e ./*/
uv run ruff check .
uv run pytest

export OPERATING_MODE=SAVE
dora up


+ 5
- 4
binaries/cli/src/template/python/__node-name__/README.md View File

@@ -5,7 +5,8 @@
- Install it with pip:

```bash
pip install -e .
uv venv -p 3.11 --seed
uv pip install -e .
```

## Contribution Guide
@@ -13,19 +14,19 @@ pip install -e .
- Format with [ruff](https://docs.astral.sh/ruff/):

```bash
ruff check . --fix
uv run ruff check . --fix
```

- Lint with ruff:

```bash
ruff check .
uv run ruff check .
```

- Test with [pytest](https://github.com/pytest-dev/pytest)

```bash
pytest . # Test
uv run pytest . # Test
```

## YAML Specification


Loading…
Cancel
Save