def pending_reviews(self):
        """Get number of pending reviews from comments."""
        pending = QUORUM
        comments = self.get_comments()
        for comment in comments:
            username = comment['user']['login']
            if (approve_regex.search(comment['body'])
                    and (username in QUORUM_USERS or len(QUORUM_USERS) == 0)):
                pending = 1 - pending
        return pending
dataset/ETHPy150Open gabrielhora/github_reviewer/reviewer/reviewers.py/QuorumReviewer.pending_reviews/swapped operands of `-`