ci/lint: add flake8-commas check

This commit is contained in:
Nathan Ruiz 2024-09-21 10:58:14 +00:00 committed by Kacper Michajłow
parent c6903f9963
commit 44a296be97
3 changed files with 3 additions and 2 deletions

View File

@ -267,7 +267,7 @@ def process_vulkan_loader(binary, loader_name, loader_relative_folder, library_n
print(">>> copying loader library " + loader_library_name)
framework_bundle_folder = os.path.join(
loader_bundle_folder, library_relative_folder
loader_bundle_folder, library_relative_folder,
)
if not os.path.exists(framework_bundle_folder):
os.makedirs(framework_bundle_folder)

View File

@ -33,7 +33,7 @@ def find_macos_sdk():
sdk_version = check_output(
[xcodebuild, "-sdk", "macosx", "-version", "ProductVersion"],
encoding="UTF-8",
stderr=subprocess.DEVNULL
stderr=subprocess.DEVNULL,
)
except Exception:
pass

View File

@ -10,4 +10,5 @@ select = [
"UP", # pyupgrade
"A", # flake8-builtins
"Q", # flake8-quotes
"COM", # flake8-commas
]