From 915cd5f016f22fc8d8b60c435d7ab41898334ec0 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 9 Jul 2017 11:51:22 +0200 Subject: [PATCH] Fix long lines --- qutebrowser/utils/utils.py | 4 ++-- tests/end2end/features/conftest.py | 4 ++-- tests/end2end/fixtures/testprocess.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/qutebrowser/utils/utils.py b/qutebrowser/utils/utils.py index 833744d9b..c85c53f25 100644 --- a/qutebrowser/utils/utils.py +++ b/qutebrowser/utils/utils.py @@ -373,8 +373,8 @@ def keyevent_to_string(e): None if only modifiers are pressed.. """ if sys.platform == 'darwin': - # Qt swaps Ctrl/Meta on macOS, so we switch it back here so the user can - # use it in the config as expected. See: + # Qt swaps Ctrl/Meta on macOS, so we switch it back here so the user + # can use it in the config as expected. See: # https://github.com/qutebrowser/qutebrowser/issues/110 # http://doc.qt.io/qt-5.4/osx-issues.html#special-keys modmask2str = collections.OrderedDict([ diff --git a/tests/end2end/features/conftest.py b/tests/end2end/features/conftest.py index b67f69418..0a67742f9 100644 --- a/tests/end2end/features/conftest.py +++ b/tests/end2end/features/conftest.py @@ -61,8 +61,8 @@ def pytest_runtest_makereport(item, call): if (not hasattr(report.longrepr, 'addsection') or not hasattr(report, 'scenario')): - # In some conditions (on macOS and Windows it seems), report.longrepr is - # actually a tuple. This is handled similarily in pytest-qt too. + # In some conditions (on macOS and Windows it seems), report.longrepr + # is actually a tuple. This is handled similarily in pytest-qt too. # # Since this hook is invoked for any test, we also need to skip it for # non-BDD ones. diff --git a/tests/end2end/fixtures/testprocess.py b/tests/end2end/fixtures/testprocess.py index c0fc372cc..1a2c51baf 100644 --- a/tests/end2end/fixtures/testprocess.py +++ b/tests/end2end/fixtures/testprocess.py @@ -103,8 +103,8 @@ def pytest_runtest_makereport(item, call): httpbin_log = getattr(item, '_httpbin_log', None) if not hasattr(report.longrepr, 'addsection'): - # In some conditions (on macOS and Windows it seems), report.longrepr is - # actually a tuple. This is handled similarily in pytest-qt too. + # In some conditions (on macOS and Windows it seems), report.longrepr + # is actually a tuple. This is handled similarily in pytest-qt too. return if pytest.config.getoption('--capture') == 'no':