Remove print_err, unused

This commit is contained in:
Ivan Habunek 2024-03-30 10:11:44 +01:00
parent 5dcc868275
commit 64b88249f2
No known key found for this signature in database
GPG Key ID: F5F0623FF5EBCB3D

View File

@ -64,12 +64,6 @@ def print_json(data: Any):
click.echo(json.dumps(data))
def print_err(*args, **kwargs):
args = [f"<red>{arg}</red>" for arg in args]
args = [colorize(a) if USE_ANSI_COLOR else strip_tags(a) for a in args]
print(*args, file=sys.stderr, **kwargs)
def print_log(*args, **kwargs):
args = [f"<dim>{a}</dim>" for a in args]
args = [colorize(a) if USE_ANSI_COLOR else strip_tags(a) for a in args]