This commit is contained in:
Vincent Poulailleau 2020-08-25 17:33:35 +02:00
parent 38cf9c4c2b
commit 2c11208321
2 changed files with 7 additions and 0 deletions

View File

@ -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):

View File

@ -0,0 +1,5 @@
#: ../Doc/library/typing.rst:19
msgid ""
"internal_link_"
msgstr ""
"cemotnexistepas_"