pylint: Disable too-many-return-statements
This commit is contained in:
parent
20cfadbda7
commit
9d018b8fbd
@ -31,7 +31,8 @@ disable=no-self-use,
|
||||
wrong-import-order,
|
||||
ungrouped-imports,
|
||||
redefined-variable-type,
|
||||
suppressed-message
|
||||
suppressed-message,
|
||||
too-many-return-statements
|
||||
|
||||
[BASIC]
|
||||
function-rgx=[a-z_][a-z0-9_]{2,50}$
|
||||
|
@ -43,7 +43,6 @@ _proxy_auth_cache = {}
|
||||
|
||||
def _is_secure_cipher(cipher):
|
||||
"""Check if a given SSL cipher (hopefully) isn't broken yet."""
|
||||
# pylint: disable=too-many-return-statements
|
||||
tokens = [e.upper() for e in cipher.name().split('-')]
|
||||
if cipher.usedBits() < 128:
|
||||
# https://codereview.qt-project.org/#/c/75943/
|
||||
|
@ -256,7 +256,6 @@ class WebElementWrapper(collections.abc.MutableMapping):
|
||||
Return:
|
||||
True if we should switch to insert mode, False otherwise.
|
||||
"""
|
||||
# pylint: disable=too-many-return-statements
|
||||
self._check_vanished()
|
||||
roles = ('combobox', 'textbox')
|
||||
log.misc.debug("Checking if element is editable: {}".format(
|
||||
|
@ -145,7 +145,6 @@ def _from_args(typ, args):
|
||||
override: boolean, if the user did override the path
|
||||
path: The overridden path, or None to turn off storage.
|
||||
"""
|
||||
# pylint: disable=too-many-return-statements
|
||||
typ_to_argparse_arg = {
|
||||
QStandardPaths.ConfigLocation: 'confdir',
|
||||
QStandardPaths.DataLocation: 'datadir',
|
||||
|
Loading…
Reference in New Issue
Block a user