Skip to content

Modernize: Format code with ruff and fix Python version#52

Merged
alingse merged 3 commits intomasterfrom
format/ruff-format
Feb 10, 2026
Merged

Modernize: Format code with ruff and fix Python version#52
alingse merged 3 commits intomasterfrom
format/ruff-format

Conversation

@alingse
Copy link
Owner

@alingse alingse commented Feb 10, 2026

Summary

This PR modernizes the codebase with formatting and documentation improvements:

  • Format code with ruff: Apply ruff formatting to standardize code style across 9 files
  • Fix README: Update Python version requirement from 3.8 to 3.11+ to align with pyproject.toml

Changes

  • Formatted 9 files using uv ruff format (120 insertions, 152 deletions)
  • Updated README.md Requirements section to reflect Python 3.11+ requirement

Test plan

  • Code passes ruff format check
  • All existing tests pass
  • Documentation is consistent with project configuration

Apply ruff formatting to standardize code style across the project.
Align README with pyproject.toml which requires Python 3.11+.
The previous documentation incorrectly stated Python 3.8 or higher.
Add `ruff format --check` to verify code formatting in CI.
This ensures all code follows the project's formatting standards.
@alingse alingse merged commit 900a857 into master Feb 10, 2026
6 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