fix #14
This commit is contained in:
parent
38cf9c4c2b
commit
2c11208321
|
@ -102,6 +102,8 @@ class GrammalecteChecker(Checker):
|
|||
return True # word is xxxxx or xxxxxxxx…
|
||||
if warning.word.strip() in self.personal_dict:
|
||||
return True # white list
|
||||
if warning.word.endswith("_"):
|
||||
return True
|
||||
return False
|
||||
|
||||
def get_personal_dict(self):
|
||||
|
|
5
tests/po_without_warnings/internal_links.po
Normal file
5
tests/po_without_warnings/internal_links.po
Normal file
|
@ -0,0 +1,5 @@
|
|||
#: ../Doc/library/typing.rst:19
|
||||
msgid ""
|
||||
"internal_link_"
|
||||
msgstr ""
|
||||
"cemotnexistepas_"
|
Loading…
Reference in New Issue
Block a user