From 207de5828decfa54217b06905e00f9d298f27e57 Mon Sep 17 00:00:00 2001 From: toofar Date: Sat, 14 Oct 2023 17:25:39 +1300 Subject: fix lint Was getting R0913: Too many arguments (14/10) (too-many-arguments) no idea what that is just showing up now --- qutebrowser/commands/command.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/qutebrowser/commands/command.py b/qutebrowser/commands/command.py index 5e4281474..effdcc9b0 100644 --- a/qutebrowser/commands/command.py +++ b/qutebrowser/commands/command.py @@ -62,10 +62,12 @@ class Command: COUNT_COMMAND_VALUES = [usertypes.CommandValue.count, usertypes.CommandValue.count_tab] - def __init__(self, *, handler, name, instance=None, maxsplit=None, - modes=None, not_modes=None, debug=False, deprecated=False, - no_cmd_split=False, star_args_optional=False, scope='global', - backend=None, no_replace_variables=False): + def __init__( + self, *, handler, name, instance=None, maxsplit=None, + modes=None, not_modes=None, debug=False, deprecated=False, + no_cmd_split=False, star_args_optional=False, scope='global', + backend=None, no_replace_variables=False, + ): # pylint: disable=too-many-arguments if modes is not None and not_modes is not None: raise ValueError("Only modes or not_modes can be given!") if modes is not None: -- cgit v1.2.3-54-g00ecf