code: def display_reports(self, layout):
          
          try:
              score = self.linter.stats['global_note']
          except (AttributeError, KeyError):
              pass
          else:
              self.tc.message('buildStatisticValue', key='PyLintScore', value=str(score))
docs: Issues the final PyLint score as a TeamCity build statistic value