forked from mirrors/thatmattlove-hyperglass
Black Formatting - travis #
This commit is contained in:
parent
a0d295a8e2
commit
d2b40c1afd
2 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue