From 3c07cacc4d6e5fd8057727b66673e7dade742d96 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 3 Jun 2025 15:33:49 +0200 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#3518) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 4 ++-- .../Snapshotter Tests/MLNMapSnapshotterSwiftTests.swift | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7a75760f4..73dffddc5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: exclude: '(platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/(location/LocationIndicatorLayer|style/layers/PropertyFactory)\.java$)|(platform/windows/vendor/.*)' - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v20.1.3 + rev: v20.1.5 hooks: - id: clang-format files: '.*\.(hpp|cpp|h)' @@ -37,7 +37,7 @@ repos: additional_dependencies: [ shellcheck-py ] - repo: https://github.com/nicklockwood/SwiftFormat - rev: "0.55.6" + rev: "0.56.2" hooks: - id: swiftformat args: [ --swiftversion, "5.8" ] diff --git a/platform/ios/Integration_Tests/Snapshotter Tests/MLNMapSnapshotterSwiftTests.swift b/platform/ios/Integration_Tests/Snapshotter Tests/MLNMapSnapshotterSwiftTests.swift index 76317fd8b..d35a61539 100644 --- a/platform/ios/Integration_Tests/Snapshotter Tests/MLNMapSnapshotterSwiftTests.swift +++ b/platform/ios/Integration_Tests/Snapshotter Tests/MLNMapSnapshotterSwiftTests.swift @@ -38,7 +38,6 @@ class MLNMapSnapshotterSwiftTests: MLNMapViewIntegrationTest { let snapshotter = MLNMapSnapshotter(options: options) snapshotter.start(completionHandler: { snapshot, error in - // // Without capturing snapshotter: // XCTAssertNil(snapshot) // XCTAssertNotNil(error)