From 10adbeff781c053cea346272994be0f84597789b Mon Sep 17 00:00:00 2001 From: "fischman@webrtc.org" Date: Sat, 1 Mar 2014 02:09:36 +0000 Subject: [PATCH] Exclude /out* instead of just /out from pylint checks. This matches .gitignore's pattern, and avoids tons of presubmit errors when building to multiple out directories (e.g. using GYP_GENERATOR_FLAGS=output_dir=out_android) R=andrew@webrtc.org, phoglund@webrtc.org Review URL: https://webrtc-codereview.appspot.com/9249005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5628 4adac7df-926f-26a2-2b94-8c16560cd09d --- PRESUBMIT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PRESUBMIT.py b/PRESUBMIT.py index fb70d92047..ba84e744d2 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -134,7 +134,7 @@ def _CommonChecks(input_api, output_api): # TODO(phoglund): should arguably be checked. r'^webrtc/build/.*\.py$', r'^build/.*\.py$', - r'^out/.*\.py$',), + r'^out.*/.*\.py$',), disabled_warnings=['F0401', # Failed to import x 'E0611', # No package y in x 'W0232', # Class has no __init__ method