From 44ca005f18849a1b1f6318d548bb7ead972fd7c6 Mon Sep 17 00:00:00 2001 From: Thomas Crider Date: Thu, 4 Nov 2021 12:43:54 -0600 Subject: [PATCH] fix pylint complaints --- lutris/sysoptions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lutris/sysoptions.py b/lutris/sysoptions.py index 81908e1d9..beeb9ef6c 100644 --- a/lutris/sysoptions.py +++ b/lutris/sysoptions.py @@ -74,7 +74,7 @@ def get_vk_icd_choices(): for loader in glob.glob(path): icd_key = os.path.basename(loader).split(".")[0] icd_files[icd_key].append(os.path.join(path, loader)) - if not "amd_icd" in loader: + if "amd_icd" not in loader: loaders.append(loader) else: amdvlk.append(loader) @@ -84,13 +84,14 @@ def get_vk_icd_choices(): choices = [(_("Auto"), loader_files)] for icd_key in icd_files: - if not "amd_icd" in icd_key: + if "amd_icd" not in icd_key: files = ":".join(icd_files[icd_key]) choices.append((icd_key.capitalize().replace("_icd", " ICD"), files)) choices.append(("AMDVLK/AMDGPU-PRO", amdvlk_files)) return choices + system_options = [ # pylint: disable=invalid-name { "option": "game_path",