diff options
author | Benjamin Schubert <bschubert15@bloomberg.net> | 2019-12-02 11:02:23 +0000 |
---|---|---|
committer | Benjamin Schubert <bschubert15@bloomberg.net> | 2019-12-02 11:02:23 +0000 |
commit | 069b110c866ecfd652a041d735ca6d261b8d41ba (patch) | |
tree | 8971bdb7d0c26ce7e5d2da65e705b1046c666603 /tests/frontend | |
parent | 05aaf3eadff2981fe3c16e6c3a808c37f0ca1187 (diff) | |
download | buildstream-069b110c866ecfd652a041d735ca6d261b8d41ba.tar.gz |
lint: Remove unnecessary list comprehensions
Newer version of pylint detect when a comprehension would not be needed.
Let's remove all the ones that are indeed extraneous
Diffstat (limited to 'tests/frontend')
-rw-r--r-- | tests/frontend/workspace.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/frontend/workspace.py b/tests/frontend/workspace.py index 80db8cc98..eabaca68c 100644 --- a/tests/frontend/workspace.py +++ b/tests/frontend/workspace.py @@ -42,7 +42,7 @@ from buildstream._workspaces import BST_WORKSPACE_FORMAT_VERSION from tests.testutils import create_artifact_share, create_element_size, wait_for_cache_granularity -repo_kinds = [(kind) for kind in ALL_REPO_KINDS] +repo_kinds = ALL_REPO_KINDS # Project directory DATA_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "project",) |