Skip to content

Commit 427cd6c

Browse files
tode-rlclaude
andcommitted
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>
1 parent 498a24a commit 427cd6c

3 files changed

Lines changed: 14 additions & 6 deletions

File tree

AGENTS.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,17 @@ After making changes, run the linter again to catch any issues:
4444

4545
Fix any new errors or warnings that appear.
4646

47-
### 5. Run Tests
47+
### 5. Run Format
48+
49+
Apply code formatting to ensure consistent style:
50+
51+
```bash
52+
ruff format .
53+
```
54+
55+
This auto-formats all Python files to match the project's style guidelines.
56+
57+
### 6. Run Tests
4858

4959
Run the test suite to ensure everything works:
5060

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

62-
### 6. Commit Changes
72+
### 7. Commit Changes
6373

64-
Once lint and tests pass, commit your changes:
74+
Once lint, format, and tests pass, commit your changes:
6575

6676
```bash
6777
git add -A

src/runloop_api_client/resources/axons/axons.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@ def get_sequence(item: AxonEventView) -> str | None:
352352
)
353353

354354

355-
356355
class AsyncAxonsResource(AsyncAPIResource):
357356
@cached_property
358357
def sql(self) -> AsyncSqlResource:
@@ -668,7 +667,6 @@ def get_sequence(item: AxonEventView) -> str | None:
668667
)
669668

670669

671-
672670
class AxonsResourceWithRawResponse:
673671
def __init__(self, axons: AxonsResource) -> None:
674672
self._axons = axons

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)