summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-03-19 18:36:38 +0000
committerBenjamin Schubert <ben.c.schubert@gmail.com>2019-03-20 09:38:42 +0000
commitda439e6658049bb79ca471f4eeac401e70c548f1 (patch)
tree1d7a1a4f64ecade572aa2b2bfaaa9e77164f4baf
parenta90daa6a123d74a938a646e2fccaf4bfe6a5b950 (diff)
downloadbuildstream-da439e6658049bb79ca471f4eeac401e70c548f1.tar.gz
tests:lint: disable 'unused-import' checks on pytest fixtures
Pylint can't know that pytest's fixtures are used in a file and therefore reports false positives. Silencing all those errors
-rw-r--r--tests/cachekey/cachekey.py2
-rw-r--r--tests/elements/filter.py2
-rw-r--r--tests/examples/autotools.py2
-rw-r--r--tests/examples/developing.py2
-rw-r--r--tests/examples/first-project.py2
-rw-r--r--tests/examples/flatpak-autotools.py2
-rw-r--r--tests/examples/integration-commands.py2
-rw-r--r--tests/examples/junctions.py2
-rw-r--r--tests/examples/running-commands.py2
-rw-r--r--tests/format/assertion.py2
-rw-r--r--tests/format/dependencies.py2
-rw-r--r--tests/format/include.py2
-rw-r--r--tests/format/junctions.py2
-rw-r--r--tests/format/listdirectiveerrors.py2
-rw-r--r--tests/format/optionarch.py2
-rw-r--r--tests/format/optionbool.py2
-rw-r--r--tests/format/optioneltmask.py2
-rw-r--r--tests/format/optionenum.py2
-rw-r--r--tests/format/optionexports.py2
-rw-r--r--tests/format/optionflags.py2
-rw-r--r--tests/format/optionos.py2
-rw-r--r--tests/format/optionoverrides.py2
-rw-r--r--tests/format/options.py2
-rw-r--r--tests/format/project.py2
-rw-r--r--tests/format/projectoverrides.py2
-rw-r--r--tests/format/variables.py2
-rw-r--r--tests/frontend/artifact.py2
-rw-r--r--tests/frontend/buildcheckout.py2
-rw-r--r--tests/frontend/buildtrack.py2
-rw-r--r--tests/frontend/completions.py2
-rw-r--r--tests/frontend/compose_splits.py2
-rw-r--r--tests/frontend/configurable_warnings.py2
-rw-r--r--tests/frontend/cross_junction_workspace.py2
-rw-r--r--tests/frontend/fetch.py2
-rw-r--r--tests/frontend/help.py2
-rw-r--r--tests/frontend/init.py2
-rw-r--r--tests/frontend/logging.py2
-rw-r--r--tests/frontend/mirror.py2
-rw-r--r--tests/frontend/order.py2
-rw-r--r--tests/frontend/overlaps.py2
-rw-r--r--tests/frontend/pull.py2
-rw-r--r--tests/frontend/push.py2
-rw-r--r--tests/frontend/rebuild.py2
-rw-r--r--tests/frontend/show.py2
-rw-r--r--tests/frontend/source_checkout.py2
-rw-r--r--tests/frontend/track.py2
-rw-r--r--tests/frontend/version.py2
-rw-r--r--tests/frontend/workspace.py2
-rw-r--r--tests/frontend/yamlcache.py2
-rw-r--r--tests/sourcecache/config.py2
-rw-r--r--tests/sourcecache/source-checkout.py2
-rw-r--r--tests/sourcecache/staging.py2
-rw-r--r--tests/sourcecache/workspace.py2
-rw-r--r--tests/sources/bzr.py2
-rw-r--r--tests/sources/deb.py2
-rw-r--r--tests/sources/generic/build_checkout.py2
-rw-r--r--tests/sources/generic/fetch.py2
-rw-r--r--tests/sources/generic/mirror.py2
-rw-r--r--tests/sources/generic/source_determinism.py2
-rw-r--r--tests/sources/generic/track.py2
-rw-r--r--tests/sources/generic/track_cross_junction.py2
-rw-r--r--tests/sources/generic/workspace.py2
-rw-r--r--tests/sources/git.py2
-rw-r--r--tests/sources/local.py2
-rw-r--r--tests/sources/no_fetch_cached.py2
-rw-r--r--tests/sources/ostree.py2
-rw-r--r--tests/sources/patch.py2
-rw-r--r--tests/sources/pip.py2
-rw-r--r--tests/sources/previous_source_access.py2
-rw-r--r--tests/sources/remote.py2
-rw-r--r--tests/sources/tar.py2
-rw-r--r--tests/sources/zip.py2
72 files changed, 72 insertions, 72 deletions
diff --git a/tests/cachekey/cachekey.py b/tests/cachekey/cachekey.py
index 2f4ed8c43..2bc60582a 100644
--- a/tests/cachekey/cachekey.py
+++ b/tests/cachekey/cachekey.py
@@ -44,7 +44,7 @@ import os
import pytest
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
from buildstream.plugin import CoreWarnings
from buildstream import _yaml
from tests.testutils.site import HAVE_BZR, HAVE_GIT, HAVE_OSTREE, IS_LINUX, MACHINE_ARCH
diff --git a/tests/elements/filter.py b/tests/elements/filter.py
index 2a86d4d37..94a704c92 100644
--- a/tests/elements/filter.py
+++ b/tests/elements/filter.py
@@ -7,7 +7,7 @@ import shutil
import pytest
from tests.testutils import create_repo
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream._exceptions import ErrorDomain
from buildstream import _yaml
diff --git a/tests/examples/autotools.py b/tests/examples/autotools.py
index 16132cf45..8a411b7a3 100644
--- a/tests/examples/autotools.py
+++ b/tests/examples/autotools.py
@@ -4,7 +4,7 @@
import os
import pytest
-from buildstream.plugintestutils import cli_integration as cli
+from buildstream.plugintestutils import cli_integration as cli # pylint: disable=unused-import
from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import HAVE_BWRAP, IS_LINUX, MACHINE_ARCH
diff --git a/tests/examples/developing.py b/tests/examples/developing.py
index 46f0d7f30..7da97931a 100644
--- a/tests/examples/developing.py
+++ b/tests/examples/developing.py
@@ -4,7 +4,7 @@
import os
import pytest
-from buildstream.plugintestutils import cli_integration as cli
+from buildstream.plugintestutils import cli_integration as cli # pylint: disable=unused-import
from buildstream.plugintestutils.integration import assert_contains
import tests.testutils.patch as patch
from tests.testutils.site import HAVE_BWRAP, IS_LINUX, MACHINE_ARCH
diff --git a/tests/examples/first-project.py b/tests/examples/first-project.py
index 34901f260..0956673fb 100644
--- a/tests/examples/first-project.py
+++ b/tests/examples/first-project.py
@@ -4,7 +4,7 @@
import os
import pytest
-from buildstream.plugintestutils import cli_integration as cli
+from buildstream.plugintestutils import cli_integration as cli # pylint: disable=unused-import
from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import IS_LINUX
diff --git a/tests/examples/flatpak-autotools.py b/tests/examples/flatpak-autotools.py
index d08808886..410e6c5ee 100644
--- a/tests/examples/flatpak-autotools.py
+++ b/tests/examples/flatpak-autotools.py
@@ -4,7 +4,7 @@
import os
import pytest
-from buildstream.plugintestutils import cli_integration as cli
+from buildstream.plugintestutils import cli_integration as cli # pylint: disable=unused-import
from buildstream.plugintestutils.integration import assert_contains
from tests.testutils.site import HAVE_OSTREE, IS_LINUX, MACHINE_ARCH
diff --git a/tests/examples/integration-commands.py b/tests/examples/integration-commands.py
index 46ad79323..542fc8bed 100644
--- a/tests/examples/integration-commands.py
+++ b/tests/examples/integration-commands.py
@@ -4,7 +4,7 @@
import os
import pytest
-from buildstream.plugintestutils import cli_integration as cli
+from buildstream.plugintestutils import cli_integration as cli # pylint: disable=unused-import
from tests.testutils.site import HAVE_BWRAP, IS_LINUX, MACHINE_ARCH
diff --git a/tests/examples/junctions.py b/tests/examples/junctions.py
index 0d9e18fd2..621ca1c17 100644
--- a/tests/examples/junctions.py
+++ b/tests/examples/junctions.py
@@ -4,7 +4,7 @@
import os
import pytest
-from buildstream.plugintestutils import cli_integration as cli
+from buildstream.plugintestutils import cli_integration as cli # pylint: disable=unused-import
from tests.testutils.site import IS_LINUX, HAVE_BWRAP, MACHINE_ARCH
pytestmark = pytest.mark.integration
diff --git a/tests/examples/running-commands.py b/tests/examples/running-commands.py
index ecdb13793..0623d5a44 100644
--- a/tests/examples/running-commands.py
+++ b/tests/examples/running-commands.py
@@ -4,7 +4,7 @@
import os
import pytest
-from buildstream.plugintestutils import cli_integration as cli
+from buildstream.plugintestutils import cli_integration as cli # pylint: disable=unused-import
from tests.testutils.site import IS_LINUX, HAVE_BWRAP, MACHINE_ARCH
diff --git a/tests/format/assertion.py b/tests/format/assertion.py
index 7eeec3837..8e112658f 100644
--- a/tests/format/assertion.py
+++ b/tests/format/assertion.py
@@ -4,7 +4,7 @@
import os
import pytest
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
# Project directory
DATA_DIR = os.path.join(
diff --git a/tests/format/dependencies.py b/tests/format/dependencies.py
index f056e0564..e0f517249 100644
--- a/tests/format/dependencies.py
+++ b/tests/format/dependencies.py
@@ -5,7 +5,7 @@ import os
import pytest
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
DATA_DIR = os.path.dirname(os.path.realpath(__file__))
diff --git a/tests/format/include.py b/tests/format/include.py
index 133b7ac2c..455ccd47d 100644
--- a/tests/format/include.py
+++ b/tests/format/include.py
@@ -6,7 +6,7 @@ import textwrap
import pytest
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils import generate_junction, create_repo
diff --git a/tests/format/junctions.py b/tests/format/junctions.py
index 89789f7eb..210455cb4 100644
--- a/tests/format/junctions.py
+++ b/tests/format/junctions.py
@@ -8,7 +8,7 @@ import pytest
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils import create_repo
from tests.testutils.site import HAVE_GIT
diff --git a/tests/format/listdirectiveerrors.py b/tests/format/listdirectiveerrors.py
index 10e0b655a..ec2429dd5 100644
--- a/tests/format/listdirectiveerrors.py
+++ b/tests/format/listdirectiveerrors.py
@@ -4,7 +4,7 @@
import os
import pytest
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
# Project directory
DATA_DIR = os.path.dirname(os.path.realpath(__file__))
diff --git a/tests/format/optionarch.py b/tests/format/optionarch.py
index 235e5e247..8358526b1 100644
--- a/tests/format/optionarch.py
+++ b/tests/format/optionarch.py
@@ -8,7 +8,7 @@ import pytest
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
# Project directory
DATA_DIR = os.path.dirname(os.path.realpath(__file__))
diff --git a/tests/format/optionbool.py b/tests/format/optionbool.py
index e0642672b..74b0910bf 100644
--- a/tests/format/optionbool.py
+++ b/tests/format/optionbool.py
@@ -5,7 +5,7 @@ import os
import pytest
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
# Project directory
DATA_DIR = os.path.dirname(os.path.realpath(__file__))
diff --git a/tests/format/optioneltmask.py b/tests/format/optioneltmask.py
index c08d8329f..6305636ee 100644
--- a/tests/format/optioneltmask.py
+++ b/tests/format/optioneltmask.py
@@ -5,7 +5,7 @@ import os
import pytest
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
# Project directory
DATA_DIR = os.path.dirname(os.path.realpath(__file__))
diff --git a/tests/format/optionenum.py b/tests/format/optionenum.py
index 7e09e5f7a..f33423433 100644
--- a/tests/format/optionenum.py
+++ b/tests/format/optionenum.py
@@ -5,7 +5,7 @@ import os
import pytest
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
# Project directory
DATA_DIR = os.path.dirname(os.path.realpath(__file__))
diff --git a/tests/format/optionexports.py b/tests/format/optionexports.py
index f9653301b..f7cce0c92 100644
--- a/tests/format/optionexports.py
+++ b/tests/format/optionexports.py
@@ -4,7 +4,7 @@
import os
import pytest
from buildstream import _yaml
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
# Project directory
DATA_DIR = os.path.dirname(os.path.realpath(__file__))
diff --git a/tests/format/optionflags.py b/tests/format/optionflags.py
index 2a0c2b8ce..e18f6c960 100644
--- a/tests/format/optionflags.py
+++ b/tests/format/optionflags.py
@@ -5,7 +5,7 @@ import os
import pytest
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
# Project directory
DATA_DIR = os.path.dirname(os.path.realpath(__file__))
diff --git a/tests/format/optionos.py b/tests/format/optionos.py
index 361be9ec2..8e464ae5f 100644
--- a/tests/format/optionos.py
+++ b/tests/format/optionos.py
@@ -8,7 +8,7 @@ import pytest
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
DATA_DIR = os.path.dirname(os.path.realpath(__file__))
diff --git a/tests/format/optionoverrides.py b/tests/format/optionoverrides.py
index 7336a5a2d..dc4e7c3a1 100644
--- a/tests/format/optionoverrides.py
+++ b/tests/format/optionoverrides.py
@@ -4,7 +4,7 @@
import os
import pytest
from buildstream import _yaml
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
# Project directory
DATA_DIR = os.path.dirname(os.path.realpath(__file__))
diff --git a/tests/format/options.py b/tests/format/options.py
index ff77fa540..7be140105 100644
--- a/tests/format/options.py
+++ b/tests/format/options.py
@@ -5,7 +5,7 @@ import os
import pytest
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
# Project directory
DATA_DIR = os.path.join(
diff --git a/tests/format/project.py b/tests/format/project.py
index 0d00b2ecf..031c5540a 100644
--- a/tests/format/project.py
+++ b/tests/format/project.py
@@ -5,7 +5,7 @@ import os
import pytest
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils import filetypegenerator
diff --git a/tests/format/projectoverrides.py b/tests/format/projectoverrides.py
index 286f31312..25360e1e5 100644
--- a/tests/format/projectoverrides.py
+++ b/tests/format/projectoverrides.py
@@ -4,7 +4,7 @@
import os
import pytest
from buildstream import _yaml
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
# Project directory
DATA_DIR = os.path.join(
diff --git a/tests/format/variables.py b/tests/format/variables.py
index 4d30c6e08..928ad24ec 100644
--- a/tests/format/variables.py
+++ b/tests/format/variables.py
@@ -8,7 +8,7 @@ import pytest
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
# Project directory
diff --git a/tests/frontend/artifact.py b/tests/frontend/artifact.py
index 6e549772d..7ce9c337c 100644
--- a/tests/frontend/artifact.py
+++ b/tests/frontend/artifact.py
@@ -24,7 +24,7 @@
import os
import pytest
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils import create_artifact_share
diff --git a/tests/frontend/buildcheckout.py b/tests/frontend/buildcheckout.py
index e440500bc..a0af90b58 100644
--- a/tests/frontend/buildcheckout.py
+++ b/tests/frontend/buildcheckout.py
@@ -11,7 +11,7 @@ import pytest
from tests.testutils.site import IS_WINDOWS
from tests.testutils import generate_junction
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
diff --git a/tests/frontend/buildtrack.py b/tests/frontend/buildtrack.py
index 8ce17f7e7..89024e96b 100644
--- a/tests/frontend/buildtrack.py
+++ b/tests/frontend/buildtrack.py
@@ -11,7 +11,7 @@ import pytest
from tests.testutils import create_repo
from buildstream import _yaml
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream._exceptions import ErrorDomain
from . import configure_project
diff --git a/tests/frontend/completions.py b/tests/frontend/completions.py
index 84f57a86b..8e4a85dab 100644
--- a/tests/frontend/completions.py
+++ b/tests/frontend/completions.py
@@ -3,7 +3,7 @@
import os
import pytest
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
# Project directory
DATA_DIR = os.path.join(
diff --git a/tests/frontend/compose_splits.py b/tests/frontend/compose_splits.py
index 560ce0e75..ecce1dd72 100644
--- a/tests/frontend/compose_splits.py
+++ b/tests/frontend/compose_splits.py
@@ -3,7 +3,7 @@
import os
import pytest
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
# Project directory
DATA_DIR = os.path.join(
diff --git a/tests/frontend/configurable_warnings.py b/tests/frontend/configurable_warnings.py
index 5e951fa8d..b44a1a1c1 100644
--- a/tests/frontend/configurable_warnings.py
+++ b/tests/frontend/configurable_warnings.py
@@ -8,7 +8,7 @@ import pytest
from buildstream.plugin import CoreWarnings
from buildstream._exceptions import ErrorDomain
from buildstream import _yaml
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
TOP_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
diff --git a/tests/frontend/cross_junction_workspace.py b/tests/frontend/cross_junction_workspace.py
index a63573b20..7b1fc7f8d 100644
--- a/tests/frontend/cross_junction_workspace.py
+++ b/tests/frontend/cross_junction_workspace.py
@@ -2,7 +2,7 @@
# pylint: disable=redefined-outer-name
import os
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import _yaml
from tests.testutils import create_repo
diff --git a/tests/frontend/fetch.py b/tests/frontend/fetch.py
index 0ace237bf..ca67ca376 100644
--- a/tests/frontend/fetch.py
+++ b/tests/frontend/fetch.py
@@ -6,7 +6,7 @@ import pytest
from tests.testutils import create_repo, generate_junction
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
diff --git a/tests/frontend/help.py b/tests/frontend/help.py
index 0b30e47b4..b52ace302 100644
--- a/tests/frontend/help.py
+++ b/tests/frontend/help.py
@@ -2,7 +2,7 @@
# pylint: disable=redefined-outer-name
import pytest
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
def assert_help(cli_output):
diff --git a/tests/frontend/init.py b/tests/frontend/init.py
index 9cc4cd414..304833824 100644
--- a/tests/frontend/init.py
+++ b/tests/frontend/init.py
@@ -3,7 +3,7 @@
import os
import pytest
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import _yaml
from buildstream._frontend.app import App
diff --git a/tests/frontend/logging.py b/tests/frontend/logging.py
index 9264bf7a8..322e1490b 100644
--- a/tests/frontend/logging.py
+++ b/tests/frontend/logging.py
@@ -10,7 +10,7 @@ from tests.testutils import create_repo
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
# Project directory
DATA_DIR = os.path.join(
diff --git a/tests/frontend/mirror.py b/tests/frontend/mirror.py
index 1df328b39..b33d889c6 100644
--- a/tests/frontend/mirror.py
+++ b/tests/frontend/mirror.py
@@ -7,7 +7,7 @@ import pytest
from tests.testutils import create_repo
from buildstream import _yaml
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
# Project directory
diff --git a/tests/frontend/order.py b/tests/frontend/order.py
index 1478fe92a..4f5d5654f 100644
--- a/tests/frontend/order.py
+++ b/tests/frontend/order.py
@@ -5,7 +5,7 @@ import os
import pytest
from tests.testutils import create_repo
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import _yaml
# Project directory
diff --git a/tests/frontend/overlaps.py b/tests/frontend/overlaps.py
index b056cbb59..57a8ce630 100644
--- a/tests/frontend/overlaps.py
+++ b/tests/frontend/overlaps.py
@@ -3,7 +3,7 @@
import os
import pytest
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
from buildstream._exceptions import ErrorDomain
from buildstream import _yaml
from buildstream.plugin import CoreWarnings
diff --git a/tests/frontend/pull.py b/tests/frontend/pull.py
index d60398623..faaa87ba0 100644
--- a/tests/frontend/pull.py
+++ b/tests/frontend/pull.py
@@ -5,7 +5,7 @@ import os
import shutil
import stat
import pytest
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils import create_artifact_share, generate_junction
diff --git a/tests/frontend/push.py b/tests/frontend/push.py
index be08a903b..ab6b455f2 100644
--- a/tests/frontend/push.py
+++ b/tests/frontend/push.py
@@ -27,7 +27,7 @@ import os
import pytest
from buildstream._exceptions import ErrorDomain
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils import create_artifact_share, create_element_size, generate_junction, wait_for_cache_granularity
diff --git a/tests/frontend/rebuild.py b/tests/frontend/rebuild.py
index e234f54a4..67eab9bde 100644
--- a/tests/frontend/rebuild.py
+++ b/tests/frontend/rebuild.py
@@ -3,7 +3,7 @@
import os
import pytest
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
# Project directory
DATA_DIR = os.path.join(
diff --git a/tests/frontend/show.py b/tests/frontend/show.py
index 352b9a96e..a95a2d529 100644
--- a/tests/frontend/show.py
+++ b/tests/frontend/show.py
@@ -7,7 +7,7 @@ import shutil
import itertools
import pytest
from tests.testutils import generate_junction
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
diff --git a/tests/frontend/source_checkout.py b/tests/frontend/source_checkout.py
index 569d913a7..6e21e2d87 100644
--- a/tests/frontend/source_checkout.py
+++ b/tests/frontend/source_checkout.py
@@ -6,7 +6,7 @@ import tarfile
import pytest
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import utils, _yaml
from buildstream._exceptions import ErrorDomain
diff --git a/tests/frontend/track.py b/tests/frontend/track.py
index 011bd9bd1..2660b25de 100644
--- a/tests/frontend/track.py
+++ b/tests/frontend/track.py
@@ -6,7 +6,7 @@ import os
import pytest
from tests.testutils import create_repo, generate_junction
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream._exceptions import ErrorDomain, LoadErrorReason
from buildstream import _yaml
diff --git a/tests/frontend/version.py b/tests/frontend/version.py
index f74000a21..f9228c0bc 100644
--- a/tests/frontend/version.py
+++ b/tests/frontend/version.py
@@ -1,7 +1,7 @@
# Pylint doesn't play well with fixtures and dependency injection from pytest
# pylint: disable=redefined-outer-name
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
# For utils.get_bst_version()
diff --git a/tests/frontend/workspace.py b/tests/frontend/workspace.py
index 38f0dcb58..c47424ec6 100644
--- a/tests/frontend/workspace.py
+++ b/tests/frontend/workspace.py
@@ -37,7 +37,7 @@ import pytest
from tests.testutils import create_repo, ALL_REPO_KINDS, wait_for_cache_granularity
from tests.testutils import create_artifact_share, create_element_size
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
from buildstream._workspaces import BST_WORKSPACE_FORMAT_VERSION
diff --git a/tests/frontend/yamlcache.py b/tests/frontend/yamlcache.py
index 3841675d1..34b689d8c 100644
--- a/tests/frontend/yamlcache.py
+++ b/tests/frontend/yamlcache.py
@@ -9,7 +9,7 @@ import pytest
from ruamel import yaml
from tests.testutils import generate_junction, create_element_size
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import _yaml
from buildstream._yamlcache import YamlCache
from buildstream._project import Project
diff --git a/tests/sourcecache/config.py b/tests/sourcecache/config.py
index 4ba68a0c5..9f166d054 100644
--- a/tests/sourcecache/config.py
+++ b/tests/sourcecache/config.py
@@ -27,7 +27,7 @@ import pytest
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
DATA_DIR = os.path.dirname(os.path.realpath(__file__))
diff --git a/tests/sourcecache/source-checkout.py b/tests/sourcecache/source-checkout.py
index 3eee993da..517a28108 100644
--- a/tests/sourcecache/source-checkout.py
+++ b/tests/sourcecache/source-checkout.py
@@ -27,7 +27,7 @@ import shutil
import pytest
from buildstream._exceptions import ErrorDomain
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
from tests.testutils.element_generators import create_element_size
diff --git a/tests/sourcecache/staging.py b/tests/sourcecache/staging.py
index 863b6a25b..a61f5163d 100644
--- a/tests/sourcecache/staging.py
+++ b/tests/sourcecache/staging.py
@@ -28,7 +28,7 @@ import pytest
from buildstream._context import Context
from buildstream._project import Project
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
from tests.testutils.element_generators import create_element_size
diff --git a/tests/sourcecache/workspace.py b/tests/sourcecache/workspace.py
index cfc4ac744..48ff3bf58 100644
--- a/tests/sourcecache/workspace.py
+++ b/tests/sourcecache/workspace.py
@@ -26,7 +26,7 @@ import shutil
import pytest
-from buildstream.plugintestutils.runcli import cli
+from buildstream.plugintestutils.runcli import cli # pylint: disable=unused-import
from tests.testutils.element_generators import create_element_size
diff --git a/tests/sources/bzr.py b/tests/sources/bzr.py
index 7434502c1..a76814a30 100644
--- a/tests/sources/bzr.py
+++ b/tests/sources/bzr.py
@@ -6,7 +6,7 @@ import pytest
from buildstream import _yaml
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils import create_repo
from tests.testutils.site import HAVE_BZR
diff --git a/tests/sources/deb.py b/tests/sources/deb.py
index db9666bf5..6e92facf6 100644
--- a/tests/sources/deb.py
+++ b/tests/sources/deb.py
@@ -8,7 +8,7 @@ import pytest
from buildstream._exceptions import ErrorDomain
from buildstream import _yaml
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils.site import HAVE_ARPY
from . import list_dir_contents
diff --git a/tests/sources/generic/build_checkout.py b/tests/sources/generic/build_checkout.py
index 5aaedb9d6..f2dee6c60 100644
--- a/tests/sources/generic/build_checkout.py
+++ b/tests/sources/generic/build_checkout.py
@@ -24,7 +24,7 @@ import pytest
from tests.testutils import create_repo, ALL_REPO_KINDS
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import _yaml
# Project directory
diff --git a/tests/sources/generic/fetch.py b/tests/sources/generic/fetch.py
index 2a6fa3d85..3c7a28182 100644
--- a/tests/sources/generic/fetch.py
+++ b/tests/sources/generic/fetch.py
@@ -25,7 +25,7 @@ import pytest
from tests.testutils import create_repo, ALL_REPO_KINDS, generate_junction
from tests.frontend import configure_project
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import _yaml
diff --git a/tests/sources/generic/mirror.py b/tests/sources/generic/mirror.py
index d5f016333..f5a11d2d7 100644
--- a/tests/sources/generic/mirror.py
+++ b/tests/sources/generic/mirror.py
@@ -24,7 +24,7 @@ import pytest
from tests.testutils import create_repo, ALL_REPO_KINDS, generate_junction
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain
diff --git a/tests/sources/generic/source_determinism.py b/tests/sources/generic/source_determinism.py
index d0c33e4b7..3488e3beb 100644
--- a/tests/sources/generic/source_determinism.py
+++ b/tests/sources/generic/source_determinism.py
@@ -25,7 +25,7 @@ import pytest
from tests.testutils import create_repo, ALL_REPO_KINDS
from tests.testutils.site import HAVE_SANDBOX
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import _yaml
# Project directory
diff --git a/tests/sources/generic/track.py b/tests/sources/generic/track.py
index a313de167..76956fcdb 100644
--- a/tests/sources/generic/track.py
+++ b/tests/sources/generic/track.py
@@ -25,7 +25,7 @@ import pytest
from tests.testutils import create_repo, ALL_REPO_KINDS, generate_junction
from tests.frontend import configure_project
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import _yaml
from buildstream._exceptions import ErrorDomain
diff --git a/tests/sources/generic/track_cross_junction.py b/tests/sources/generic/track_cross_junction.py
index 257a42240..56969619d 100644
--- a/tests/sources/generic/track_cross_junction.py
+++ b/tests/sources/generic/track_cross_junction.py
@@ -24,7 +24,7 @@ import pytest
from tests.testutils import create_repo, ALL_REPO_KINDS, generate_junction
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import _yaml
# Project directory
diff --git a/tests/sources/generic/workspace.py b/tests/sources/generic/workspace.py
index b61afbe96..552981a4f 100644
--- a/tests/sources/generic/workspace.py
+++ b/tests/sources/generic/workspace.py
@@ -25,7 +25,7 @@ import pytest
from tests.testutils import create_repo, ALL_REPO_KINDS
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from buildstream import _yaml
# Project directory
diff --git a/tests/sources/git.py b/tests/sources/git.py
index d252a15c3..ca22bb2fd 100644
--- a/tests/sources/git.py
+++ b/tests/sources/git.py
@@ -32,7 +32,7 @@ import pytest
from buildstream._exceptions import ErrorDomain
from buildstream import _yaml
from buildstream.plugin import CoreWarnings
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils import create_repo
from tests.testutils.site import HAVE_GIT, HAVE_OLD_GIT
diff --git a/tests/sources/local.py b/tests/sources/local.py
index 459db1232..b9201bad7 100644
--- a/tests/sources/local.py
+++ b/tests/sources/local.py
@@ -5,7 +5,7 @@ import os
import pytest
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils import filetypegenerator
DATA_DIR = os.path.join(
diff --git a/tests/sources/no_fetch_cached.py b/tests/sources/no_fetch_cached.py
index d80645c87..b7952220d 100644
--- a/tests/sources/no_fetch_cached.py
+++ b/tests/sources/no_fetch_cached.py
@@ -6,7 +6,7 @@ import pytest
from buildstream import _yaml
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils import create_repo
from tests.testutils.site import HAVE_GIT
diff --git a/tests/sources/ostree.py b/tests/sources/ostree.py
index fe517883e..6b390b5b6 100644
--- a/tests/sources/ostree.py
+++ b/tests/sources/ostree.py
@@ -25,7 +25,7 @@ import pytest
from buildstream._exceptions import ErrorDomain
from buildstream import _yaml
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils import create_repo
diff --git a/tests/sources/patch.py b/tests/sources/patch.py
index 75bec9717..3d53c4b14 100644
--- a/tests/sources/patch.py
+++ b/tests/sources/patch.py
@@ -5,7 +5,7 @@ import os
import pytest
from buildstream._exceptions import ErrorDomain, LoadErrorReason
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils import filetypegenerator
DATA_DIR = os.path.join(
diff --git a/tests/sources/pip.py b/tests/sources/pip.py
index 5969748d7..1d1664bf1 100644
--- a/tests/sources/pip.py
+++ b/tests/sources/pip.py
@@ -7,7 +7,7 @@ import pytest
from buildstream._exceptions import ErrorDomain
from buildstream import _yaml
from buildstream.plugins.sources.pip import _match_package_name
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
diff --git a/tests/sources/previous_source_access.py b/tests/sources/previous_source_access.py
index 5a020af23..cb1c54c27 100644
--- a/tests/sources/previous_source_access.py
+++ b/tests/sources/previous_source_access.py
@@ -4,7 +4,7 @@
import os
import pytest
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
DATA_DIR = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
diff --git a/tests/sources/remote.py b/tests/sources/remote.py
index e1c70f8f1..f6ea9bf65 100644
--- a/tests/sources/remote.py
+++ b/tests/sources/remote.py
@@ -7,7 +7,7 @@ import pytest
from buildstream._exceptions import ErrorDomain
from buildstream import _yaml
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils.file_server import create_file_server
DATA_DIR = os.path.join(
diff --git a/tests/sources/tar.py b/tests/sources/tar.py
index a6dfa05c5..ca6806b32 100644
--- a/tests/sources/tar.py
+++ b/tests/sources/tar.py
@@ -12,7 +12,7 @@ import pytest
from buildstream._exceptions import ErrorDomain
from buildstream import _yaml
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils.file_server import create_file_server
from tests.testutils.site import HAVE_LZIP
from . import list_dir_contents
diff --git a/tests/sources/zip.py b/tests/sources/zip.py
index 4df81ca29..3193d38ca 100644
--- a/tests/sources/zip.py
+++ b/tests/sources/zip.py
@@ -8,7 +8,7 @@ import pytest
from buildstream._exceptions import ErrorDomain
from buildstream import _yaml
-from buildstream.plugintestutils import cli
+from buildstream.plugintestutils import cli # pylint: disable=unused-import
from tests.testutils.file_server import create_file_server
from . import list_dir_contents