1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

Black Formatting - travis #

This commit is contained in:
checktheroads
2019-06-16 16:05:53 -07:00
parent a0d295a8e2
commit d2b40c1afd
2 changed files with 2 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ run_pylint() {
check_pylint() {
PYLINT_SCORE=$(run_pylint)
echo "Pylint score: $PYLINT_SCORE"
if [ "$PYLINT_SCORE" != "10.00" ]
then
git add pylint.svg

View File

@@ -69,7 +69,7 @@ def pylint_badge(int_only):
f"Created Pylint badge for score: {pylint_score}", fg="blue", bold=True
)
if int_only:
click.secho(pylint_score)
click.echo(pylint_score)
except ImportError as error_exception:
click.secho(f"Import error:\n{error_exception}", fg="red", bold=True)