From 40e4af7a094dbe3a9ac7a9c697c24ce2e8d63eff Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 5 Sep 2023 10:40:54 +0200 Subject: [PATCH] typo fixes [ci skip] --- port/cpl_azure.cpp | 2 +- scripts/typos_allowlist.txt | 1 + swig/python/gdal-utils/osgeo_utils/gdal_retile.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/port/cpl_azure.cpp b/port/cpl_azure.cpp index 5c7eb2f51541..c81700565b39 100644 --- a/port/cpl_azure.cpp +++ b/port/cpl_azure.cpp @@ -332,7 +332,7 @@ GetConfigurationFromIMDSCredentials(const std::string &osPathForOption, static GIntBig gnLastReadFederatedTokenFile = 0; static std::string gosFederatedToken{}; -// Azure Active Directoy Workload Identity, typically for Azure Kubernetes +// Azure Active Directory Workload Identity, typically for Azure Kubernetes // Cf https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/identity/azure-identity/azure/identity/_credentials/workload_identity.py static bool GetConfigurationFromWorkloadIdentity(CPLString &osAccessToken) { diff --git a/scripts/typos_allowlist.txt b/scripts/typos_allowlist.txt index 4c0a6a7e6fba..3405b511b2f4 100644 --- a/scripts/typos_allowlist.txt +++ b/scripts/typos_allowlist.txt @@ -295,3 +295,4 @@ The effect of the ``ot`` option (added in GDAL 3.7) is to force the output image "HE5_GCTP_ROBIN", "HE5_GCTP_SOM", "HE5_GCTP_ALASKA", else if (EQUAL(pszKey, "ot")) ds = gdal.Open("vrt://data/float32.tif?ot=Int32") + "NUM_ADJ_PARM", "(NUM_ADJ_PARM+1)*(NUM_ADJ_PARM)/2", diff --git a/swig/python/gdal-utils/osgeo_utils/gdal_retile.py b/swig/python/gdal-utils/osgeo_utils/gdal_retile.py index 118d15f183a1..aed49458e8cd 100644 --- a/swig/python/gdal-utils/osgeo_utils/gdal_retile.py +++ b/swig/python/gdal-utils/osgeo_utils/gdal_retile.py @@ -506,7 +506,7 @@ def createPyramidTile( The levelMosaicInfo object contains data about the mosaic at a given pyramid level. - Returns None if sucessful and return 1 if there is an error + Returns None if successful and return 1 if there is an error """ temp_tilename = _createTempFileName(tileName)