mirror of https://github.com/mpv-player/mpv
ci/lint: add isort checks
This commit is contained in:
parent
416035a174
commit
c6903f9963
|
@ -9,6 +9,7 @@ import sys
|
||||||
from shutil import which
|
from shutil import which
|
||||||
from subprocess import check_output
|
from subprocess import check_output
|
||||||
|
|
||||||
|
|
||||||
def find_macos_sdk():
|
def find_macos_sdk():
|
||||||
sdk = os.environ.get("MACOS_SDK", "")
|
sdk = os.environ.get("MACOS_SDK", "")
|
||||||
sdk_version = os.environ.get("MACOS_SDK_VERSION", "0.0")
|
sdk_version = os.environ.get("MACOS_SDK_VERSION", "0.0")
|
||||||
|
|
|
@ -8,6 +8,7 @@ import sys
|
||||||
from shutil import which
|
from shutil import which
|
||||||
from subprocess import check_output
|
from subprocess import check_output
|
||||||
|
|
||||||
|
|
||||||
def find_swift_lib():
|
def find_swift_lib():
|
||||||
swift_lib_dir = os.environ.get("SWIFT_LIB_DYNAMIC", "")
|
swift_lib_dir = os.environ.get("SWIFT_LIB_DYNAMIC", "")
|
||||||
if swift_lib_dir:
|
if swift_lib_dir:
|
||||||
|
|
|
@ -5,6 +5,7 @@ line-length = 100
|
||||||
select = [
|
select = [
|
||||||
"F", # pyflakes
|
"F", # pyflakes
|
||||||
"E", "W", # pycodestyle
|
"E", "W", # pycodestyle
|
||||||
|
"I", # pycodestyle
|
||||||
"N", # pep8-naming
|
"N", # pep8-naming
|
||||||
"UP", # pyupgrade
|
"UP", # pyupgrade
|
||||||
"A", # flake8-builtins
|
"A", # flake8-builtins
|
||||||
|
|
Loading…
Reference in New Issue