-
-
Notifications
You must be signed in to change notification settings - Fork 215
Expand file tree
/
Copy pathclippy_check.sh
More file actions
executable file
·27 lines (23 loc) · 1.13 KB
/
clippy_check.sh
File metadata and controls
executable file
·27 lines (23 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# cargo clippy --workspace --locked --exclude hql-tests --exclude metrics -- -D warnings -A clippy::too_many_arguments -A clippy::let-and-return -A clippy::module-inception -A clippy::new-ret-no-self -A clippy::wrong-self-convention -A clippy::large-enum-variant -A clippy::inherent-to-string -A clippy::inherent_to_string_shadow_display -D clippy::unwrap_used
if [ "$1" = "dashboard" ]; then
cargo clippy -p helix-container --features dev \
-- -D warnings \
-A clippy::too_many_arguments \
-A clippy::let-and-return \
-A clippy::module-inception \
-A clippy::new-ret-no-self \
-A clippy::wrong-self-convention \
-A clippy::large-enum-variant \
-A clippy::inherent-to-string \
-A clippy::inherent_to_string_shadow_display
fi
cargo clippy --workspace --locked --exclude hql-tests \
-- -D warnings \
-A clippy::too_many_arguments \
-A clippy::let-and-return \
-A clippy::module-inception \
-A clippy::new-ret-no-self \
-A clippy::wrong-self-convention \
-A clippy::large-enum-variant \
-A clippy::inherent-to-string \
-A clippy::inherent_to_string_shadow_display