-
Notifications
You must be signed in to change notification settings - Fork 2.3k
fix: Backport fmt and script fixes to v1.4.4 #12272
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
Merged
grandizzy
merged 21 commits into
foundry-rs:release-1.4.0
from
grandizzy:backport-v1.4.4
Oct 30, 2025
Merged
fix: Backport fmt and script fixes to v1.4.4 #12272
grandizzy
merged 21 commits into
foundry-rs:release-1.4.0
from
grandizzy:backport-v1.4.4
Oct 30, 2025
Conversation
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
…-rs#12241) * fix(fmt): only print trailing cmnts in opening brace when block is not empty * doc: link issue --------- Co-authored-by: grandizzy <[email protected]>
* fix(fmt): preserve indexed callee when it fits * style: typos
* fix(forge): fix dynamic gas limit check * add repro
74d4879 to
531cb73
Compare
chore: redact part of traces for p256 precompile test
531cb73 to
246556c
Compare
fix: update progress on rejected runs
* feat(fmt): force doc comment styling * tests: add unit tests * style: clippy + comments * fix: default config test
…rs#12281) * fix: indentation in operator exprs with parentheses * docs: new param * feat: prefer_compact * fix: test * style: typo * fix: default config test * Fix wrap comments test * fix: emit and revert --------- Co-authored-by: grandizzy <[email protected]>
…s#12294) chore: default all for prefer_compact fmt
…ne line (foundry-rs#12303) * add single_line_imports option to keep single imports on one line * update readme * add tests for single_line_imports feature + fmt * fix clippy and simplify the code * fix test failed * fix: simplify --------- Co-authored-by: 0xrusowsky <[email protected]> Co-authored-by: grandizzy <[email protected]>
fix(fmt): asm inline if stmt
* fix(fmt): only indent wrapped trailing cmnts which are line cmnts * style: flip --------- Co-authored-by: grandizzy <[email protected]>
* chore: use drpc arb * Use other
* fix(fmt): properly calc fn header size * docs: add more cmnts * fix: revert bun.lock changes
…12350) * fix(fmt): properly calc fn header size * docs: add more cmnts * fix: revert bun.lock changes * test: estimate_header_size * simplify tests * style: clippy
…dry-rs#12359) * fix(fmt): always break consistently in calls with opts and args * more tests * test: simplify
0xrusowsky
approved these changes
Oct 30, 2025
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.
Motivation
Backport
Other:
allforprefer_compactfmt config #12294nonevariant #12298Solution
PR Checklist