From f4c17a3f69f0c374aa7408b0aebb39036c92eb32 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Mon, 17 Jun 2019 01:40:18 -0700 Subject: [PATCH] restructure CI git operations --- tests/check_code.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/check_code.sh b/tests/check_code.sh index b2b42a6..0b0a363 100755 --- a/tests/check_code.sh +++ b/tests/check_code.sh @@ -7,7 +7,7 @@ setup_git() { check_format() { black hyperglass - git checkout origin/master + git checkout master git add hyperglass/ *.py git commit --message "Black Formatting - travis #$TRAVIS_BUILD_NUMBER" echo "Completed Black Formatting" @@ -16,7 +16,7 @@ check_format() { check_pylint() { PYLINT_SCORE=$(python3 manage.py pylint-badge --integer-only True) echo "Pylint score: $PYLINT_SCORE" - git checkout origin/master + git checkout master git add pylint.svg git commit --message "Pylint Badge - travis #$TRAVIS_BUILD_NUMBER" echo "Completed Pylint Check & Badge Creation"