From 4cae07382ddb1ec571120e3b5fd038ada1ccbfea Mon Sep 17 00:00:00 2001 From: David James Date: Thu, 17 Jan 2013 19:45:36 -0800 Subject: [PATCH] Add pylint hook to src/scripts. BUG=chromium-os:11550 TEST=Verify presubmit hook catches when there are pylint errors. Change-Id: I6b3d3f7c93d7188dd3edaea56a795567200adea2 Reviewed-on: https://gerrit.chromium.org/gerrit/41620 Reviewed-by: Chris Sosa Commit-Queue: David James Tested-by: David James --- 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..5e25fff54f --- /dev/null +++ b/PRESUBMIT.cfg @@ -0,0 +1,2 @@ +[Hook Scripts] +hook0=../../chromite/bin/cros lint ${PRESUBMIT_FILES}