Skip to content

docs: add clearer pyproject configuration guidance#5026

Merged
cobaltt7 merged 2 commits intopsf:mainfrom
mitre88:codex/issue-2487-pyproject-config-guidance
Mar 8, 2026
Merged

docs: add clearer pyproject configuration guidance#5026
cobaltt7 merged 2 commits intopsf:mainfrom
mitre88:codex/issue-2487-pyproject-config-guidance

Conversation

@mitre88
Copy link
Contributor

@mitre88 mitre88 commented Mar 5, 2026

Description

This PR improves the pyproject.toml configuration section by clarifying how CLI options map to [tool.black], calling out that non-configurable options are explicitly marked in the option reference, and adding a more complete template example for common setup patterns.

Fixes #2487

Checklist

  • Implement any code style changes under the --preview style, following the stability policy?
  • Add an entry in CHANGES.md if necessary?
  • Add / update tests if necessary?
  • Add new / update outdated documentation?

@cobaltt7 cobaltt7 added the ci: skip news Pull requests that don't need a changelog entry. label Mar 5, 2026
@cobaltt7 cobaltt7 merged commit 69705de into psf:main Mar 8, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci: skip news Pull requests that don't need a changelog entry.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exhaustive pyproject.toml example config section in the documentation

2 participants