Index: PRESUBMIT.py |
diff --git a/PRESUBMIT.py b/PRESUBMIT.py |
index e0f0dfb0b16a73b7112080989db6f4755c2ab51f..63e49791ebcdaedb96f8a863394be7fd5b6e851b 100644 |
--- a/PRESUBMIT.py |
+++ b/PRESUBMIT.py |
@@ -16,12 +16,12 @@ Setup instructions: |
To run the tests directly: |
export PYTHONPATH="../google_appengine/" |
- nosetests --with-gae --gae-lib-root=../ |
+ nosetests --with-gae --gae-lib-root=../google_appengine/ |
To interact with the environment: |
(insert a line: import code; code.interact(locals=local())) |
export PYTHONPATH="../google_appengine/" |
- nosetests --with-gae --gae-lib-root=../ -s |
+ nosetests --with-gae --gae-lib-root=../google_appengine/ -s |
""" |
@@ -72,10 +72,14 @@ def CommonChecks(input_api, output_api): |
input_api.os_path.join(sdk_path, 'lib'), |
input_api.os_path.join(sdk_path, 'lib', 'simplejson'), |
] + sys.path |
+ disabled_warnings = [ |
+ 'E1101', # has no member |
M-A Ruel
2012/05/29 18:46:33
If possible, you should try fixing it, it's a good
cmp
2012/05/29 19:38:03
I disabled this because it gives false positives d
|
+ ] |
results.extend(input_api.canned_checks.RunPylint( |
input_api, |
output_api, |
- black_list=black_list)) |
+ black_list=black_list, |
+ disabled_warnings=disabled_warnings)) |
finally: |
sys.path = backup_sys_path |
return results |