From 8cb3829fa55f894261689197497b0a40c40639ae Mon Sep 17 00:00:00 2001 From: Lextuga007 Date: Sat, 14 Dec 2024 16:56:36 +0000 Subject: [PATCH] Updated ignore_list and bad_latin --- tests/no-bad-latin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/no-bad-latin.py b/tests/no-bad-latin.py index 99bf9c9..1ec7bff 100644 --- a/tests/no-bad-latin.py +++ b/tests/no-bad-latin.py @@ -9,7 +9,7 @@ HERE = os.getcwd() ABSOLUTE_HERE = os.path.dirname(HERE) -IGNORE_LIST = ["no-bad-latin.py", "styles_guides.qmd", "contributors-record.md", "references.bib"] +IGNORE_LIST = ["no-bad-latin.py", "references.bib"] def parse_args(): @@ -93,7 +93,7 @@ def read_and_check_files(files): containing the offending line. """ failing_files = {} - bad_latin = ["i.e.", "e.g.", "e.t.c.", " etc", " ie ", "et cetera"] + bad_latin = ["i.e.", "e.g.", "e.t.c.", " etc", " ie ", "et cetera", " eg ", " ect "] for filename in files: if os.path.basename(filename) in IGNORE_LIST: