mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-21 09:34:12 +03:00
pylint: fix false positive errors
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
d4194c134b
commit
31eab9b46a
@ -3,7 +3,7 @@
|
||||
# can either give multiple identifier separated by comma (,) or put this option
|
||||
# multiple time (only on the command line, not in the configuration file where
|
||||
# it should appear only once).
|
||||
disable=Design,Similarities,invalid-name,missing-docstring,line-too-long,too-many-lines,superfluous-parens,bad-whitespace,locally-disabled,no-self-use,unnecessary-lambda,star-args,fixme,global-statement,bare-except,anomalous-backslash-in-string,broad-except,cyclic-import,bad-continuation,locally-enabled,unidiomatic-typecheck,redefined-variable-type,bad-option-value,wrong-import-position,consider-using-ternary,no-else-return,len-as-condition,inconsistent-return-statements,useless-object-inheritance,consider-using-in,useless-return,assignment-from-none,chained-comparison,import-outside-toplevel,use-a-generator,consider-using-with,consider-using-f-string,unspecified-encoding,use-maxsplit-arg
|
||||
disable=Design,Similarities,invalid-name,missing-docstring,line-too-long,too-many-lines,superfluous-parens,bad-whitespace,locally-disabled,no-self-use,unnecessary-lambda,star-args,fixme,global-statement,bare-except,anomalous-backslash-in-string,broad-except,cyclic-import,bad-continuation,locally-enabled,unidiomatic-typecheck,redefined-variable-type,bad-option-value,wrong-import-position,consider-using-ternary,no-else-return,len-as-condition,inconsistent-return-statements,useless-object-inheritance,consider-using-in,useless-return,assignment-from-none,chained-comparison,import-outside-toplevel,use-a-generator,consider-using-with,consider-using-f-string,unspecified-encoding,use-maxsplit-arg,possibly-used-before-assignment
|
||||
enable=fixme
|
||||
|
||||
|
||||
|
@ -6,7 +6,7 @@ import pytest
|
||||
from . import lib
|
||||
|
||||
try:
|
||||
import guestfs
|
||||
import guestfs # pylint: disable=import-error
|
||||
ignore = guestfs
|
||||
HAS_LIBGUESTFS = True
|
||||
except Exception:
|
||||
|
@ -219,6 +219,7 @@ class vmmEngine(vmmGObject):
|
||||
self._application.connect("activate",
|
||||
self._on_gtk_application_activated)
|
||||
|
||||
# pylint: disable=no-member
|
||||
action = Gio.SimpleAction.new("cli_command",
|
||||
GLib.VariantType.new("(sss)"))
|
||||
action.connect("activate", self._handle_cli_command)
|
||||
|
Loading…
Reference in New Issue
Block a user