Merge "Re-enable important py3k checks for monitoring"
This commit is contained in:
commit
821aff9947
@ -64,7 +64,8 @@ def range_to_list(csv_range=None):
|
||||
"""
|
||||
if not csv_range:
|
||||
return []
|
||||
ranges = [(lambda L: range(L[0], L[-1] + 1))(map(int, r.split('-')))
|
||||
ranges = [(lambda L: list(range(L[0], L[-1] + 1)))
|
||||
(list(map(int, r.split('-'))))
|
||||
for r in csv_range.split(',')]
|
||||
return [y for x in ranges for y in x]
|
||||
|
||||
|
@ -137,10 +137,7 @@ enable=E1603,E1609,E1610,E1602,E1606,E1608,E1607,E1605,E1604,E1601,E1611,W1652,
|
||||
# R0915: Too many statements
|
||||
# Disable Python3 checkers:
|
||||
# W1618: no-absolute-import
|
||||
# W1636: map-builtin-not-iterating
|
||||
# W1638: range-builtin-not-iterating
|
||||
disable=C0103, C0111, C0325, C0330, R0912, R0914, R0915, W0703, W1618, W1636,
|
||||
W1638
|
||||
disable=C0103, C0111, C0325, C0330, R0912, R0914, R0915, W0703, W1618
|
||||
|
||||
[REPORTS]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user