mirror of https://github.com/mpv-player/mpv
ci/lint: add flake8-commas check
This commit is contained in:
parent
c6903f9963
commit
44a296be97
|
@ -267,7 +267,7 @@ def process_vulkan_loader(binary, loader_name, loader_relative_folder, library_n
|
||||||
|
|
||||||
print(">>> copying loader library " + loader_library_name)
|
print(">>> copying loader library " + loader_library_name)
|
||||||
framework_bundle_folder = os.path.join(
|
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):
|
if not os.path.exists(framework_bundle_folder):
|
||||||
os.makedirs(framework_bundle_folder)
|
os.makedirs(framework_bundle_folder)
|
||||||
|
|
|
@ -33,7 +33,7 @@ def find_macos_sdk():
|
||||||
sdk_version = check_output(
|
sdk_version = check_output(
|
||||||
[xcodebuild, "-sdk", "macosx", "-version", "ProductVersion"],
|
[xcodebuild, "-sdk", "macosx", "-version", "ProductVersion"],
|
||||||
encoding="UTF-8",
|
encoding="UTF-8",
|
||||||
stderr=subprocess.DEVNULL
|
stderr=subprocess.DEVNULL,
|
||||||
)
|
)
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -10,4 +10,5 @@ select = [
|
||||||
"UP", # pyupgrade
|
"UP", # pyupgrade
|
||||||
"A", # flake8-builtins
|
"A", # flake8-builtins
|
||||||
"Q", # flake8-quotes
|
"Q", # flake8-quotes
|
||||||
|
"COM", # flake8-commas
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue