ci/lint: add isort checks

This commit is contained in:
Nathan Ruiz 2024-09-21 10:47:30 +00:00 committed by Kacper Michajłow
parent 416035a174
commit c6903f9963
3 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,7 @@ import sys
from shutil import which
from subprocess import check_output
def find_macos_sdk():
sdk = os.environ.get("MACOS_SDK", "")
sdk_version = os.environ.get("MACOS_SDK_VERSION", "0.0")

View File

@ -8,6 +8,7 @@ import sys
from shutil import which
from subprocess import check_output
def find_swift_lib():
swift_lib_dir = os.environ.get("SWIFT_LIB_DYNAMIC", "")
if swift_lib_dir:

View File

@ -5,6 +5,7 @@ line-length = 100
select = [
"F", # pyflakes
"E", "W", # pycodestyle
"I", # pycodestyle
"N", # pep8-naming
"UP", # pyupgrade
"A", # flake8-builtins