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

Option to ignore warnings from dependencies in foundry.toml #69

Merged
merged 19 commits into from
Feb 9, 2024

Conversation

loocapro
Copy link
Contributor

@loocapro loocapro commented Feb 5, 2024

src/compile/output/mod.rs Outdated Show resolved Hide resolved
@loocapro loocapro requested a review from mattsse February 7, 2024 14:06
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, this is pretty close.

only have some style nitpicks

src/compile/output/mod.rs Outdated Show resolved Hide resolved
src/compile/output/mod.rs Outdated Show resolved Hide resolved
src/compile/output/mod.rs Outdated Show resolved Hide resolved
src/compile/output/mod.rs Outdated Show resolved Hide resolved
src/compile/output/mod.rs Outdated Show resolved Hide resolved
src/artifacts/mod.rs Outdated Show resolved Hide resolved
@loocapro loocapro requested review from DaniPopes and mattsse February 8, 2024 15:35
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

almost there :)

src/compile/output/mod.rs Outdated Show resolved Hide resolved
src/compile/output/mod.rs Outdated Show resolved Hide resolved
@loocapro loocapro marked this pull request as ready for review February 8, 2024 16:17
@loocapro loocapro requested a review from Evalir as a code owner February 8, 2024 16:17
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, let's add a simple test for this

todo:

add another test similar to this:

fn can_apply_libraries_with_remappings() {

The lib code should trigger a warning

configure ignored paths and check output diagnostic

src/artifacts/mod.rs Outdated Show resolved Hide resolved
src/compile/output/mod.rs Outdated Show resolved Hide resolved
src/compile/output/mod.rs Outdated Show resolved Hide resolved
src/artifacts/mod.rs Outdated Show resolved Hide resolved
src/compile/output/mod.rs Outdated Show resolved Hide resolved
tests/project.rs Outdated Show resolved Hide resolved
@loocapro loocapro requested review from DaniPopes and mattsse February 8, 2024 20:08
src/compile/output/mod.rs Show resolved Hide resolved
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mattsse mattsse merged commit c42032f into foundry-rs:main Feb 9, 2024
14 checks passed
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.

3 participants