Skip to content

Commit af0bd26

Browse files
committed
chore: update ruff commands to include version and no-project flag in CI and documentation
1 parent b84476f commit af0bd26

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ jobs:
3131
- name: Install dev dependencies
3232
run: uv sync --group dev --no-install-project
3333
- name: Ruff lint
34-
run: uv run ruff check .
34+
run: uv run --no-project --with ruff==0.11.4 ruff check .
3535
- name: Ruff format check
36-
run: uv run ruff format --check .
36+
run: uv run --no-project --with ruff==0.11.4 ruff format --check .
3737
- name: Validate stub parity
3838
run: uv run python scripts/check_stub_parity.py
3939

docs/getting-started/contributing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ uv run pre-commit install --hook-type pre-commit --hook-type commit-msg
1313
## Required Checks
1414

1515
```bash
16-
uv run ruff check .
17-
uv run ruff format --check .
16+
uv run --no-project --with ruff==0.11.4 ruff check .
17+
uv run --no-project --with ruff==0.11.4 ruff format --check .
1818
uv run python scripts/check_stub_parity.py
1919
```
2020

docs/getting-started/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ If output shows `TryxClient`, extension loading is successful.
5353
## Optional Tools
5454

5555
- `uv run mypy ...` or `pyright` for static type checks
56-
- `uv run ruff check .` for linting
56+
- `uv run --no-project --with ruff==0.11.4 ruff check .` for linting (no project build)
5757
- `uv run pytest` for integration test harnesses
5858
- `uv run pre-commit run --all-files` for local gate parity with CI
5959

0 commit comments

Comments
 (0)