def __init__(self, working_dir=None, ignore_repos=None, verbose=True):
        if working_dir is None:
            self.repo_dirs = set([x[0].split('.git')[0] for x in os.walk(os.getcwd()) if x[0] in '.git'])
        elif isinstance(working_dir, list):
            self.repo_dirs = working_dir
        else:
            self.repo_dirs = set([x[0].split('.git')[0] for x in os.walk(working_dir) if '.git' in x[0]])

        self.repos = [Repository(r, verbose=verbose) for r in self.repo_dirs]

        if ignore_repos is not None:
            self.repos = [x for x in self.repos if x._repo_name not in ignore_repos]
dataset/ETHPy150Open wdm0006/git-pandas/gitpandas/project.py/ProjectDirectory.__init__/swapped operands of `in`