diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-22 09:26:42 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-22 09:26:42 +0200 |
commit | c40c89f94cc8a6dced2b14f51aa2e87b02b7ee22 (patch) | |
tree | 8d52a7b8716376aab4a7cb2aaa0d68a7518ec6cc /platform/macos/detect.py | |
parent | e34b97312e91606dae2e26064dcd628dc360dc88 (diff) | |
parent | d9f8ef68df1df8cf88d484fc22995f55a9c3f9aa (diff) | |
download | redot-engine-c40c89f94cc8a6dced2b14f51aa2e87b02b7ee22.tar.gz |
Merge pull request #90457 from Chubercik/ruff-formatter
Replace `black` formatter with `ruff`
Diffstat (limited to 'platform/macos/detect.py')
-rw-r--r-- | platform/macos/detect.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/macos/detect.py b/platform/macos/detect.py index a5ef29e34f..f02f693dd9 100644 --- a/platform/macos/detect.py +++ b/platform/macos/detect.py @@ -1,10 +1,10 @@ import os import sys -from methods import print_error, detect_darwin_sdk_path, get_compiler_version, is_vanilla_clang -from platform_methods import detect_arch, detect_mvk - from typing import TYPE_CHECKING +from methods import detect_darwin_sdk_path, get_compiler_version, is_vanilla_clang, print_error +from platform_methods import detect_arch, detect_mvk + if TYPE_CHECKING: from SCons.Script.SConscript import SConsEnvironment @@ -107,7 +107,7 @@ def configure(env: "SConsEnvironment"): env.Append(CCFLAGS=["-fobjc-arc"]) - if not "osxcross" in env: # regular native build + if "osxcross" not in env: # regular native build if env["macports_clang"] != "no": mpprefix = os.environ.get("MACPORTS_PREFIX", "/opt/local") mpclangver = env["macports_clang"] |