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: enable some more lints #160

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Conversation

DaniPopes
Copy link
Contributor

These are copied from Foundry. I've not enabled them all, even if mostly auto-fixable, to not be too invasive because as I understand you're working on a big refactor for 0.4.0.

@@ -72,8 +72,8 @@ pub struct GitDependency {
pub rev: Option<String>,
}

impl core::fmt::Display for GitDependency {
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason for changing core::fmt to std::fmt? The latter is a re-export

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I prefer using std when possible, and core/alloc when no_std is enabled

@beeb
Copy link
Contributor

beeb commented Aug 25, 2024

I understand you're working on a big refactor for 0.4.0.

Yes! Happy to see some more lints, I activated them on my refactor branch too. I'm rewriting all the tests at the moment because they are way too slow and mutate some checked files of the repo which is annoying. A lot of tests are run serially too which is not great. Finally, some tests which should not be async are marked async which is also suboptimal.

@mario-eth mario-eth merged commit 4490551 into mario-eth:main Aug 26, 2024
5 checks passed
@DaniPopes DaniPopes deleted the more-lints branch August 26, 2024 07:39
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