Skip to content

Fix Ruff lint errors - #13

Merged
Nanahuse merged 2 commits into
feature/pathlib-path-supportfrom
codex/ruff-lint-cleanup
Aug 7, 2026
Merged

Nanahuse merged 2 commits into
feature/pathlib-path-supportfrom
codex/ruff-lint-cleanup

Conversation

@Nanahuse

@Nanahuse Nanahuse commented Aug 6, 2026

Copy link
Copy Markdown
Owner

What changed

  • Resolve the existing Ruff violations across the wrapper and its tests.
  • Refactor command construction into small private helpers while preserving the public API and behavior.
  • Add type annotations, modernize path handling, and move blocking manual-test file writes off the event loop.
  • Move Ruff per-file ignores to the current configuration key.

Why

The repository's select = ["ALL"] Ruff configuration reported 97 existing lint errors, including complexity, annotation, pathlib, async file I/O, and deprecated configuration findings.

Impact

No public API, runtime dependency, or intended behavior changes. The codebase now passes the configured Ruff checks.

Validation

  • uv run ruff check .
  • uv run pytest -q (8 passed)
  • git diff --check

@Nanahuse
Nanahuse marked this pull request as ready for review August 7, 2026 01:15
@Nanahuse
Nanahuse merged commit e329688 into feature/pathlib-path-support Aug 7, 2026
1 check 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