diff --git a/README.md b/README.md index 87a87b7..0b283a6 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ ## Documentation -Documentation can be found [here](https://hyperglass.readthedocs.io), or in the `docs/` directory. +[Documentation can be found here](https://hyperglass.readthedocs.io). ## Preview diff --git a/tests/ci_git.sh b/tests/ci_git.sh index 7dbfa62..258a597 100755 --- a/tests/ci_git.sh +++ b/tests/ci_git.sh @@ -1,12 +1,23 @@ #!/bin/sh -setup_git() { - git config --global user.email "travis@travis-ci.org" - git config --global user.name "Travis CI" +commit_black() { git add hyperglass/ *.py git commit --message "Black Formatting - travis $TRAVIS_BUILD_NUMBER" +} + +commit_pylint() { git add pylint.svg git commit --message "Pylint Badge - travis $TRAVIS_BUILD_NUMBER" } +setup_git() { + git config --global user.email "travis@travis-ci.org" + git config --global user.name "Travis CI" +} + setup_git +commit_black +commit_pylint + +if [ $? -ne 0 ]; then + exit 0