Skip to content

Commit a92824e

Browse files
committed
Disable clippy in pre-commit hook until bug is fixed
See rust-lang/rust-clippy#1946
1 parent bcfe707 commit a92824e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pre-commit-hook.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ fi
2121

2222
exec 1>&2
2323

24-
cargo clippy
25-
CLIPPY_EXIT_CODE=$?
24+
# cargo clippy
25+
# CLIPPY_EXIT_CODE=$?
2626

27-
if [[ $CLIPPY_EXIT_CODE != 0 ]]; then
28-
exit $CLIPPY_EXIT_CODE
29-
fi
27+
# if [[ $CLIPPY_EXIT_CODE != 0 ]]; then
28+
# exit $CLIPPY_EXIT_CODE
29+
# fi
3030

3131
echo $RS_FILES | xargs -L 1 rustup run nightly rustfmt --write-mode overwrite
3232
echo $RS_FILES | xargs -L 1 git add

0 commit comments

Comments
 (0)