Use return to alternative `sys.exit` in `check_repo`
Use return to alternative `sys.exit` in `check_repo`

In a web project, I need check some code except Python with pre-commit
hook. If I DO NOT edit the Python files, the check will not run or exit
with 0 directly.

sebdah/git-pylint-commit-hook