Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Arg0s1080 committed Apr 30, 2019
1 parent 17855a6 commit afdf2ee
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions mrz/checker/mrva.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class MRVACodeChecker(TD3CodeChecker):
__bool__() returns True if all fields are validated, False otherwise
Params:
mrz_string (str): MRZ string of td3. Must be 88 characters long (uppercase)
mrz_string (str): MRZ string of MRVA. Must be 88 characters long (uppercase)
check_expiry (bool): If it's set to True, it is verified and reported as warning that the
document is not expired and that expiry_date is not greater than 10 years
compute_warnings (bool): If it's set True, warnings compute as False
Expand All @@ -52,7 +52,7 @@ def fields(self):
Available strings for Visas A:
surname, name, country, nationality, birth_date, expiry_date, sex, document_type,
document_number, optional_data, birth_date_hash, expiry_date_hash and document_number_hash,
document_number, optional_data, birth_date_hash, expiry_date_hash and document_number_hash
"""
return namedtuple_maker(self._str_common_fields(), self._str_common_hashes())
Expand Down
4 changes: 2 additions & 2 deletions mrz/checker/mrvb.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class MRVBCodeChecker(TD2CodeChecker):
__bool__() returns True if all fields are validated, False otherwise
Params:
mrz_string (str): MRZ string of td3. Must be 88 characters long (uppercase)
mrz_string (str): MRZ string of MRVB. Must be 88 characters long (uppercase)
check_expiry (bool): If it's set to True, it is verified and reported as warning that the
document is not expired and that expiry_date is not greater than 10 years
compute_warnings (bool): If it's set True, warnings compute as False
Expand All @@ -52,7 +52,7 @@ def fields(self):
Available strings for Visas B:
surname, name, country, nationality, birth_date, expiry_date, sex, document_type,
document_number, optional_data, birth_date_hash, expiry_date_hash and document_number_hash,
document_number, optional_data, birth_date_hash, expiry_date_hash and document_number_hash
"""
return namedtuple_maker(self._str_common_fields(), self._str_common_hashes())
Expand Down
4 changes: 2 additions & 2 deletions mrz/checker/td1.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class TD1CodeChecker(_TD1HashChecker, _FieldChecker):
__bool__() returns True if all fields are validated, False otherwise
Params:
mrz_string (str): MRZ string of td1s. Must be 90 uppercase characters long
mrz_string (str): MRZ string of TD1's. Must be 90 uppercase characters long
check_expiry (bool): If it's set to True, it is verified and reported as warning that the
document is not expired and that expiry_date is not greater than 10 years
compute_warnings (bool): If it's set True, warnings compute as False
Expand Down Expand Up @@ -119,7 +119,7 @@ def __init__(self, mrz_code: str, check_expiry=False, compute_warnings=False):
def fields(self):
"""Returns a namedtuple with all fields strings
Available strings for id cards and others td1's:
Available strings for ID Cards and others TD1's:
surname, name, country, nationality, birth_date, expiry_date, sex, document_type,
document_number, optional_data, birth_date_hash, expiry_date_hash, document_number_hash,
optional_data_2 and final_hash
Expand Down
4 changes: 2 additions & 2 deletions mrz/checker/td2.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class TD2CodeChecker(_TD2HashChecker, _FieldChecker):
__bool__() returns True if all fields are validated, False otherwise
Params:
mrz_string (str): MRZ string of td2. Must be 72 characters long (uppercase)
mrz_string (str): MRZ string of TD2. Must be 72 characters long (uppercase)
check_expiry (bool): If it's set to True, it is verified and reported as warning that the
document is not expired and that expiry_date is not greater than 10 years
compute_warnings (bool): If it's set True, warnings compute as False
Expand Down Expand Up @@ -114,7 +114,7 @@ def __init__(self, mrz_code: str, check_expiry=False, compute_warnings=False):
def fields(self):
"""Returns a namedtuple with all fields strings
Available strings for td2's:
Available strings for TD2's:
surname, name, country, nationality, birth_date, expiry_date, sex, document_type,
document_number, optional_data, birth_date_hash, expiry_date_hash, document_number_hash
and final_hash
Expand Down
4 changes: 2 additions & 2 deletions mrz/checker/td3.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class TD3CodeChecker(_TD3HashChecker, _FieldChecker):
__bool__() returns True if all fields are validated, False otherwise
Params:
mrz_string (str): MRZ string of td3. Must be 88 characters long (uppercase)
mrz_string (str): MRZ string of TD3. Must be 88 characters long (uppercase)
check_expiry (bool): If it's set to True, it is verified and reported as warning that the
document is not expired and that expiry_date is not greater than 10 years
compute_warnings (bool): If it's set True, warnings compute as False
Expand Down Expand Up @@ -125,7 +125,7 @@ def __init__(self, mrz_code: str, check_expiry=False, compute_warnings=False):
def fields(self):
"""Returns a namedtuple with all fields strings
Available strings for passports and other td3's:
Available strings for Passports and other TD3's:
surname, name, country, nationality, birth_date, expiry_date, sex, document_type,
document_number, optional_data, birth_date_hash, expiry_date_hash, document_number_hash,
optional_data_hash and final_hash
Expand Down

0 comments on commit afdf2ee

Please sign in to comment.