mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
Black Formatting - travis #
This commit is contained in:
@@ -18,6 +18,7 @@ run_pylint() {
|
|||||||
|
|
||||||
check_pylint() {
|
check_pylint() {
|
||||||
PYLINT_SCORE=$(run_pylint)
|
PYLINT_SCORE=$(run_pylint)
|
||||||
|
echo "Pylint score: $PYLINT_SCORE"
|
||||||
if [ "$PYLINT_SCORE" != "10.00" ]
|
if [ "$PYLINT_SCORE" != "10.00" ]
|
||||||
then
|
then
|
||||||
git add pylint.svg
|
git add pylint.svg
|
||||||
|
@@ -69,7 +69,7 @@ def pylint_badge(int_only):
|
|||||||
f"Created Pylint badge for score: {pylint_score}", fg="blue", bold=True
|
f"Created Pylint badge for score: {pylint_score}", fg="blue", bold=True
|
||||||
)
|
)
|
||||||
if int_only:
|
if int_only:
|
||||||
click.secho(pylint_score)
|
click.echo(pylint_score)
|
||||||
except ImportError as error_exception:
|
except ImportError as error_exception:
|
||||||
click.secho(f"Import error:\n{error_exception}", fg="red", bold=True)
|
click.secho(f"Import error:\n{error_exception}", fg="red", bold=True)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user