Skip to content

Commit 846377d

Browse files
committed
Remove colorama stuff. Doesn't work on RTD anyway. Now everything will
be more consistent.
1 parent 073ceb4 commit 846377d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/source/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# documentation root, use os.path.abspath to make it absolute, like shown here.
1212
#
1313
import os
14-
from colorama import Fore, Style
1514
from pathlib import Path
1615
from m2r import MdInclude
1716
from recommonmark.transform import AutoStructify
@@ -258,10 +257,10 @@ def doc_report(app, exception):
258257
# print out report of documentation coverage
259258
total_docs = undoc_count + doc_count
260259
if total_docs != 0:
261-
print(f'{Fore.GREEN}Doc coverage of {doc_count/total_docs:.1%}{Style.RESET_ALL}')
260+
print(f'\nAPI Doc coverage of {doc_count/total_docs:.1%}')
262261
if undoc_print_objects or os.environ.get('READTHEDOCS'):
263262
print('\nItems lacking documentation')
264263
print('===========================')
265264
print(*undoc_objects, sep='\n')
266265
else:
267-
print(f'{Fore.YELLOW}No docs counted, run \'make clean\' then rebuild to get the count.{Style.RESET_ALL}')
266+
print('No docs counted, run \'make clean\' then rebuild to get the count.')

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ install_requires =
3535
docs =
3636
PyQt5
3737
Sphinx==3.5.3
38-
colorama
3938
sphinx-rtd-theme==0.5.2
4039
recommonmark==0.6.0
4140
m2r==0.2.1

0 commit comments

Comments
 (0)