# HG changeset patch # User Andrey Skvortsov # Date 1539075943 -10800 # Node ID 45b43f275ca15929015f7aa2a0c3c17cc76753a7 # Parent f0a040f1de1be0286a78245ff71eb00e709aedba python3 support: pylint, W1601 # (apply-builtin) apply built-in referenced diff -r f0a040f1de1b -r 45b43f275ca1 controls/DebugVariablePanel/DebugVariableGraphicViewer.py --- a/controls/DebugVariablePanel/DebugVariableGraphicViewer.py Tue Oct 09 11:56:45 2018 +0300 +++ b/controls/DebugVariablePanel/DebugVariableGraphicViewer.py Tue Oct 09 12:05:43 2018 +0300 @@ -1326,11 +1326,11 @@ # Get value and forced flag for each variable displayed in graph # If cursor tick is not defined get value and flag of last received # or get value and flag of variable at cursor tick - values, forced = apply(zip, [( + args = [( item.GetValue(self.CursorTick) if self.CursorTick is not None - else (item.GetValue(), item.IsForced()) - ) for item in self.Items]) + else (item.GetValue(), item.IsForced())) for item in self.Items] + values, forced = zip(*args) # Get path of each variable displayed simplified using panel variable # name mask diff -r f0a040f1de1b -r 45b43f275ca1 tests/tools/check_source.sh --- a/tests/tools/check_source.sh Tue Oct 09 11:56:45 2018 +0300 +++ b/tests/tools/check_source.sh Tue Oct 09 12:05:43 2018 +0300 @@ -358,7 +358,8 @@ enable=$enable,W1648 # (bad-python3-import) Module moved in Python 3 enable=$enable,W1613 # (xrange-builtin) xrange built-in referenced enable=$enable,W1612 # (unicode-builtin) unicode built-in referenced - enable=$enable,W1619 #(old-division) division w/o __future__ statement + enable=$enable,W1619 # (old-division) division w/o __future__ statement + enable=$enable,W1601 # (apply-builtin) apply built-in referenced # enable= options=