CI: Update ruff & mypy pre-commit hooks

• ruff: 0.6.6 → 0.7.3
• mypy: 1.11.2 → 1.13.0
This commit is contained in:
Thaddeus Crews
2024-11-11 11:27:42 -06:00
parent 0f5f3bc954
commit f2136384e4
2 changed files with 5 additions and 3 deletions

View File

@@ -27,7 +27,9 @@ def generate_bundle(target, source, env):
target_bin = lipo(bin_dir + "/" + prefix, env.extra_suffix + env.module_version_string)
# Assemble .app bundle and update version info.
app_dir = Dir("#bin/" + (prefix + env.extra_suffix + env.module_version_string).replace(".", "_") + ".app").abspath
app_dir = Dir(
"#bin/" + (prefix + env.extra_suffix + env.module_version_string).replace(".", "_") + ".app"
).abspath
templ = Dir("#misc/dist/macos_tools.app").abspath
if os.path.exists(app_dir):
shutil.rmtree(app_dir)