[pre-commit.ci] pre-commit autoupdate (#3518)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot]
2025-06-03 15:33:49 +02:00
committed by GitHub
parent 0366b5809f
commit 3c07cacc4d
2 changed files with 2 additions and 3 deletions

View File

@@ -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" ]

View File

@@ -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)