Skip to content

Commit 462be74

Browse files
committed
formatted output
1 parent 5969094 commit 462be74

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tex_writing_issues/line_checker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ def check_line(line: str, rules_packs: List):
2020
regex = re.compile(r"\b{}\b".format(keyword))
2121
if len(regex.findall(line)) != 0:
2222
print("""
23-
issue type: {}, issue: {}
23+
issue: {}, issue type: {},
2424
line: {}
25-
replace with: {}""".format(rule_name, keyword, line, rule[1:]))
25+
replace with: {}""".format(keyword, rule_name, line, rule[1:]))
2626
count_issues += 1
2727
return count_issues

tex_writing_issues/words_complicated

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
utilize, use
2+
utilizing, using
23
also, additionally, in addition

0 commit comments

Comments
 (0)