def review(self):
        """Pull request must have at least QUORUM number of reviews to pass the validation."""
        pending = self.pending_reviews()
        if pending == 0:
            msg = _['quorum_success_status_desc'] % QUORUM
            resp = self.set_success_commit_status(msg)
            return msg, resp.status_code

        msg = _['quorum_pending_status_desc'] % (pending, QUORUM)
        resp = self.set_pending_commit_status(msg)
        return msg, resp.status_code
dataset/ETHPy150Open gabrielhora/github_reviewer/reviewer/reviewers.py/QuorumReviewer.review/original