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)