Exemplo n.º 1
0
 def run(self, argv):
     output = _FilteredStringIO(self.FALSE_POSITIVES)
     with OutputCaptureScope():
         from webkitpy.thirdparty.autoinstalled.pylint import lint
         from webkitpy.thirdparty.autoinstalled.pylint.reporters.text import ParseableTextReporter
         lint.Run(['--rcfile', self._pylintrc] + argv, reporter=ParseableTextReporter(output=output), exit=False)
     return output
Exemplo n.º 2
0
 def run(self, argv):
     output = _FilteredStringIO(self.FALSE_POSITIVES)
     lint.Run(['--rcfile', self._pylintrc] + argv, reporter=ParseableTextReporter(output=output), exit=False)
     return output