switched debug method from logging to click echo

This commit is contained in:
checktheroads 2019-06-17 01:23:17 -07:00
parent b28fa9409d
commit d119e6b606

View file

@ -53,7 +53,7 @@ def pylint_badge(int_only):
pylint_stdout, pylint_stderr = epylint.py_run("hyperglass", return_std=True)
pylint_output = pylint_stdout.getvalue()
logger.debug(pylint_output)
click.secho(pylint_output, fg="red")
pylint_score = re.search(
r"Your code has been rated at (\d+\.\d+)\/10 \(previous run:.*",
pylint_output,