Skip to content

Conversation

@kevinjqliu
Copy link
Contributor

Which issue does this PR close?

Closes #1028

Rationale for this change

CI should fail if rust warnings are generated

What changes are included in this PR?

Add -D warnings to cargo clippy commands

Are there any user-facing changes?

Nope

@kevinjqliu
Copy link
Contributor Author

interestingly, -D warnings is set here

cargo clippy --all-targets --workspace --features default -- -D warnings

@kevinjqliu
Copy link
Contributor Author

CI should fail. Now we just need to fix the warnings 😄

@timsaucer timsaucer self-requested a review February 19, 2025 19:01
@kevinjqliu kevinjqliu force-pushed the kevinjqliu/clippy-fails-on-warning branch from c8942b4 to ad37552 Compare February 20, 2025 00:25
Copy link
Member

@timsaucer timsaucer left a comment

Choose a reason for hiding this comment

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

Thank you!

@timsaucer timsaucer merged commit 3584bec into apache:main Feb 20, 2025
15 checks passed
@kevinjqliu kevinjqliu deleted the kevinjqliu/clippy-fails-on-warning branch February 20, 2025 02:18
@kevinjqliu
Copy link
Contributor Author

ah I was going to rebase after #1030 is merged, but this works too. Thanks!

kosiew pushed a commit to kosiew/datafusion-python that referenced this pull request Mar 5, 2025
* pyo3 update required changes to deprecated interfaces

* Substrait feature clippy updates

* PyTuple was called twice

* add -D warnings option

---------

Co-authored-by: Tim Saucer <[email protected]>
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.

CI should fail if rust warnings are generated

2 participants