Package buildbot :: Package steps :: Module python :: Class PyLint
[frames] | no frames]

Class PyLint

source code

process.properties.PropertiesMixin --+            
                                     |            
           process.buildstep.BuildStep --+        
                                         |        
        process.buildstep.LoggingBuildStep --+    
                                             |    
                            shell.ShellCommand --+
                                                 |
                                                PyLint

A command that knows about pylint output. It is a good idea to add --output-format=parseable to your command, since it includes the filename in the message.

Instance Methods
 
createSummary(self, log) source code
 
evaluateCommand(self, cmd) source code

Inherited from shell.ShellCommand: __init__, buildCommandKwargs, describe, getWorkdir, setBuild, setCommand, setDefaultWorkdir, setStepStatus, setupEnvironment, start

Inherited from process.buildstep.LoggingBuildStep: addLogFile, checkDisconnect, commandComplete, getText, getText2, interrupt, maybeGetText2, setStatus, setupLogfiles, startCommand

Inherited from process.buildstep.BuildStep: __provides__, acquireLocks, addCompleteLog, addFactoryArguments, addHTMLLog, addLog, addLogObserver, addURL, failed, finished, getLog, getSlaveName, getStepFactory, releaseLocks, runCommand, setBuildSlave, setProgress, setupProgress, slaveVersion, slaveVersionIsOlderThan, startStep

Inherited from process.properties.PropertiesMixin: __providedBy__, getProperties, getProperty, hasProperty, has_key, render, setProperty

Class Variables
  name = 'pylint'
  description = ['running', 'pylint']
  descriptionDone = ['pylint']
  RC_OK = 0
  RC_FATAL = 1
  RC_ERROR = 2
  RC_WARNING = 4
  RC_REFACTOR = 8
  RC_CONVENTION = 16
  RC_USAGE = 32
  MESSAGES = {'C': 'convention', 'E': 'error', 'F': 'fatal', 'I'...
  flunkingIssues = ['F', 'E']

Inherited from shell.ShellCommand: flunkOnFailure, renderables

Inherited from process.buildstep.LoggingBuildStep: cmd, parms, progressMetrics

Inherited from process.buildstep.BuildStep: __implemented__, alwaysRun, build, doStepIf, flunkOnWarnings, haltOnFailure, hideStepIf, locks, progress, set_runtime_properties, step_status, useProgress, warnOnFailure, warnOnWarnings

Instance Variables

Inherited from shell.ShellCommand: command, lazylogfiles, logfiles

Method Details

createSummary(self, log)

source code 
Overrides: process.buildstep.LoggingBuildStep.createSummary

evaluateCommand(self, cmd)

source code 
Overrides: process.buildstep.LoggingBuildStep.evaluateCommand

Class Variable Details

MESSAGES

Value:
{'C': 'convention',
 'E': 'error',
 'F': 'fatal',
 'I': 'info',
 'R': 'refactor',
 'W': 'warning'}