Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the stable comment #18

Merged
merged 4 commits into from
Dec 19, 2023
Merged

the stable comment #18

merged 4 commits into from
Dec 19, 2023

Conversation

arnetheduck
Copy link
Owner

These changes allow nph to maintain formatting stability between one run and the other - important when formatting all of a codebase before committing to git so that we don't get spurious reformats.

  • better support for doc-comment-only statement lists
  • more empty line stability fixes
  • support comments in nkidentdefs symbol lists
  • check for formatting instability in CI
  • format all given files even if some formatting fails

These changes allow `nph` to maintain formatting stability between one
run and the other - important when formatting all of a codebase before
committing to git so that we don't get spurious reformats.

* better support for doc-comment-only statement lists
* more empty line stability fixes
* support comments in nkidentdefs symbol lists
* check for formatting instability in CI
* format all given files even if some formatting fails
@arnetheduck arnetheduck merged commit 60ed312 into master Dec 19, 2023
6 checks passed
@arnetheduck arnetheduck deleted the stability branch December 19, 2023 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant