mirror of
https://github.com/langchain-ai/datafusion.git
synced 2026-06-30 21:27:59 -04:00
Warn instead of error for unused imports (#12588)
* warn not error on unused imports * pre-commit error on clippy
This commit is contained in:
@@ -169,4 +169,3 @@ large_futures = "warn"
|
||||
|
||||
[workspace.lints.rust]
|
||||
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(tarpaulin)"] }
|
||||
unused_imports = "deny"
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
# This file be run directly:
|
||||
# $ ./pre-commit.sh
|
||||
|
||||
set -e
|
||||
|
||||
function RED() {
|
||||
echo "\033[0;31m$@\033[0m"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user