def should_use_ctags(self, git_repo, git_commit):
        if self.ctags_policy == 'none':
            return False
        elif self.ctags_policy == 'ALL':
            return True
        elif self.ctags_policy == 'tags-and-branches':
            return git_repo.get_tag_and_branch_shas() in git_commit.id
        else:
            raise ValueError("Unknown ctags policy %r" % self.ctags_policy)
dataset/ETHPy150Open jonashaag/klaus/klaus/__init__.py/Klaus.should_use_ctags/swapped operands of `in`