From 35bac991e674e8ff228e3da3f05984ff23a535dd Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Tue, 27 Nov 2018 15:25:03 -0800 Subject: [PATCH] presubmit: add cargo fmt check This will automatically check rustfmt during 'repo upload'. BUG=chromium:908640 TEST=repo upload CQ-DEPEND=CL:1352648 Change-Id: I97911e00de2f25f0827c37b9715f7f77a504d2fa Signed-off-by: Daniel Verkamp Reviewed-on: https://chromium-review.googlesource.com/1351693 Reviewed-by: Zach Reizner --- PRESUBMIT.cfg | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 PRESUBMIT.cfg diff --git a/PRESUBMIT.cfg b/PRESUBMIT.cfg new file mode 100644 index 0000000000..54977688ca --- /dev/null +++ b/PRESUBMIT.cfg @@ -0,0 +1,2 @@ +[Hook Overrides] +cargo_fmt_check: true