Skip to content

Commit

Permalink
Minor: chores: Update clippy in pre-commit.sh (apache#8810)
Browse files Browse the repository at this point in the history
* Update clippy in pre-commit.sh

* add datafusion-cli
  • Loading branch information
my-vegetable-has-exploded authored Jan 11, 2024
1 parent a154884 commit 36877f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ echo -e "$(GREEN INFO): cargo clippy ..."

# Cargo clippy always return exit code 0, and `tee` doesn't work.
# So let's just run cargo clippy.
cargo clippy
cargo clippy --all-targets --workspace --features avro,pyarrow -- -D warnings
pushd datafusion-cli
cargo clippy --all-targets --all-features -- -D warnings
popd
echo -e "$(GREEN INFO): cargo clippy done"

# 2. cargo fmt: format with nightly and stable.
Expand Down

0 comments on commit 36877f3

Please sign in to comment.