Enforce consistent Python imports with Ruff #31

Closed
opened 2026-11-25 10:06:43 -05:00 by mike-bot · 0 comments
Collaborator

Python imports are currently ordered and grouped by hand. Use Ruff’s isort (I) rules to give contributors a single, automatically fixable import style.

Acceptance criteria:

  • Target Python 3.12, recognize transcribe_meetings as first-party, and use one imported name per from import.
  • Check the package, its tests, and dev-scripts/check-python-runtime.py with the same configuration.
  • Normalize existing imports. The flake.nix lint check should pass on the normalized tree and report a deliberately misordered import without rewriting files. Supply Ruff as a Nix build input and use --no-cache for the read-only source tree.
Python imports are currently ordered and grouped by hand. Use Ruff’s isort (`I`) rules to give contributors a single, automatically fixable import style. Acceptance criteria: - Target Python 3.12, recognize `transcribe_meetings` as first-party, and use one imported name per `from` import. - Check the package, its tests, and `dev-scripts/check-python-runtime.py` with the same configuration. - Normalize existing imports. The `flake.nix` lint check should pass on the normalized tree and report a deliberately misordered import without rewriting files. Supply Ruff as a Nix build input and use `--no-cache` for the read-only source tree.
mike closed this issue 2026-11-25 10:39:03 -05:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
oe/transcribe-meetings#31
No description provided.