This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python2 | |
""" | |
Referencing current branch in github README.md | |
This pre-commit hook updates the README.md file's | |
Travis and CodeCov badges with the current branch. | |
""" | |
import subprocess | |
# Hard-Coded for your repo (ToDo: get from remote?) |