From 9578a3324e8a6c428e8a7d4fef3400cca0d19b9e Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Mon, 13 Jun 2016 22:27:14 -0400 Subject: [PATCH] Break two long lines that were failing pylint. --- scripts/dev/run_vulture.py | 3 ++- tests/unit/browser/webkit/test_webelem.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/dev/run_vulture.py b/scripts/dev/run_vulture.py index 86415804e..bc09717e6 100755 --- a/scripts/dev/run_vulture.py +++ b/scripts/dev/run_vulture.py @@ -46,7 +46,8 @@ def whitelist_generator(): for name, member in inspect.getmembers(rfc6266, inspect.isclass): for attr in ('grammar', 'regex'): if hasattr(member, attr): - yield 'qutebrowser.browser.webkit.rfc6266.{}.{}'.format(name, attr) + yield 'qutebrowser.browser.webkit.rfc6266.{}.{}'.format(name, + attr) # PyQt properties for attr in ('prompt_active', 'command_active', 'insert_active', diff --git a/tests/unit/browser/webkit/test_webelem.py b/tests/unit/browser/webkit/test_webelem.py index 7f42275fe..6437c0045 100644 --- a/tests/unit/browser/webkit/test_webelem.py +++ b/tests/unit/browser/webkit/test_webelem.py @@ -276,7 +276,8 @@ class TestWebElementWrapper: @pytest.mark.parametrize('is_null, expected', [ (False, ""), - (True, ''), + (True, ''), ]) def test_repr(self, elem, is_null, expected): elem._elem.isNull.return_value = is_null