-
Notifications
You must be signed in to change notification settings - Fork 542
chore: fix clippy warnings on main #3264
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
Conversation
Signed-off-by: Andrew Lamb <[email protected]>
5885dbc to
5798fac
Compare
|
ACTION NEEDED delta-rs follows the Conventional Commits specification for release automation. The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification. |
| /// This will acquire the internal lock since it is a mutating operation! | ||
| pub fn load_version(&self, py: Python, version: i64) -> PyResult<()> { | ||
| py.allow_threads(|| { | ||
| #[allow(clippy::await_holding_lock)] |
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.
Clippy is complaining about this -- it might be a real issue, but I didn't want to mess with it is as part of this PR. This PR makes the situation better in my opinion, as now the clippy warning is explicit in the code
roeap
left a comment
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 for taking care of this @alamb!
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3264 +/- ##
==========================================
- Coverage 72.08% 72.07% -0.02%
==========================================
Files 143 143
Lines 45698 45701 +3
Branches 45698 45701 +3
==========================================
- Hits 32941 32937 -4
- Misses 10687 10689 +2
- Partials 2070 2075 +5 ☔ View full report in Codecov by Sentry. |
Description
Similarly to #3262 I would like to use compiler warnings and clippy locally to find places that need to be changed after DataFusion upgrade. This means I would to have main have a clean clippy run
I just did what clippy told me to mostly
Related Issue(s)
46.0.0apache/datafusion#14123Documentation