misc_checks: Check spelling case-insensitively.
This commit is contained in:
parent
ace7877010
commit
015de0e6db
@ -87,7 +87,7 @@ def check_spelling(target):
|
||||
continue
|
||||
for line in f:
|
||||
for w in words:
|
||||
if re.search(w, line) and fn not in seen[w]:
|
||||
if re.search(w, line, re.I) and fn not in seen[w]:
|
||||
print("Found '{}' in {}!".format(w, fn))
|
||||
seen[w].append(fn)
|
||||
ok = False
|
||||
|
Loading…
Reference in New Issue
Block a user