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

Class PyLint

source code

                            object --+            
                                     |            
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, releaseLocks, runCommand, setBuildSlave, setProgress, setupProgress, slaveVersion, slaveVersionIsOlderThan, startStep

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

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

Static Methods

Inherited from process.buildstep.BuildStep: __new__

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: descriptionSuffix, 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

Properties

Inherited from object: __class__

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'}