The are lint errors when running suite on Precise

Bug #920640 reported by Natalia Bidart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Control Panel
Status tracked in Trunk
Stable-3-0
Fix Released
Undecided
Unassigned
Trunk
Fix Released
High
Natalia Bidart

Bug Description

== Python Lint Notices ==

ubuntuone/controlpanel/dbus_service.py:
    159: [E1002, ControlPanelBackend.__init__] Use of super on an old style class

ubuntuone/controlpanel/gui/gtk/gui.py:
    843: [E1101, DevicesPanel.on_devices_info_ready] Class 'style' has no 'bg' member
    843: [E1101, DevicesPanel.on_devices_info_ready] Class 'style' has no 'bg' member
    843: [E1101, DevicesPanel.on_devices_info_ready] Class 'style' has no 'bg' member
    843: [E1101, DevicesPanel.on_devices_info_ready] Class 'style' has no 'bg' member

ubuntuone/controlpanel/gui/gtk/tests/test_widgets.py:
    62: [E1101, LoadingTestCase.test_fg_color] Class 'style' has no 'fg' member
    62: [E1101, LoadingTestCase.test_fg_color] Class 'style' has no 'fg' member
    62: [E1101, LoadingTestCase.test_fg_color] Class 'style' has no 'fg' member
    137: [E1101, LabelLoadingTestCase.test_fg_color] Class 'style' has no 'fg' member
    137: [E1101, LabelLoadingTestCase.test_fg_color] Class 'style' has no 'fg' member
    137: [E1101, LabelLoadingTestCase.test_fg_color] Class 'style' has no 'fg' member
    150: [E1101, LabelLoadingTestCase.test_fg_color_loading] Class 'style' has no 'fg' member
    150: [E1101, LabelLoadingTestCase.test_fg_color_loading] Class 'style' has no 'fg' member
    150: [E1101, LabelLoadingTestCase.test_fg_color_loading] Class 'style' has no 'fg' member
    152: [E1101, LabelLoadingTestCase.test_fg_color_loading] Class 'style' has no 'fg' member
    152: [E1101, LabelLoadingTestCase.test_fg_color_loading] Class 'style' has no 'fg' member
    152: [E1101, LabelLoadingTestCase.test_fg_color_loading] Class 'style' has no 'fg' member

ubuntuone/controlpanel/gui/gtk/widgets.py:
    251: [E1101, GreyableBin.do_realize] Class 'style' has no 'attach' member
    251: [E1101, GreyableBin.do_realize] Class 'style' has no 'attach' member
    251: [E1101, GreyableBin.do_realize] Class 'style' has no 'attach' member
    252: [E1101, GreyableBin.do_realize] Class 'style' has no 'set_background' member
    252: [E1101, GreyableBin.do_realize] Class 'style' has no 'set_background' member
    252: [E1101, GreyableBin.do_realize] Class 'style' has no 'set_background' member
    253: [E1101, GreyableBin.do_realize] Class 'style' has no 'set_background' member
    253: [E1101, GreyableBin.do_realize] Class 'style' has no 'set_background' member
    253: [E1101, GreyableBin.do_realize] Class 'style' has no 'set_background' member
    349: [E1101, GreyableBin.do_expose_event] Class 'style' has no 'paint_flat_box' member
    349: [E1101, GreyableBin.do_expose_event] Class 'style' has no 'paint_flat_box' member
    349: [E1101, GreyableBin.do_expose_event] Class 'style' has no 'paint_flat_box' member

ubuntuone/controlpanel/gui/qt/uniqueapp/__init__.py:
    23: [W0403] Relative import 'windows', should be 'ubuntuone.controlpanel.gui.qt.uniqueapp.windows'
    25: [W0403] Relative import 'linux', should be 'ubuntuone.controlpanel.gui.qt.uniqueapp.linux'

ubuntuone/controlpanel/tests/test_sd_client.py:
    327: [E1101, BaseTestCase.setUp] Instance of 'SyncDaemonTool' has no 'shares' member
    <and a lot more like this>

Related branches

description: updated
Changed in ubuntuone-control-panel:
assignee: nobody → Natalia Bidart (nataliabidart)
importance: Undecided → High
status: New → In Progress
Changed in ubuntuone-control-panel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.