Skip to content

fix(ci): Iterable from collections.abc + isort#73

Merged
phitoduck merged 1 commit into
mainfrom
fix-ci-iterable-import
Jun 13, 2026
Merged

fix(ci): Iterable from collections.abc + isort#73
phitoduck merged 1 commit into
mainfrom
fix-ci-iterable-import

Conversation

@phitoduck

Copy link
Copy Markdown
Owner

Fixes the ruff failures that kept CI red on main after PR #62 and #72.

UP035 [*] Import from `collections.abc` instead: `Iterable`
  --> src/lose_it/backup/_upsert.py:33

Also a follow-on I001 (import block un-sorted) auto-fixed by ruff --fix.

uv run ruff check . → clean. Test suite stays at 276/276 green. Version bumped 0.8.0 → 0.8.1.

Two ruff failures kept CI red on main after the delete-safeguards
merge (PR #62) and the path-consolidation merge (PR #72):

  - UP035: src/lose_it/backup/_upsert.py imported Iterable from typing.
    Pyupgrade rule says use collections.abc.Iterable.
  - I001: after the swap, the import block became un-sorted.

Both fixed; ruff check is now clean. Tests stay at 276/276.
@phitoduck phitoduck force-pushed the fix-ci-iterable-import branch from 1c7e368 to beb2877 Compare June 13, 2026 02:40
@phitoduck phitoduck merged commit 2bbac47 into main Jun 13, 2026
1 of 2 checks passed
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