diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-03-19 18:36:38 +0000 |
---|---|---|
committer | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-03-20 09:38:42 +0000 |
commit | da439e6658049bb79ca471f4eeac401e70c548f1 (patch) | |
tree | 1d7a1a4f64ecade572aa2b2bfaaa9e77164f4baf /tests/sourcecache | |
parent | a90daa6a123d74a938a646e2fccaf4bfe6a5b950 (diff) | |
download | buildstream-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
Diffstat (limited to 'tests/sourcecache')
-rw-r--r-- | tests/sourcecache/config.py | 2 | ||||
-rw-r--r-- | tests/sourcecache/source-checkout.py | 2 | ||||
-rw-r--r-- | tests/sourcecache/staging.py | 2 | ||||
-rw-r--r-- | tests/sourcecache/workspace.py | 2 |
4 files changed, 4 insertions, 4 deletions
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 |