Skip to content

Fix Ruff baseline errors in src/pet/cli.py #136

@gcomneno

Description

@gcomneno

Track and fix existing Ruff baseline errors in src/pet/cli.py.

Observed on main after PR #135:

  • F401 unused import: heapq
  • F401 unused import: collections.Counter
  • F401 unused import: collections.deque
  • F401 unused import: minimal_shape_representative
  • F401 unused import: shape_generator_from_factorization
  • F821 undefined name: to_jsonable

Scope:

  • Keep this separate from guarded redirect work.
  • Fix warnings surgically.
  • Avoid broad formatting or large CLI refactors.
  • Verify whether to_jsonable is a real bug, dead code, or missing import/helper.
  • Add or run targeted tests for touched CLI paths.

Boundary:

  • No large src/pet/cli.py reformat.
  • No unrelated CLI behavior changes.
  • No broad refactor unless split into a separate issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions