[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:
committed by
GitHub
parent
0366b5809f
commit
3c07cacc4d
@@ -19,7 +19,7 @@ repos:
|
|||||||
exclude: '(platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/(location/LocationIndicatorLayer|style/layers/PropertyFactory)\.java$)|(platform/windows/vendor/.*)'
|
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
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||||
rev: v20.1.3
|
rev: v20.1.5
|
||||||
hooks:
|
hooks:
|
||||||
- id: clang-format
|
- id: clang-format
|
||||||
files: '.*\.(hpp|cpp|h)'
|
files: '.*\.(hpp|cpp|h)'
|
||||||
@@ -37,7 +37,7 @@ repos:
|
|||||||
additional_dependencies: [ shellcheck-py ]
|
additional_dependencies: [ shellcheck-py ]
|
||||||
|
|
||||||
- repo: https://github.com/nicklockwood/SwiftFormat
|
- repo: https://github.com/nicklockwood/SwiftFormat
|
||||||
rev: "0.55.6"
|
rev: "0.56.2"
|
||||||
hooks:
|
hooks:
|
||||||
- id: swiftformat
|
- id: swiftformat
|
||||||
args: [ --swiftversion, "5.8" ]
|
args: [ --swiftversion, "5.8" ]
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ class MLNMapSnapshotterSwiftTests: MLNMapViewIntegrationTest {
|
|||||||
let snapshotter = MLNMapSnapshotter(options: options)
|
let snapshotter = MLNMapSnapshotter(options: options)
|
||||||
|
|
||||||
snapshotter.start(completionHandler: { snapshot, error in
|
snapshotter.start(completionHandler: { snapshot, error in
|
||||||
|
|
||||||
// // Without capturing snapshotter:
|
// // Without capturing snapshotter:
|
||||||
// XCTAssertNil(snapshot)
|
// XCTAssertNil(snapshot)
|
||||||
// XCTAssertNotNil(error)
|
// XCTAssertNotNil(error)
|
||||||
|
|||||||
Reference in New Issue
Block a user