Enforce a consistent Python import order #38

Merged
mike merged 1 commit from mike-bot/enforce-ruff-imports into master 2026-11-25 10:39:03 -05:00 AGit
Collaborator

Ruff now enforces the same import style across the Python package, its tests, and the runtime check. It targets Python 3.12, treats transcribe_meetings as first-party, and expects one name per from import.

The flake lint check uses the shared configuration without writing fixes or caching on the read-only source. Contributors can use Ruff from the Nix development shell to fix import order automatically.

Fixes #31

Ruff now enforces the same import style across the Python package, its tests, and the runtime check. It targets Python 3.12, treats `transcribe_meetings` as first-party, and expects one name per `from` import. The flake lint check uses the shared configuration without writing fixes or caching on the read-only source. Contributors can use Ruff from the Nix development shell to fix import order automatically. Fixes #31
Enforce a consistent Python import order
All checks were successful
ci/crow/pr/build Pipeline was successful
a522d63c97
Contributors previously grouped and sorted Python imports by hand.

Ruff now checks import order for the application, tests, and runtime
check and can fix violations automatically from the development shell.
One shared configuration preserves the existing lint rules for all
three scopes.

Fixes #31

AI-Model: openai/gpt-6.2-sol-fast
mike-bot changed title from Enforce a consistent Python import order to WIP: Enforce a consistent Python import order 2026-11-25 10:37:13 -05:00
mike-bot changed title from WIP: Enforce a consistent Python import order to Enforce a consistent Python import order 2026-11-25 10:38:11 -05:00
mike merged commit 0ee8be080c into master 2026-11-25 10:39:03 -05:00
Sign in to join this conversation.
No reviewers
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!38
No description provided.