Fix long lines

This commit is contained in:
Florian Bruhin 2017-07-09 11:51:22 +02:00
parent fcf5158258
commit 915cd5f016
3 changed files with 6 additions and 6 deletions

View File

@ -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([

View File

@ -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.

View File

@ -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':