diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-03-19 18:05:05 +0000 |
---|---|---|
committer | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-03-20 09:38:42 +0000 |
commit | a90daa6a123d74a938a646e2fccaf4bfe6a5b950 (patch) | |
tree | 0137bfa22aba8ebbd15eafd1c41778f63f3933fe /tests/sources | |
parent | 7ce5dcfc813bc3bc94125429a7c44e24d2147c36 (diff) | |
download | buildstream-a90daa6a123d74a938a646e2fccaf4bfe6a5b950.tar.gz |
tests:lint: silence redefined-outer-name in files using fixtures
Pylint doesn't play well with pytest fixtures, we therefore need to
silence this error.
Diffstat (limited to 'tests/sources')
-rw-r--r-- | tests/sources/bzr.py | 3 | ||||
-rw-r--r-- | tests/sources/deb.py | 3 | ||||
-rw-r--r-- | tests/sources/generic/build_checkout.py | 3 | ||||
-rw-r--r-- | tests/sources/generic/fetch.py | 3 | ||||
-rw-r--r-- | tests/sources/generic/mirror.py | 3 | ||||
-rw-r--r-- | tests/sources/generic/source_determinism.py | 3 | ||||
-rw-r--r-- | tests/sources/generic/track.py | 3 | ||||
-rw-r--r-- | tests/sources/generic/track_cross_junction.py | 3 | ||||
-rw-r--r-- | tests/sources/generic/workspace.py | 3 | ||||
-rw-r--r-- | tests/sources/git.py | 3 | ||||
-rw-r--r-- | tests/sources/local.py | 3 | ||||
-rw-r--r-- | tests/sources/no_fetch_cached.py | 3 | ||||
-rw-r--r-- | tests/sources/ostree.py | 3 | ||||
-rw-r--r-- | tests/sources/patch.py | 3 | ||||
-rw-r--r-- | tests/sources/pip.py | 3 | ||||
-rw-r--r-- | tests/sources/previous_source_access.py | 3 | ||||
-rw-r--r-- | tests/sources/remote.py | 3 | ||||
-rw-r--r-- | tests/sources/tar.py | 3 | ||||
-rw-r--r-- | tests/sources/zip.py | 3 |
19 files changed, 57 insertions, 0 deletions
diff --git a/tests/sources/bzr.py b/tests/sources/bzr.py index 3ff51bc2e..7434502c1 100644 --- a/tests/sources/bzr.py +++ b/tests/sources/bzr.py @@ -1,3 +1,6 @@ +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import pytest diff --git a/tests/sources/deb.py b/tests/sources/deb.py index 554110319..db9666bf5 100644 --- a/tests/sources/deb.py +++ b/tests/sources/deb.py @@ -1,3 +1,6 @@ +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import shutil diff --git a/tests/sources/generic/build_checkout.py b/tests/sources/generic/build_checkout.py index 14a2bc142..5aaedb9d6 100644 --- a/tests/sources/generic/build_checkout.py +++ b/tests/sources/generic/build_checkout.py @@ -16,6 +16,9 @@ # License along with this library. If not, see <http://www.gnu.org/licenses/>. # +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import pytest diff --git a/tests/sources/generic/fetch.py b/tests/sources/generic/fetch.py index bdb8b8970..2a6fa3d85 100644 --- a/tests/sources/generic/fetch.py +++ b/tests/sources/generic/fetch.py @@ -16,6 +16,9 @@ # License along with this library. If not, see <http://www.gnu.org/licenses/>. # +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import pytest diff --git a/tests/sources/generic/mirror.py b/tests/sources/generic/mirror.py index a1967b6c5..d5f016333 100644 --- a/tests/sources/generic/mirror.py +++ b/tests/sources/generic/mirror.py @@ -16,6 +16,9 @@ # License along with this library. If not, see <http://www.gnu.org/licenses/>. # +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import pytest diff --git a/tests/sources/generic/source_determinism.py b/tests/sources/generic/source_determinism.py index 98c4c9835..d0c33e4b7 100644 --- a/tests/sources/generic/source_determinism.py +++ b/tests/sources/generic/source_determinism.py @@ -16,6 +16,9 @@ # License along with this library. If not, see <http://www.gnu.org/licenses/>. # +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import pytest diff --git a/tests/sources/generic/track.py b/tests/sources/generic/track.py index 9764bfe76..a313de167 100644 --- a/tests/sources/generic/track.py +++ b/tests/sources/generic/track.py @@ -16,6 +16,9 @@ # License along with this library. If not, see <http://www.gnu.org/licenses/>. # +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import pytest diff --git a/tests/sources/generic/track_cross_junction.py b/tests/sources/generic/track_cross_junction.py index 94f718d43..257a42240 100644 --- a/tests/sources/generic/track_cross_junction.py +++ b/tests/sources/generic/track_cross_junction.py @@ -16,6 +16,9 @@ # License along with this library. If not, see <http://www.gnu.org/licenses/>. # +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import pytest diff --git a/tests/sources/generic/workspace.py b/tests/sources/generic/workspace.py index d332a6ef6..b61afbe96 100644 --- a/tests/sources/generic/workspace.py +++ b/tests/sources/generic/workspace.py @@ -16,6 +16,9 @@ # License along with this library. If not, see <http://www.gnu.org/licenses/>. # +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import shutil import pytest diff --git a/tests/sources/git.py b/tests/sources/git.py index debbb04ab..d252a15c3 100644 --- a/tests/sources/git.py +++ b/tests/sources/git.py @@ -20,6 +20,9 @@ # William Salmon <will.salmon@codethink.co.uk> # +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import subprocess import shutil diff --git a/tests/sources/local.py b/tests/sources/local.py index 7df1cd9ea..459db1232 100644 --- a/tests/sources/local.py +++ b/tests/sources/local.py @@ -1,3 +1,6 @@ +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import pytest diff --git a/tests/sources/no_fetch_cached.py b/tests/sources/no_fetch_cached.py index 9ef838cf4..d80645c87 100644 --- a/tests/sources/no_fetch_cached.py +++ b/tests/sources/no_fetch_cached.py @@ -1,3 +1,6 @@ +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import pytest diff --git a/tests/sources/ostree.py b/tests/sources/ostree.py index e2d6b6a0f..fe517883e 100644 --- a/tests/sources/ostree.py +++ b/tests/sources/ostree.py @@ -17,6 +17,9 @@ # Authors: William Salmon <will.salmon@codethink.co.uk> # +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import pytest diff --git a/tests/sources/patch.py b/tests/sources/patch.py index 51cdc2186..75bec9717 100644 --- a/tests/sources/patch.py +++ b/tests/sources/patch.py @@ -1,3 +1,6 @@ +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import pytest diff --git a/tests/sources/pip.py b/tests/sources/pip.py index 7ff547b14..5969748d7 100644 --- a/tests/sources/pip.py +++ b/tests/sources/pip.py @@ -1,3 +1,6 @@ +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import pytest diff --git a/tests/sources/previous_source_access.py b/tests/sources/previous_source_access.py index efea86339..5a020af23 100644 --- a/tests/sources/previous_source_access.py +++ b/tests/sources/previous_source_access.py @@ -1,3 +1,6 @@ +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import pytest diff --git a/tests/sources/remote.py b/tests/sources/remote.py index 48e8c3df5..e1c70f8f1 100644 --- a/tests/sources/remote.py +++ b/tests/sources/remote.py @@ -1,3 +1,6 @@ +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import stat import pytest diff --git a/tests/sources/tar.py b/tests/sources/tar.py index ed99036b2..a6dfa05c5 100644 --- a/tests/sources/tar.py +++ b/tests/sources/tar.py @@ -1,3 +1,6 @@ +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os from shutil import copyfile, rmtree import subprocess diff --git a/tests/sources/zip.py b/tests/sources/zip.py index 64ef61c21..4df81ca29 100644 --- a/tests/sources/zip.py +++ b/tests/sources/zip.py @@ -1,3 +1,6 @@ +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os import zipfile |