Update README and docs to accurately describe the formatter/sorter tool#7
Merged
Jamie-BitFlight merged 2 commits intomainfrom Mar 7, 2026
Merged
Conversation
Co-authored-by: Jamie-BitFlight <25075504+Jamie-BitFlight@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add standard formatter and sorter for pyproject.toml
Update README and docs to accurately describe the formatter/sorter tool
Mar 6, 2026
There was a problem hiding this comment.
Pull request overview
Updates the project’s user-facing documentation to replace scaffold/placeholder examples with accurate pypfmt usage and configuration details, aligning README and MkDocs landing page with the implemented CLI and config system.
Changes:
- Replace placeholder CLI content with documented modes (
fix,--check,--diff, stdin/stdout, multi-file). - Add pre-commit integration instructions and
[tool.pypfmt]configuration examples. - Document default “opinionated” ordering/sorting behaviors in a concise reference table.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| README.md | Expands and corrects usage/configuration docs (CLI modes, pre-commit, config reference, defaults). |
| docs/index.md | Mirrors README-style accurate usage/configuration docs for the MkDocs landing page. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Jamie-BitFlight
approved these changes
Mar 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
README and
docs/index.mdcontained scaffold placeholder content (pypfmt hello World) that didn't reflect the implemented tool.Changes
--check,--diff,--check --diff, stdin/stdout, multi-file[tool.pypfmt]configuration reference —sort-first,extend-sort-first, per-table overrides, taplo options, comment handlingpytest.ini_options.addoptsis positional — preserved as-is;classifiersanddependenciesare sorted alphabetically)Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
astral.sh/usr/bin/curl curl -LsSf REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.