mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-10 17:38:10 +00:00
[doc] Version no longer gets spellchecked
This commit is contained in:

committed by
Geoffrey McRae

parent
02ec25b008
commit
6ef3fea05e
@@ -1,5 +1,9 @@
|
||||
#!/usr/bin/env python3
|
||||
import re
|
||||
import sys, os
|
||||
sys.path.append(os.path.dirname(__file__))
|
||||
|
||||
from lgrelease import release
|
||||
|
||||
from enchant.tokenize import Filter
|
||||
|
||||
@@ -36,6 +40,11 @@ class CryptoAddressFilter(Filter):
|
||||
return recrypto.match(word)
|
||||
|
||||
|
||||
class VersionFilter(Filter):
|
||||
def _skip(self, word):
|
||||
return word == release
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
import os
|
||||
import sys
|
||||
|
Reference in New Issue
Block a user