-
Notifications
You must be signed in to change notification settings - Fork 20
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
Cleanup (clippy warnings) #47
Conversation
Please don't rename the files to mod.rs, mod.rs makes the code organization more unclear and less easy to grep through (though it's not a problem with this repo). |
While I like the idea of fixing these lints, the problem is that we will never run with pedantic in a CI situation since we will only ever check for the lints specified in the lib.rs file, but I suppose this is fine as a one time change. |
hmmm.. I noticed that pedantic takes quite some more time to run then your clippy settings.. is it because of this? |
I undid the renames to |
We have our own set of lints that are informed by our practical experience in real codebases. We do use specific lints from the
Yes, it is generated from the update program. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
thank you! :-) |
Build.rs would be run for all builds that depend on this project, which (in this case) is also doing network calls, which are something that should never be done during a build. The SPDX list is only updated a few times a year, so it's vastly easier to just update it manually. |
Almost all of these changes were suggested by:
Exceptions: