Setting up pep8 (1.5.7-2) ...
+ pep8 --repeat --show-source .
./tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:32:80: E501 line too long (88 > 79 characters)
self.scrollingSections = self.app.select_single(objectName='scrolling_sections')
^
./tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:34:80: E501 line too long (82 > 79 characters)
self.scrollingLabel = self.app.select_single(objectName='scrolling_label')
^
./tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:36:80: E501 line too long (87 > 79 characters)
self.assertEqual(self.scrollingLabel.text, 'Scrollable section 0 is selected.')
^
./tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:50:80: E501 line too long (87 > 79 characters)
self.assertEqual(self.scrollingLabel.text, 'Scrollable section 2 is selected.')
^
./tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:55:80: E501 line too long (88 > 79 characters)
self.assertEqual(self.scrollingLabel.text, 'Scrollable section 15 is selected.')
^
./tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:58:80: E501 line too long (87 > 79 characters)
self.assertEqual(self.scrollingLabel.text, 'Scrollable section 1 is selected.')
^
./tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_common.py:195:80: E501 line too long (81 > 79 characters)
logger.info("Not going to use Maliit - set UITK_USE_MALIIT to enable it")
^
./tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_qquicklistview.py:120:25: E703 statement ends with a semicolon
return False;
^
./debian/ubuntu-ui-toolkit-autopilot/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:32:80: E501 line too long (88 > 79 characters)
self.scrollingSections = self.app.select_single(objectName='scrolling_sections')
^
./debian/ubuntu-ui-toolkit-autopilot/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:34:80: E501 line too long (82 > 79 characters)
self.scrollingLabel = self.app.select_single(objectName='scrolling_label')
^
./debian/ubuntu-ui-toolkit-autopilot/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:36:80: E501 line too long (87 > 79 characters)
self.assertEqual(self.scrollingLabel.text, 'Scrollable section 0 is selected.')
^
./debian/ubuntu-ui-toolkit-autopilot/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:50:80: E501 line too long (87 > 79 characters)
self.assertEqual(self.scrollingLabel.text, 'Scrollable section 2 is selected.')
^
./debian/ubuntu-ui-toolkit-autopilot/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:55:80: E501 line too long (88 > 79 characters)
self.assertEqual(self.scrollingLabel.text, 'Scrollable section 15 is selected.')
^
./debian/ubuntu-ui-toolkit-autopilot/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:58:80: E501 line too long (87 > 79 characters)
self.assertEqual(self.scrollingLabel.text, 'Scrollable section 1 is selected.')
^
./debian/ubuntu-ui-toolkit-autopilot/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_common.py:195:80: E501 line too long (81 > 79 characters)
logger.info("Not going to use Maliit - set UITK_USE_MALIIT to enable it")
^
./debian/ubuntu-ui-toolkit-autopilot/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_qquicklistview.py:120:25: E703 statement ends with a semicolon
return False;
^
./debian/tmp/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:32:80: E501 line too long (88 > 79 characters)
self.scrollingSections = self.app.select_single(objectName='scrolling_sections')
^
./debian/tmp/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:34:80: E501 line too long (82 > 79 characters)
self.scrollingLabel = self.app.select_single(objectName='scrolling_label')
^
./debian/tmp/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:36:80: E501 line too long (87 > 79 characters)
self.assertEqual(self.scrollingLabel.text, 'Scrollable section 0 is selected.')
^
./debian/tmp/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:50:80: E501 line too long (87 > 79 characters)
self.assertEqual(self.scrollingLabel.text, 'Scrollable section 2 is selected.')
^
./debian/tmp/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:55:80: E501 line too long (88 > 79 characters)
self.assertEqual(self.scrollingLabel.text, 'Scrollable section 15 is selected.')
^
./debian/tmp/usr/lib/python3/dist-packages/ubuntuuitoolkit/tests/custom_proxy_objects/test_sections.py:58:80: E501 line too long (87 > 79 characters)
self.assertEqual(self.scrollingLabel.text, 'Scrollable section 1 is selected.')
^
./debian/tmp/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_common.py:195:80: E501 line too long (81 > 79 characters)
logger.info("Not going to use Maliit - set UITK_USE_MALIIT to enable it")
^
./debian/tmp/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_qquicklistview.py:120:25: E703 statement ends with a semicolon
return False;
^
./.bazaar/plugins/packaging_sorting.py:23:1: E302 expected 2 blank lines, found 1
def pre_commit_hook(local, master, old_revno, old_revid, future_revno,
^
./.bazaar/plugins/packaging_sorting.py:23:71: W291 trailing whitespace
def pre_commit_hook(local, master, old_revno, old_revid, future_revno,
^
./.bazaar/plugins/packaging_sorting.py:31:7: E111 indentation is not a multiple of four
raise errors.BzrError("Please install 'devscripts' package.")
^
./.bazaar/plugins/packaging_sorting.py:32:7: E111 indentation is not a multiple of four
return
^
./.bazaar/plugins/packaging_sorting.py:34:80: E501 line too long (82 > 79 characters)
subprocess.call(["cp", "-a", "debian", "debian-packaging-wraptest-temporary"])
^
./.bazaar/plugins/packaging_sorting.py:39:9: E128 continuation line under-indented for visual indent
"debian-packaging-wraptest-temporary", "debian"])
^
./.bazaar/plugins/packaging_sorting.py:41:7: E111 indentation is not a multiple of four
subprocess.call(["rm", "-rf", "debian-packaging-wraptest-temporary"])
^
./.bazaar/plugins/packaging_sorting.py:42:7: E111 indentation is not a multiple of four
raise errors.BzrError("Please run wrap-and-sort -a -t to clean up packaging.")
^
./.bazaar/plugins/packaging_sorting.py:42:80: E501 line too long (84 > 79 characters)
raise errors.BzrError("Please run wrap-and-sort -a -t to clean up packaging.")
^
./.bazaar/plugins/packaging_sorting.py:46:80: E501 line too long (96 > 79 characters)
The fix isn't good enough. It breaks one of the test functions and doesn't pass pep8 on Jenkins:
/tmp/buildd/ ubuntu- ui-toolkit- 1.3.1938+ 16.04.20160416/ tests/autopilot /ubuntuuitoolki t/_custom_ proxy_objects/ _qquicklistview .py:73: 33: E701 multiple statements on one line (colon)