-
Notifications
You must be signed in to change notification settings - Fork 74
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
Add cargo clippy checks #22
Comments
@morenol I am going to close this issue since you have covered most basic checks. Let me know if you want to keep it open. |
These are the warning that we are ignoring right now in lib.rs
What do you think about them? Maybe we can move that from lib.rs to the specific places where we have those lint errors and while doing that we can fix some of them, so far I have a branch all the places where clippy::needless_range_loop is happening but not sure if we should fix them or just ignore them. |
I think ignoring these warning is fine for now. From my point of view a lot of these problems can be ignored, like |
perfect, then I will fix them. I also fixed some of the places where ptr_arg was appearing, I will create a PR with that |
Fix cargo clippy warnings and add to the CI something that checks for that.
There is a cargo clippy --fix command that can solve some of the warnings, that could be used at the beginning.
The instructions to run cargo clippy are:
The text was updated successfully, but these errors were encountered: