diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-06-05 18:58:51 +0100 |
---|---|---|
committer | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-06-05 18:58:51 +0100 |
commit | b1ce43824b40a9f031aeb1e3a99a303ea446f624 (patch) | |
tree | b6a8aefdf834f5256a93c054fdcd096078638b7d /tests/plugins | |
parent | 6756480a858e4657b2a93653037b3f9a93290e7c (diff) | |
download | buildstream-b1ce43824b40a9f031aeb1e3a99a303ea446f624.tar.gz |
tests/plugins: Enable pylint and fix problemsbschubert/pylint-fixes
tests/plugins was missing an __init__.py, which meant pylint
was never run there.
Diffstat (limited to 'tests/plugins')
-rw-r--r-- | tests/plugins/__init__.py | 0 | ||||
-rw-r--r-- | tests/plugins/deprecationwarnings/__init__.py | 0 | ||||
-rw-r--r-- | tests/plugins/deprecationwarnings/deprecationwarnings.py | 9 |
3 files changed, 7 insertions, 2 deletions
diff --git a/tests/plugins/__init__.py b/tests/plugins/__init__.py new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/plugins/__init__.py diff --git a/tests/plugins/deprecationwarnings/__init__.py b/tests/plugins/deprecationwarnings/__init__.py new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/plugins/deprecationwarnings/__init__.py diff --git a/tests/plugins/deprecationwarnings/deprecationwarnings.py b/tests/plugins/deprecationwarnings/deprecationwarnings.py index 75652bf06..4d2d22c05 100644 --- a/tests/plugins/deprecationwarnings/deprecationwarnings.py +++ b/tests/plugins/deprecationwarnings/deprecationwarnings.py @@ -1,6 +1,11 @@ -import pytest +# Pylint doesn't play well with fixtures and dependency injection from pytest +# pylint: disable=redefined-outer-name + import os -from buildstream.testing import cli + +import pytest + +from buildstream.testing import cli # pylint: disable=unused-import DATA_DIR = os.path.join( |