Fix spelling errors

Fixde with:
codespell --skip test --write-changes --interactive=2
This commit is contained in:
Daniele Forsi 2022-06-03 23:45:50 +02:00
parent 44319becff
commit 36caec81e7
6 changed files with 12 additions and 12 deletions

View file

@ -198,7 +198,7 @@ class Callinfo(object):
if len(re.findall(r'\d+', callsign)) == 1: #call has just on digit e.g. DH1TW
callsign = re.sub('[\d]+', area_nr, callsign)
else: # call has several digits e.g. 7N4AAL
pass # no (two) digit prefix contries known where appendix would change entitiy
pass # no (two) digit prefix countries known where appendix would change entity
return self._iterate_prefix(callsign, timestamp)
else:

View file

@ -55,7 +55,7 @@ class LookupLib(object):
lookup against the Clublog API or QRZ.com.
The entire lookup data (where database files are downloaded) can also be copied into Redis, which an extremely
fast in-memory Key/Value store. A LookupLib object can be instanciated to perform then all lookups in Redis,
fast in-memory Key/Value store. A LookupLib object can be instantiated to perform then all lookups in Redis,
instead processing and loading the data from Internet / File. This saves some time and allows several instances
of :py:class:`LookupLib` to query the same data concurrently.
@ -1147,7 +1147,7 @@ class LookupLib(object):
if len(cty_header) == 2:
self._logger.debug("Header successfully retrieved from CTY File")
elif len(cty_header) < 2:
self._logger.warning("Header could only be partically retrieved from CTY File")
self._logger.warning("Header could only be partially retrieved from CTY File")
self._logger.warning("Content of Header: ")
for key in cty_header:
self._logger.warning(str(key)+": "+str(cty_header[key]))

View file

@ -10,7 +10,7 @@ from io import BytesIO
from requests.exceptions import ConnectionError, HTTPError, Timeout
def get_lotw_users(**kwargs):
"""Download the latest offical list of `ARRL Logbook of the World (LOTW)`__ users.
"""Download the latest official list of `ARRL Logbook of the World (LOTW)`__ users.
Args:
url (str, optional): Download URL
@ -69,7 +69,7 @@ def get_lotw_users(**kwargs):
return lotw
def get_clublog_users(**kwargs):
"""Download the latest offical list of `Clublog`__ users.
"""Download the latest official list of `Clublog`__ users.
Args:
url (str, optional): Download URL
@ -150,7 +150,7 @@ def get_clublog_users(**kwargs):
except TypeError: #some date fields contain null instead of a valid datetime string - we ignore them
print("Ignoring invalid type in data:", call, call_data)
pass
except ValueError: #some date fiels are invalid. we ignore them for the moment
except ValueError: #some date fields are invalid. we ignore them for the moment
print("Ignoring invalid data:", call, call_data)
pass