From 53fdb50906539ce6e60c2d7e44c766e921a55e84 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sat, 18 Feb 2023 22:10:04 +0300 Subject: [PATCH] csv_metadata_quality/check.py: run black --- csv_metadata_quality/check.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/csv_metadata_quality/check.py b/csv_metadata_quality/check.py index dba39ef..7f2d34b 100755 --- a/csv_metadata_quality/check.py +++ b/csv_metadata_quality/check.py @@ -33,7 +33,6 @@ def issn(field): # Try to split multi-value field on "||" separator for value in field.split("||"): - if not stdnum_issn.is_valid(value): print(f"{Fore.RED}Invalid ISSN: {Fore.RESET}{value}") @@ -56,7 +55,6 @@ def isbn(field): # Try to split multi-value field on "||" separator for value in field.split("||"): - if not stdnum_isbn.is_valid(value): print(f"{Fore.RED}Invalid ISBN: {Fore.RESET}{value}") @@ -173,7 +171,6 @@ def language(field): # Try to split multi-value field on "||" separator for value in field.split("||"): - # After splitting, check if language value is 2 or 3 characters so we # can check it against ISO 639-1 or ISO 639-3 accordingly. if len(value) == 2: