WIP: Avoid line-too-long

TODO: Revert once we use black
This commit is contained in:
Florian Bruhin 2022-05-17 12:02:20 +02:00
parent ebdf248e44
commit 805e43cf97
4 changed files with 5 additions and 4 deletions

View File

@ -72,7 +72,8 @@ no-docstring-rgx=(^_|^main$)
class-const-naming-style = snake_case
[FORMAT]
max-line-length=88
# FIXME:qt6 down to 88 again once we use black
max-line-length=190
ignore-long-lines=(<?https?://|file://|^# Copyright 201\d|link:)
expected-line-ending-format=LF

View File

@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>.
# pylint: disable=line-too-long
# FIXME:qt6: disable=line-too-long
"""Data used by test_keyutils.py to test all keys."""

View File

@ -203,7 +203,7 @@ class TestQuteLastPassMain:
exit_code = qute_lastpass.main(arguments_mock)
assert exit_code == qute_lastpass.ExitCodes.FAILURE
# pylint: disable=line-too-long
# FIXME:qt6: disable=line-too-long
stderr_mock.assert_called_with(
"LastPass CLI returned for www.example.com - Error: Could not find decryption key. Perhaps you need to login with `lpass login`.")
qutecommand_mock.assert_not_called()

View File

@ -37,7 +37,7 @@ from qutebrowser.qt.core import QUrl
from qutebrowser.utils import urlmatch
# pylint: disable=line-too-long
# FIXME:qt6: disable=line-too-long
@pytest.mark.parametrize('pattern, error', [