summaryrefslogtreecommitdiff
path: root/tests/examples
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-03-19 18:05:05 +0000
committerBenjamin Schubert <ben.c.schubert@gmail.com>2019-03-20 09:38:42 +0000
commita90daa6a123d74a938a646e2fccaf4bfe6a5b950 (patch)
tree0137bfa22aba8ebbd15eafd1c41778f63f3933fe /tests/examples
parent7ce5dcfc813bc3bc94125429a7c44e24d2147c36 (diff)
downloadbuildstream-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/examples')
-rw-r--r--tests/examples/autotools.py3
-rw-r--r--tests/examples/developing.py3
-rw-r--r--tests/examples/first-project.py3
-rw-r--r--tests/examples/flatpak-autotools.py3
-rw-r--r--tests/examples/integration-commands.py3
-rw-r--r--tests/examples/junctions.py3
-rw-r--r--tests/examples/running-commands.py3
7 files changed, 21 insertions, 0 deletions
diff --git a/tests/examples/autotools.py b/tests/examples/autotools.py
index d653cdcd2..16132cf45 100644
--- a/tests/examples/autotools.py
+++ b/tests/examples/autotools.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/examples/developing.py b/tests/examples/developing.py
index 86046a0b8..46f0d7f30 100644
--- a/tests/examples/developing.py
+++ b/tests/examples/developing.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/examples/first-project.py b/tests/examples/first-project.py
index efbea4d0c..34901f260 100644
--- a/tests/examples/first-project.py
+++ b/tests/examples/first-project.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/examples/flatpak-autotools.py b/tests/examples/flatpak-autotools.py
index 44b0ef93d..d08808886 100644
--- a/tests/examples/flatpak-autotools.py
+++ b/tests/examples/flatpak-autotools.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/examples/integration-commands.py b/tests/examples/integration-commands.py
index bbcaafbfd..46ad79323 100644
--- a/tests/examples/integration-commands.py
+++ b/tests/examples/integration-commands.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/examples/junctions.py b/tests/examples/junctions.py
index 777bf71a0..0d9e18fd2 100644
--- a/tests/examples/junctions.py
+++ b/tests/examples/junctions.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/examples/running-commands.py b/tests/examples/running-commands.py
index 677b14654..ecdb13793 100644
--- a/tests/examples/running-commands.py
+++ b/tests/examples/running-commands.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