diff --git a/setup.py b/setup.py index 71cc0a600..041daacfe 100755 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ except ImportError: # Newer setuptools will transparently support 'import distutils' though. # That can be overridden with SETUPTOOLS_USE_DISTUTILS env variable import distutils.command.build # pylint: disable=wrong-import-order,deprecated-module,import-error - BUILD_COMMAND_CLASS = distutils.command.build.build + BUILD_COMMAND_CLASS = distutils.command.build.build # pylint: disable=c-extension-no-member SYSPREFIX = sysconfig.get_config_var("prefix") diff --git a/tests/test_nodedev.py b/tests/test_nodedev.py index f424338c0..9e0461144 100644 --- a/tests/test_nodedev.py +++ b/tests/test_nodedev.py @@ -8,7 +8,6 @@ import os.path import pytest -import libvirt from virtinst import Guest from virtinst import NodeDevice @@ -45,6 +44,7 @@ def _testNode2DeviceCompare(conn, nodename, devfile, nodedev=None): def check_version(conn, version): + # pylint: disable=protected-access if conn.support._check_version(version): return diff --git a/tests/uitests/test_details.py b/tests/uitests/test_details.py index 9907021e6..aaf212402 100644 --- a/tests/uitests/test_details.py +++ b/tests/uitests/test_details.py @@ -811,7 +811,6 @@ def testDetailsXMLEditorSourceviewFallback(app): app.open(xmleditor_enabled=True) win = app.manager_open_details("test-clone-simple") finish = win.find("config-apply") - xmleditor = win.find("XML editor") # Do standard xmleditor tests lib.utils.test_xmleditor_interactions(app, win, finish) diff --git a/virtinst/devices/disk.py b/virtinst/devices/disk.py index 584b195f0..11023e569 100644 --- a/virtinst/devices/disk.py +++ b/virtinst/devices/disk.py @@ -305,7 +305,7 @@ class DeviceDisk(Device): """ Return a list of lists of VM names that are using the passed paths. When handling a list of paths, this method is faster than calling - path_in_use_by() seperately as it takes time to call conn.fetch_all_vols(). + path_in_use_by() separately as it takes time to call conn.fetch_all_vols(). :param conn: virConnect to check VMs :param paths: Paths to check for