Skip to content

Chore: Add code formatting in CI#9

Closed
antoinehng wants to merge 5 commits into
basalt-ai:legacy/v0from
antoinehng:chore-improve-code-formatting
Closed

Chore: Add code formatting in CI#9
antoinehng wants to merge 5 commits into
basalt-ai:legacy/v0from
antoinehng:chore-improve-code-formatting

Conversation

@antoinehng
Copy link
Copy Markdown

PR Description

This PR introduces automated code formatting checks to the project's CI workflow to ensure consistent style and readability across contributions.

Ruff (https://docs.astral.sh/ruff/) was selected for this task due to its excellent performance, ease of configuration, and comprehensive support for modern Python features.

These improvements will help maintain code quality and streamline future contributions.

Closes #8

Changes included:

  • Code Checks Workflow: Implemented a new GitHub Actions workflow dedicated to code style checks using Ruff formatting.

  • Python Version Update: Added Python 3.13 to the CI test matrix.

  • Test Summary Fixes:

    • Fixed the failing Tests summary comment.
    • Corrected the "run count" displayed in the Tests summary comment.

CleanShot 2025-05-02 at 17 36 29@2x

The additional fixes (Python version update and test summary comments) are "boyscout" changes. While it's generally better practice to separate distinct improvements into multiple PRs, these were included here to achieve a fully passing (green) CI workflow.

@MarquisG MarquisG deleted the branch basalt-ai:legacy/v0 December 8, 2025 09:55
@MarquisG MarquisG closed this Dec 8, 2025
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.

Add Code Style Checks with Ruff Formatter

2 participants