You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Update pre-commit hooks configuration to use ruff instead of black
This commit is contained in:
committed by
Thaddeus Crews
parent
aaa4560729
commit
d9f8ef68df
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user