Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
chore: apply code formatting and update workflow docs
- Run ruff format to fix code style in axons.py
- Update AGENTS.md to include format step in workflow
- Document that format should be run after lint and before tests

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
  • Loading branch information
tode-rl and claude committed Apr 2, 2026
commit 427cd6c559f614850ed528d856220d56d77698f7
16 changes: 13 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,17 @@ After making changes, run the linter again to catch any issues:

Fix any new errors or warnings that appear.

### 5. Run Tests
### 5. Run Format

Apply code formatting to ensure consistent style:

```bash
ruff format .
```

This auto-formats all Python files to match the project's style guidelines.

### 6. Run Tests

Run the test suite to ensure everything works:

Expand All @@ -59,9 +69,9 @@ uv run pytest tests/test_axon_sse_reconnect.py -xvs
uv run pytest tests/smoketests/ -m smoketest
```

### 6. Commit Changes
### 7. Commit Changes

Once lint and tests pass, commit your changes:
Once lint, format, and tests pass, commit your changes:

```bash
git add -A
Expand Down
2 changes: 0 additions & 2 deletions src/runloop_api_client/resources/axons/axons.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ def get_sequence(item: AxonEventView) -> str | None:
)



class AsyncAxonsResource(AsyncAPIResource):
@cached_property
def sql(self) -> AsyncSqlResource:
Expand Down Expand Up @@ -668,7 +667,6 @@ def get_sequence(item: AxonEventView) -> str | None:
)



class AxonsResourceWithRawResponse:
def __init__(self, axons: AxonsResource) -> None:
self._axons = axons
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading