def Lint(self):
    """Lints a review.

    Returns:
      A boolean value to indicate if the lint was successful.
    """
    if self._project_name == u'l2tdocs':
      return True

    if (u'create', u'merge', u'lint', u'update') not in self._command:
      return True

    pylint_helper = PylintHelper()
    if not pylint_helper.CheckUpToDateVersion():
      print(u'{0:s} aborted - pylint verion 1.5.0 or later required.'.format(
          self._command.title()))
      return False

    if self._command == u'merge':
      fork_git_repo_url = self._github_helper.GetForkGitRepoUrl(
          self._fork_username)

      if not self._git_helper.PullFromFork(
          fork_git_repo_url, self._fork_feature_branch):
        print(u'{0:s} aborted - unable to pull changes from fork.'.format(
            self._command.title()))
        return False

    if self._all_files:
      diffbase = None
    elif self._command == u'merge':
      diffbase = u'origin/master'
    else:
      diffbase = self._diffbase

    changed_python_files = self._git_helper.GetChangedPythonFiles(
        diffbase=diffbase)

    if not pylint_helper.CheckFiles(changed_python_files):
      print(u'{0:s} aborted - unable to pass linter.'.format(
          self._command.title()))

      if self._command == u'merge':
        self._git_helper.DropUncommittedChanges()
      return False

    return True
dataset/ETHPy150Open log2timeline/dfvfs/utils/review.py/ReviewHelper.Lint/swapped operands of `not in`