pypa / pypa/setuptools

[FR] Enable automatic pre-commit checks in workflows

Open
#4,850 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Needs Triage
Dominant language
Python
Stars
2.9k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading .pre-commit-config.yml, tox.ini, and .github/workflow/main.yml to compare the proposed integration points. Determine which workflow or tox environment should run the existing checks, then verify that the chosen automation runs successfully and reports failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
build-system, ci-cd
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.