diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-06-05 16:34:40 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-06-06 10:44:56 +0000 |
commit | f68680b668386dc48b5c0454d0eec8660e80ebdb (patch) | |
tree | bd25cb0620e773a18a4b165bec0a7545cf257674 /tests/integration/import.py | |
parent | 2e755c87427a4896b4e959d7e5741b85558d6274 (diff) | |
download | buildstream-f68680b668386dc48b5c0454d0eec8660e80ebdb.tar.gz |
tests/integration: Silence all 'redefined-outer-name' pylint errors
This is due to pytest fixtures having to be named the same as the test
arguments.
This is a pre-requisite to enable pylint on this directory
We need to do this per file as we can't blanket disable for directories.
See upstream issue: https://github.com/PyCQA/pylint/issues/618
Diffstat (limited to 'tests/integration/import.py')
-rw-r--r-- | tests/integration/import.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/integration/import.py b/tests/integration/import.py index 26c8cf6a0..55f760f6e 100644 --- a/tests/integration/import.py +++ b/tests/integration/import.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 |