1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-17 08:48:05 +00:00

Black Formatting - travis #

This commit is contained in:
checktheroads 2019-06-16 16:04:00 -07:00
parent d6bc16d40d
commit a0d295a8e2

View file

@ -9,6 +9,7 @@ check_format() {
black hyperglass
git add hyperglass/ *.py
git commit --message "Black Formatting - travis #$TRAVIS_BUILD_NUMBER"
echo "Completed Black Formatting"
}
run_pylint() {
@ -17,10 +18,11 @@ run_pylint() {
check_pylint() {
PYLINT_SCORE=$(run_pylint)
if [ "$PYLINT_SCORE" != "10.00" ];
if [ "$PYLINT_SCORE" != "10.00" ]
then
git add pylint.svg
git commit --message "Pylint Badge - travis #$TRAVIS_BUILD_NUMBER"
echo "Completed Pylint Check & Badge Creation"
fi
}