mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-05 21:02:58 +00:00
fix: several clippy error/warnings after upgrading toolchain (#2156)
* fix pyscripts mod Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix clippy::needless-pass-by-ref-mut Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * add pyo3 feature gate in Makefile Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -137,7 +137,7 @@ check: ## Cargo check all the targets.
|
||||
|
||||
.PHONY: clippy
|
||||
clippy: ## Check clippy rules.
|
||||
cargo clippy --workspace --all-targets -- -D warnings
|
||||
cargo clippy --workspace --all-targets -F pyo3_backend -- -D warnings
|
||||
|
||||
.PHONY: fmt-check
|
||||
fmt-check: ## Check code format.
|
||||
|
||||
Reference in New Issue
Block a user