Skip to content

style: apply ruff formatting across all source files - #58

Merged
tmgbedu merged 6 commits into
mainfrom
style/ruff-formatting
May 20, 2026
Merged

style: apply ruff formatting across all source files#58
tmgbedu merged 6 commits into
mainfrom
style/ruff-formatting

Conversation

@tmgbedu

@tmgbedu tmgbedu commented May 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Run ruff format src/ to enforce consistent code style on 144 files
  • No logic changes — whitespace, blank lines, and quote normalization only
  • All lint checks (ruff check) continue to pass

Test plan

  • Verify ruff format --check src/ reports no changes
  • Verify ruff check src/ passes clean
  • Run uv run pytest tests/ — pre-existing failures (postgres connectivity) are unrelated to this change

🤖 Generated with Claude Code

tmgbedu and others added 6 commits May 19, 2026 15:32
Run `ruff format src/` to enforce consistent code style on 144 files.
No logic changes — whitespace, blank lines, and quote normalization only.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove F401 unused imports across tests/
- Change postgres docker port to 15432 to avoid conflict with OrbStack
- Make postgres port configurable via POSTGRES_PORT env var in tests
- Add ruff lint check step to bin/test.sh

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…st.sh

Format 25 test files that were missed in the initial formatting pass.
Also add `ruff format --check` alongside `ruff check` in bin/test.sh
so CI catches both lint and formatting violations.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add asyncpg, aiosqlite, aiomysql, sqlalchemy, and fastapi to the dev
dependency group so all tests can run without manually installing extras.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Set POSTGRES_PORT=15432 to match the docker-compose port mapping (15432:5432).
Also add --extra postgres to uv sync so asyncpg is installed in CI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tmgbedu
tmgbedu merged commit c074fea into main May 20, 2026
3 checks passed
@tmgbedu
tmgbedu deleted the style/ruff-formatting branch May 21, 2026 20:18
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.

1 participant