Skip to content

[FR] Enable automatic pre-commit checks in workflows #4850

Open
@shenxianpeng

Description

@shenxianpeng

What's the problem this feature will solve?

I noticed that setuptools has a .pre-commit-config.yml file in the repository, but it doesn’t seem to be executed in any workflow.

Describe the solution you'd like

Perhaps could integrate pre-commit.ci to run pre-commit checks automatically, ensuring consistency and catching issues early.

Alternative Solutions

add a new [testenv:lint] to tox.ini or add a new step to .github/workflow/main.yml

Additional context

No response

Code of Conduct

  • I agree to follow the PSF Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs TriageIssues that need to be evaluated for severity and status.enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions