def is_git_repo():
 gitfolder = os.path.join(qutebrowser.basedir, os.path.pardir, '.git')
 return os.path.isdir(gitfolder)

def is_git_repo ( ) : gitfolder = os . path . join ( qutebrowser . basedir , os . path . pardir , '.git' ) return os . path . isdir ( gitfolder )
does the current nipype module have a git folder .