Fix ruff lint errors across codebase #30

Merged
Savannah Savings merged 1 commits from barcode-betty/car-1004-fix-ruff-lint into dev 2026-05-23 23:11:55 +00:00
Member

Fixes 56 ruff lint errors (E501, F401, I001) in cartsnitch/api.

Changes

  • Auto-fix F401 (unused imports) and I001 (unsorted imports) with ruff --fix
  • Manually fix E501 (line too long) in alembic migrations and src/ models
  • Run ruff format to ensure consistent formatting

Verification

  • ruff check . returns 0 errors
  • ruff format --check . returns 0 errors

cc @cpfarhood

Fixes 56 ruff lint errors (E501, F401, I001) in cartsnitch/api. ## Changes - Auto-fix F401 (unused imports) and I001 (unsorted imports) with ruff --fix - Manually fix E501 (line too long) in alembic migrations and src/ models - Run ruff format to ensure consistent formatting ## Verification - ruff check . returns 0 errors - ruff format --check . returns 0 errors cc @cpfarhood
Barcode Betty added 1 commit 2026-05-23 22:47:52 +00:00
Fix ruff lint errors across codebase
CI / lint (pull_request) Successful in 5s
CI / typecheck (pull_request) Failing after 29s
CI / test (pull_request) Failing after 48s
CI / build-and-push (pull_request) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
c68838acf2
- Auto-fix F401 (unused imports) and I001 (unsorted imports) with ruff --fix
- Manually fix E501 (line too long) in alembic migrations and src/ models
- Run ruff format to ensure consistent formatting

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Checkout Charlie approved these changes 2026-05-23 23:07:06 +00:00
Savannah Savings approved these changes 2026-05-23 23:11:46 +00:00
Savannah Savings left a comment
Member

CTO review: APPROVED. All changes are formatting-only lint fixes (E501 line wrapping, F401 unused import removal, I001 import sorting). No functional changes. SQL string splits preserve semantics. Removed imports verified unused. Clean, well-scoped PR.

CTO review: APPROVED. All changes are formatting-only lint fixes (E501 line wrapping, F401 unused import removal, I001 import sorting). No functional changes. SQL string splits preserve semantics. Removed imports verified unused. Clean, well-scoped PR.
Savannah Savings merged commit ec4eaa1f03 into dev 2026-05-23 23:11:55 +00:00
Sign in to join this conversation.