load pre-commit in a consistent way - fix travis