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

chore(forge): enforce common::shell for forge crate #9231

Merged
merged 8 commits into from
Nov 4, 2024

Conversation

zerosnacks
Copy link
Member

@zerosnacks zerosnacks commented Oct 30, 2024

Motivation

Enforces common::shell as added in #9109 for the forge crate

Includes minor fix preferring prepending / appending \n in favor of an empty sh_println!()

Adds #[allow(clippy::disallowed_macros)] to test macros as preparation for enabled clippy enforcement allow you to still use println, etc.. in tests. In some specific cases you may need to add #[allow(clippy::disallowed_macros)] above helpers.

Solution

Splits out the enforcement of the common shell per binary / large crate to avoid huge diffs making reviews easier

@zerosnacks zerosnacks marked this pull request as ready for review October 31, 2024 10:53
@zerosnacks zerosnacks added the T-blocked Type: blocked label Nov 1, 2024
@zerosnacks
Copy link
Member Author

Tagging as blocked pending resolving of possible stalling issue #9244 (comment)

@zerosnacks zerosnacks marked this pull request as draft November 1, 2024 13:26
@zerosnacks zerosnacks removed the T-blocked Type: blocked label Nov 1, 2024
@zerosnacks
Copy link
Member Author

Stalling issue resolved by Dani in #9245

@zerosnacks zerosnacks marked this pull request as ready for review November 1, 2024 15:32
@zerosnacks zerosnacks assigned zerosnacks and unassigned zerosnacks Nov 4, 2024
@zerosnacks zerosnacks merged commit c3069a5 into master Nov 4, 2024
21 checks passed
@zerosnacks zerosnacks deleted the zerosnacks/enforce-common-shell-1 branch November 4, 2024 14:53
leovct pushed a commit to leovct/foundry that referenced this pull request Nov 6, 2024
…#9231)

* enforce common shell for forge crate

* revert clippy.toml

* fix tests

* avoid empty printlns

* fix missed eprint / print

* avoid style regression
rplusq pushed a commit to rplusq/foundry that referenced this pull request Nov 29, 2024
…#9231)

* enforce common shell for forge crate

* revert clippy.toml

* fix tests

* avoid empty printlns

* fix missed eprint / print

* avoid style regression
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

2 participants