Skip to content

Commit 18c7fa0

Browse files
committed
Update names wordlist, add work around git import issue
1 parent 17a2b17 commit 18c7fa0

File tree

5 files changed

+1036
-1943
lines changed

5 files changed

+1036
-1943
lines changed

doc/make.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,8 @@ def spellcheck(self):
312312
from scripts.announce import update_name_wordlist
313313
update_name_wordlist()
314314
except (ImportError, ModuleNotFoundError):
315-
print("Unable to update name wordlist, run python script/announce.py to update the list.")
315+
print("Unable to update name wordlist, install GitPython "
316+
"to update this list automatically.")
316317
self._sphinx_build('spelling')
317318
output_location = os.path.join('build', 'spelling', 'output.txt')
318319
with open(output_location) as output:

doc/source/conf.py

-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979

8080
try:
8181
import sphinxcontrib.spelling # noqa
82-
import git
8382
except (ImportError, ModuleNotFoundError) as err:
8483
logger.warning(('sphinxcontrib.spelling failed to import with error "{}". '
8584
'`spellcheck` command is not available.'.format(err)))

0 commit comments

Comments
 (0)