-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Allow most low-info clippy warnings #1419
Allow most low-info clippy warnings #1419
Conversation
Many clippy warnings are not very informative or are unlikely to be usefully fixed any time soon. Allow them so that the remainder which constitute a problem actually stand out and can be fixed.
clippy::missing_safety_doc, | ||
clippy::too_many_arguments, | ||
clippy::type_complexity, | ||
clippy::unnecessary_cast |
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.
We just have way too many cases of "unnecessary casts", due to constant refactoring of some gnarly casts, to bother linting on this.
@@ -7,6 +7,7 @@ | |||
//LICENSE All rights reserved. | |||
//LICENSE | |||
//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file. | |||
#![allow(clippy::assign_op_pattern)] |
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.
This is the entire point of this example, Clippy...
clippy::len_without_is_empty, | ||
clippy::missing_safety_doc, | ||
clippy::too_many_arguments, | ||
clippy::type_complexity, |
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.
This happens basically whenever you have a callback function in your arguments.
https://www.youtube.com/watch?v=Kvnwnf9UftA With this and the upcoming branch I'm working on, pgrx-sql-entity-graph is clippy-clean on stable. |
Many clippy warnings are not very informative or are unlikely to be usefully fixed any time soon. Allow them so that the remainder which constitute a problem actually stand out and can be fixed.