MCPcopy
hub / github.com/powerline/powerline / echoerr

Function echoerr

powerline/lint/markedjson/error.py:156–159  ·  view source on GitHub ↗
(**kwargs)

Source from the content-addressed store, hash-verified

154
155if sys.version_info < (3,):
156 def echoerr(**kwargs):
157 stream = kwargs.pop('stream', sys.stderr)
158 stream.write('\n')
159 stream.write((format_error(**kwargs) + '\n').encode(get_preferred_output_encoding()))
160else:
161 def echoerr(**kwargs):
162 stream = kwargs.pop('stream', sys.stderr)

Callers 15

check_typeMethod · 0.90
check_funcMethod · 0.90
check_listMethod · 0.90
check_printableMethod · 0.90
matchMethod · 0.90
echoerrMethod · 0.90
import_functionFunction · 0.85
check_matcher_funcFunction · 0.85
check_extFunction · 0.85
check_configFunction · 0.85
check_top_themeFunction · 0.85
check_colorFunction · 0.85

Calls 4

format_errorFunction · 0.85
writeMethod · 0.80
encodeMethod · 0.80

Tested by

no test coverage detected