Skip to content

Commit

Permalink
Updated ignore_list and bad_latin
Browse files Browse the repository at this point in the history
  • Loading branch information
Lextuga007 committed Dec 14, 2024
1 parent a8caa3b commit 8cb3829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/no-bad-latin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 8cb3829

Please sign in to comment.