Add end-of-file-fixer pre-commit hook (#3176)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Bart Louwers
2025-01-24 20:43:50 +01:00
committed by GitHub
parent c7b63cd9a7
commit c79b6dcf52
8187 changed files with 8059 additions and 8199 deletions

View File

@@ -22,4 +22,4 @@ for match in $matches; do
fi
done
exit $err
exit $err

View File

@@ -27,4 +27,4 @@ gpg --list-secret-keys
# gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --send-keys < your key here - i.e. 6BCC07D1, last 8 characters >
# gpg --keyserver hkps://keys.openpgp.org --send-key 6BCC07D1
# gpg --export-secret-keys < your key here - i.e. 6BCC07D1, last 8 characters > /Volumes/Src/src/MapTiler/Native/maplibre-gl-native/platform/android/signing-key.gpg
# base64 /Volumes/Src/src/MapTiler/Native/maplibre-gl-native/platform/android/signing-key.gpg > /Volumes/Src/src/MapTiler/Native/maplibre-gl-native/platform/android/signing-key.text
# base64 /Volumes/Src/src/MapTiler/Native/maplibre-gl-native/platform/android/signing-key.gpg > /Volumes/Src/src/MapTiler/Native/maplibre-gl-native/platform/android/signing-key.text

View File

@@ -22,4 +22,4 @@ if [[ $( echo ${VERSION_TAG} | grep --invert-match android-v ) ]]; then
fi
step "Checking out source code at ${VERSION_TAG}"
git checkout ${VERSION_TAG}
git checkout ${VERSION_TAG}

View File

@@ -1,3 +1 @@
<%-CHANGELOG-%>

View File

@@ -13,4 +13,4 @@ export testSpecArn="arn:aws:devicefarm:us-west-2:373521797162:upload:20687d72-0e
export testFilter="org.maplibre.android.benchmark.Benchmark"
export name="Android Benchmark"
../../scripts/aws-device-farm/aws-device-farm-run.sh
../../scripts/aws-device-farm/aws-device-farm-run.sh

View File

@@ -33,4 +33,4 @@ curl -s -X POST \
-H "Travis-API-Version: 3" \
-H "Authorization: token ${TRAVISCI_API_TOKEN}" \
-d "${request_body}" \
https://api.travis-ci.com/repo/mapbox%2F${DOCS_REPO}/requests
https://api.travis-ci.com/repo/mapbox%2F${DOCS_REPO}/requests

View File

@@ -34,4 +34,4 @@ if githubRelease.status_code == 200:
r = requests.post(f"{uploadUrl}?name={fileName}", headers=headers , files={fileName: f})
print(f"Upload response: {r.text}")
else:
print(f"### request for upload url failed: {githubRelease.text}")
print(f"### request for upload url failed: {githubRelease.text}")

View File

@@ -14,4 +14,4 @@ if b"LICENSE.md" in output:
raise ValueError("""An error ocurred while validating the license generation.
Changes were detected to the license generation output
but weren't commited. Run make android-license and
commit the changeset to make this validation pass.""")
commit the changeset to make this validation pass.""")