Skip to content

Commit

Permalink
scripts/pre-commit: run clippy checks
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos López <carlos.lopez@suse.com>
  • Loading branch information
00xc committed Jul 4, 2023
1 parent 032f5e7 commit 94d0980
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ for file in `git diff --name-only --staged`; do
fi
done

cargo clippy --all-features -- -D warnings -A clippy::bad_bit_mask || exit 1

exit $RET

0 comments on commit 94d0980

Please sign in to comment.