summaryrefslogtreecommitdiffstats
path: root/platform/ios
diff options
context:
space:
mode:
authorJakub Marcowski <chubercikbattle@gmail.com>2024-05-21 15:14:59 +0200
committerThaddeus Crews <repiteo@outlook.com>2024-05-21 18:02:29 -0500
commitd9f8ef68df1df8cf88d484fc22995f55a9c3f9aa (patch)
tree69f67b54e7fbb15be77877d5de8d3906fc41b882 /platform/ios
parentaaa4560729bf0161deb71789b47eba5623893845 (diff)
downloadredot-engine-d9f8ef68df1df8cf88d484fc22995f55a9c3f9aa.tar.gz
Update pre-commit hooks configuration to use `ruff` instead of `black`
Diffstat (limited to 'platform/ios')
-rw-r--r--platform/ios/SCsub6
-rw-r--r--platform/ios/detect.py4
2 files changed, 5 insertions, 5 deletions
diff --git a/platform/ios/SCsub b/platform/ios/SCsub
index f38914434b..cff7dcc1fd 100644
--- a/platform/ios/SCsub
+++ b/platform/ios/SCsub
@@ -2,11 +2,11 @@
Import("env")
-import os, json
-from platform_methods import architectures, lipo, get_build_version, detect_mvk
-import subprocess
+import os
import shutil
+from platform_methods import detect_mvk, lipo
+
def generate_bundle(target, source, env):
bin_dir = Dir("#bin").abspath
diff --git a/platform/ios/detect.py b/platform/ios/detect.py
index e3bac4ec5c..eb233a5d54 100644
--- a/platform/ios/detect.py
+++ b/platform/ios/detect.py
@@ -1,9 +1,9 @@
import os
import sys
-from methods import print_error, detect_darwin_sdk_path
-
from typing import TYPE_CHECKING
+from methods import detect_darwin_sdk_path, print_error
+
if TYPE_CHECKING:
from SCons.Script.SConscript import SConsEnvironment