Fix trailing whitespaces (#3205)
See https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#trailing-whitespace
This commit is contained in:
@@ -24,7 +24,7 @@ gpg --batch --generate-key foo
|
||||
rm foo
|
||||
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 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
|
||||
|
||||
@@ -11,7 +11,7 @@ call('cd ../../ && make android-license', shell=True)
|
||||
p = Popen(['git', 'diff', '--name-only', 'LICENSE.md'], stdin=PIPE, stdout=PIPE, stderr=PIPE)
|
||||
output, err = p.communicate(b"input data that is passed to subprocess' stdin")
|
||||
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
|
||||
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.""")
|
||||
|
||||
Reference in New Issue
Block a user