Skip to content

Infra: update linting/formatting for non-peps/ dirs - #5121

Open
hugovk wants to merge 5 commits into
python:mainfrom
hugovk:ruff-check-release_management
Open

Infra: update linting/formatting for non-peps/ dirs#5121
hugovk wants to merge 5 commits into
python:mainfrom
hugovk:ruff-check-release_management

Conversation

@hugovk

@hugovk hugovk commented Sep 9, 2026

Copy link
Copy Markdown
Member

I find it confusing we run Black on some dirs, and the Ruff formatter on others, and no formatter on others.

Similarly, we Ruff lint some dirs, and not others.

Let's pick just one formatter, and apply to all directories (except peps/). I picked Black, but don't mind using Ruff instead.

And let's also lint all dirs (except peps/).

Finally, combine the two .ruff.toml files into a top-level pyproject.toml, and add a couple of lint rules.

@hugovk hugovk added the infra Core infrastructure for building and rendering PEPs label Sep 9, 2026
@hugovk
hugovk requested review from a team, AA-Turner and CAM-Gerlach as code owners September 9, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra Core infrastructure for building and rendering PEPs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants