Skip to content
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

Unify CI and pre-commit hook settings for clippy #11640

Conversation

findepi
Copy link
Member

@findepi findepi commented Jul 24, 2024

pre-commit hook runs clippy and CI scripts run clippy too. The commands are and should be the same. Let's define them once.

pre-commit hook runs clippy and CI scripts run clippy too. The commands
are and should be the same. Let's define them once.
pushd datafusion-cli
cargo clippy --all-targets --all-features -- -D warnings
popd
./ci/scripts/rust_clippy.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

I also double checked that this is the same as used in CI:

run: ci/scripts/rust_clippy.sh

👍

Copy link
Member Author

Choose a reason for hiding this comment

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

and in dev/rust_lint.sh

@alamb alamb merged commit 76039fa into apache:main Jul 24, 2024
24 checks passed
@alamb alamb added the development-process Related to development process of DataFusion label Jul 24, 2024
@alamb
Copy link
Contributor

alamb commented Jul 24, 2024

Thanks @findepi

@findepi findepi deleted the findepi/unify-ci-and-pre-commit-hook-settings-for-clippy-ae3f47 branch July 26, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development-process Related to development process of DataFusion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants