Skip to content

Proposal: Add code formatting and pre-commit hooks to improve code consistency #3

@vegetablest

Description

@vegetablest

Currently, the repository does not seem to have a consistent code style, and there is no formatter or pre-commit hook configured.
I’d like to propose adding automatic formatting and pre-commit checks to make contributions more consistent and reduce unnecessary diffs.

Plan:

Apply a standard formatter (ruff format);

Add a .pre-commit-config.yaml;

Run a one-time global format (large diff, no logic changes).

Impact:

Large diff initially, but improves maintainability long-term.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions