Skip to content

discrepancy between local pre-commit and CI's codeformat #8683

@Borda

Description

@Borda

I’ve noticed that the current CI linting process sometimes diverges from the local pre-commit configuration, leading to inconsistencies in tool versions and ignore patterns (as seen in this recent run).

To ensure better parity between local development and CI, I suggest consolidating the linting steps to rely solely on the repository's pre-commit configuration. By running pre-commit directly in the CI pipeline, we can ensure that the exact same versions and rules are applied everywhere. This would simplify the contributor experience and make the linting results much more predictable.

I am happy to help update the GitHub Action workflows to implement this consolidation if the team is open to the idea!

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