Skip to content

Commit

Permalink
chore(clippy): remove -A clippy::uninlined-format-args in scripts (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
clearloop authored Dec 15, 2022
1 parent 501684f commit d3a6d06
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions scripts/src/clippy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,15 @@ clippy_usage() {
EOF
}

# TODO
#
# remove `clippy::uninlined-format-args` after #1956
gear_clippy() {
SKIP_WASM_BUILD=1 cargo +nightly clippy --workspace "$@" -- --no-deps \
-A clippy::uninlined-format-args \
-D warnings
SKIP_WASM_BUILD=1 cargo +nightly clippy --workspace "$@" -- --no-deps -D warnings
}

# $1 - ROOT DIR
examples_clippy() {
cd "$1"/examples
SKIP_WASM_BUILD=1 cargo +nightly hack clippy --workspace --release -- --no-deps \
-A clippy::stable_sort_primitive \
-A clippy::uninlined-format-args \
-D warnings
cd "$1"
}

0 comments on commit d3a6d06

Please sign in to comment.