Skip to content

chore(ci): put sdk/ under the ruff lint+format gate - #167

Merged
brownjuly2003-code merged 1 commit into
mainfrom
chore/s1-sdk-lint-gate
Jul 9, 2026
Merged

chore(ci): put sdk/ under the ruff lint+format gate#167
brownjuly2003-code merged 1 commit into
mainfrom
chore/s1-sdk-lint-gate

Conversation

@brownjuly2003-code

Copy link
Copy Markdown
Owner

Why

Audit audit_07_07_26.md F1: ci.yml linted src/ tests/ scripts/ but not sdk/ — the package we publish to PyPI was gated weaker than internal source. Three SDK files had accumulated format drift (async_client.py, cli.py, client.py).

What

  • ci.yml: sdk/ added to ruff check and ruff format --check.
  • One-off ruff format sdk/ — pure line-collapse to the repo's 100-char limit, no behaviour change.
  • Makefile lint/format: aligned to src/ tests/ scripts/ sdk/ so make lint reproduces CI.

Verify

ruff check src/ tests/ scripts/ sdk/ → clean · ruff format --check ... → 371 files already formatted.

Closes F1 of the 07.07 audit (plan plan_07_07_26.md, S1).

🤖 Generated with Claude Code

The published PyPI package was gated weaker than src/: ci.yml ran ruff
only over src/tests/scripts, so sdk/ accumulated format drift
(async_client.py, cli.py, client.py). Add sdk/ to both ruff steps and
apply the one-off `ruff format sdk/`. Makefile lint/format targets get
scripts/ and sdk/ too, so `make lint` now matches CI exactly.

Formatting-only for the SDK sources; no behaviour change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

DORA Metrics

  • Window: last 30 days
  • Branch: main
  • Deployment frequency: 90 total / 21.0 per week
  • Lead time for changes: avg 0.44h / median 0.0h
  • Change failure rate: 60.0% (54/90)
  • MTTR: n/a across 0 incident(s)

MTTR note: No failed mainline CI runs in the selected window.

@brownjuly2003-code
brownjuly2003-code merged commit fa166f5 into main Jul 9, 2026
20 checks passed
@brownjuly2003-code
brownjuly2003-code deleted the chore/s1-sdk-lint-gate branch July 9, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants