diff --git a/tests/pylint.cfg b/tests/pylint.cfg index e8e9e717..6ba0bc1f 100644 --- a/tests/pylint.cfg +++ b/tests/pylint.cfg @@ -34,7 +34,7 @@ load-plugins= # 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 +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 [REPORTS] @@ -44,12 +44,6 @@ disable=Design,Similarities,invalid-name,missing-docstring,line-too-long,too-man # mypackage.mymodule.MyReporterClass. #output-format=text -# Include message's id in output -include-ids=no - -# Include symbolic ids of messages in output -symbols=no - # Put messages in a separate file for each module / package specified on the # command line instead of printing them on stdout. Reports (if any) will be # written in a file name "pylint_global.[txt|html]". diff --git a/virtManager/clone.py b/virtManager/clone.py index 81701860..924010b3 100644 --- a/virtManager/clone.py +++ b/virtManager/clone.py @@ -378,6 +378,7 @@ class vmmCloneVM(vmmGObjectUI): devtype) def storage_add(failinfo=None): + # pylint: disable=cell-var-from-loop storage_row[STORAGE_INFO_DEFINFO] = definfo storage_row[STORAGE_INFO_DO_DEFAULT] = default storage_row[STORAGE_INFO_CAN_SHARE] = bool(definfo) diff --git a/virtManager/details.py b/virtManager/details.py index ce061dec..1b607433 100644 --- a/virtManager/details.py +++ b/virtManager/details.py @@ -289,7 +289,7 @@ def _chipset_label_from_machine(machine): def _warn_cpu_thread_topo(threads, cpu_model): if (threads < 2): return False - + non_ht_cpus = ["athlon", "phenom", "opteron"] for cpu in non_ht_cpus: @@ -298,6 +298,7 @@ def _warn_cpu_thread_topo(threads, cpu_model): return False + def _firmware_label_from_loader(vm, loader, force_uefi=False): domcaps = vm.get_domain_capabilities() if (domcaps.os.loader.values and @@ -1671,7 +1672,7 @@ class vmmDetails(vmmGObjectUI): self.widget("cpu-model"), not src.get_active()) self.enable_apply(EDIT_CPU) - def config_cpu_model_changed(self, opque): + def config_cpu_model_changed(self, ignore): # Warn about hyper-threading setting cpu_model = self.get_config_cpu_model() threads = self.widget("cpu-threads").get_value() diff --git a/virtinst/cli.py b/virtinst/cli.py index e57ffbb0..b170aa42 100644 --- a/virtinst/cli.py +++ b/virtinst/cli.py @@ -1850,6 +1850,7 @@ class ParserRNG(VirtCLIParser): def set_backend_cb(opts, inst, cliname, val): ignore = opts ignore = inst + # pylint: disable=attribute-defined-outside-init if cliname == "backend_mode": self._cli_backend_mode = val elif cliname == "backend_type":