Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
python-version: "3.14"

- name: Run ruff check
run: uvx ruff check src/
run: uvx ruff check src tests

pytest:
runs-on: ${{ matrix.os }}
Expand Down
4 changes: 2 additions & 2 deletions docs/local-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ generated metadata, then add the import and `_register()` call in

## 7. Run Lint / Basic Checks

CI enforces `ruff check src/` (see `.github/workflows/test.yml`), so run it locally before pushing:
CI enforces `ruff check src tests` (see `.github/workflows/test.yml`), so run it locally before pushing:

```bash
uvx ruff check src/
uvx ruff check src tests
```

You can also quickly sanity check importability:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

from tests.conftest import requires_bash
from tests.extensions.test_extension_agent_context import (
BASH,
POWERSHELL,
_bash_posix_path,
_run_bash_agent_context_script,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_github_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def test_returns_none_on_network_error(self):
@contextmanager
def failing_open(url, timeout=None, extra_headers=None):
raise urllib.error.URLError("network error")
yield # noqa: unreachable
yield # pragma: no cover

result = resolve_github_release_asset_api_url(
"https://github.com/org/repo/releases/download/v1/pack.zip",
Expand Down