summaryrefslogtreecommitdiff
path: root/deps/gyp/PRESUBMIT.py
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/PRESUBMIT.py')
-rw-r--r--deps/gyp/PRESUBMIT.py23
1 files changed, 21 insertions, 2 deletions
diff --git a/deps/gyp/PRESUBMIT.py b/deps/gyp/PRESUBMIT.py
index b79316a915..dde025383c 100644
--- a/deps/gyp/PRESUBMIT.py
+++ b/deps/gyp/PRESUBMIT.py
@@ -23,6 +23,10 @@ PYLINT_DISABLED_WARNINGS = [
# TODO: fix me.
# Many tests include modules they don't use.
'W0611',
+ # Possible unbalanced tuple unpacking with sequence.
+ 'W0632',
+ # Attempting to unpack a non-sequence.
+ 'W0633',
# Include order doesn't properly include local files?
'F0401',
# Some use of built-in names.
@@ -38,6 +42,10 @@ PYLINT_DISABLED_WARNINGS = [
'W0613',
# String has no effect (docstring in wrong place).
'W0105',
+ # map/filter on lambda could be replaced by comprehension.
+ 'W0110',
+ # Use of eval.
+ 'W0123',
# Comma not followed by space.
'C0324',
# Access to a protected member.
@@ -54,6 +62,8 @@ PYLINT_DISABLED_WARNINGS = [
'E1101',
# Dangerous default {}.
'W0102',
+ # Cyclic import.
+ 'R0401',
# Others, too many to sort.
'W0201', 'W0232', 'E1103', 'W0621', 'W0108', 'W0223', 'W0231',
'R0201', 'E0101', 'C0321',
@@ -114,5 +124,14 @@ def CheckChangeOnCommit(input_api, output_api):
return report
-def GetPreferredTrySlaves():
- return ['gyp-win32', 'gyp-win64', 'gyp-linux', 'gyp-mac', 'gyp-android']
+TRYBOTS = [
+ 'linux_try',
+ 'mac_try',
+ 'win_try',
+]
+
+
+def GetPreferredTryMasters(_, change):
+ return {
+ 'client.gyp': { t: set(['defaulttests']) for t in TRYBOTS },
+ }