terminal¶
Font Bakery reporters/terminal can report the events of the Font Bakery CheckRunner Protocol to the terminal (or by pipe to files). It understands both, the synchronous and asynchronous execution model.
Separation of Concerns Disclaimer: While created specifically for checking fonts and font-families this module has no domain knowledge about fonts. It can be used for any kind of (document) checking. Please keep it so. It will be valuable for other domains as well. Domain specific knowledge should be encoded only in the Profile (Checks, Conditions) and MAYBE in customized reporters e.g. subclasses.
-
class
fontbakery.reporters.terminal.
TerminalProgress
(print_progress=True, stdout=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>, structure_threshold=None, theme={'ERROR': <built-in method format of str object>, 'FAIL': <built-in method format of str object>, 'INFO': <built-in method format of str object>, 'PASS': <built-in method format of str object>, 'SKIP': <built-in method format of str object>, 'WARN': <built-in method format of str object>, 'check-id': <built-in method format of str object>, 'cupcake': <built-in method format of str object>, 'description': <built-in method format of str object>, 'header': <built-in method format of str object>, 'list-checks: check-id': <built-in method format of str object>, 'list-checks: description': <built-in method format of str object>, 'list-checks: section': <built-in method format of str object>, 'rationale-text': <built-in method format of str object>, 'rationale-title': <built-in method format of str object>, 'spinner': <built-in method format of str object>, 'url': <built-in method format of str object>}, succinct=None, cupcake=True, skip_status_report=None, **kwd)[source][source]¶
-
class
fontbakery.reporters.terminal.
TerminalReporter
(collect_results_by=None, check_threshold=None, log_threshold=None, **kwd)[source][source]¶ yield for each check on endcheck, make a summary of the check and yield that