Skip to content

Commit fbd63bd

Browse files
tidy top_level (#139)
* tidy top_level * remove styling --------- Co-authored-by: Jenny Hickson <61183013+jennyhickson@users.noreply.github.com>
1 parent db6c416 commit fbd63bd

File tree

5 files changed

+2
-511
lines changed

5 files changed

+2
-511
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ def lowercase_keywords(file):
3030
with open(file, "r") as fp:
3131
lines = fp.read()
3232
for keyword in NEW_KEYWORDS:
33-
# regex to check if a keyword is preceded with a '!' symbol or it matches a keyword and group each.
33+
# regex to check if a keyword is preceded with a '!' symbol
34+
# or if it matches a keyword and group each.
3435
pattern = rf"((?:(?<=!)).*|(\b{re.escape(keyword.upper())}\b))"
3536
lines = re.sub(pattern, convert_to_lower, lines, flags=re.MULTILINE)
3637

script_updater.sh

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)