summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoofar <toofar@spalge.com>2023-10-14 17:25:39 +1300
committertoofar <toofar@spalge.com>2023-10-14 17:25:39 +1300
commit207de5828decfa54217b06905e00f9d298f27e57 (patch)
treeaf0b518f09dfaee1e72fd8ce7ed3b102a2b55779
parent750e2b0a72e39c1e915b63d8fca245e0094ef4d6 (diff)
downloadqutebrowser-207de5828decfa54217b06905e00f9d298f27e57.tar.gz
qutebrowser-207de5828decfa54217b06905e00f9d298f27e57.zip
fix lint
Was getting R0913: Too many arguments (14/10) (too-many-arguments) no idea what that is just showing up now
-rw-r--r--qutebrowser/commands/command.py10
1 files 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: