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