2022-11-19 04:33:54 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
2023-01-30 19:17:24 +00:00
|
|
|
cargo clippy --workspace --fix --allow-staged --allow-dirty --tests --all-targets --all-features -- \
|
2022-11-19 04:33:54 +00:00
|
|
|
-D warnings -D deprecated -D clippy::perf -D clippy::complexity \
|
2022-11-24 16:38:00 +00:00
|
|
|
-D clippy::style -D clippy::correctness -D clippy::suspicious \
|
2022-11-19 04:33:54 +00:00
|
|
|
-D clippy::dbg_macro -D clippy::inefficient_to_string \
|
|
|
|
-D clippy::items-after-statements -D clippy::implicit_clone \
|
|
|
|
-D clippy::wildcard_imports -D clippy::cast_lossless \
|
2022-11-24 16:38:00 +00:00
|
|
|
-D clippy::manual_string_new -D clippy::redundant_closure_for_method_calls \
|
2023-01-30 19:17:24 +00:00
|
|
|
-D clippy::unused_self \
|
|
|
|
-A clippy::uninlined_format_args
|