Package buildbot :: Package steps :: Module python_twisted :: Class HLint
[frames] | no frames]

Class HLint

source code

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

I run a 'lint' checker over a set of .xhtml files. Any deviations from recommended style is flagged and put in the output log.

This step looks at .changes in the parent Build to extract a list of Lore XHTML files to check.

Instance Methods
 
__init__(self, python=None, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
start(self) source code
 
commandComplete(self, cmd) source code
 
evaluateCommand(self, cmd) source code
 
getText2(self, cmd, results) source code

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

Inherited from process.buildstep.LoggingBuildStep: addLogFile, checkDisconnect, createSummary, getText, 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 = 'hlint'
  description = ['running', 'hlint']
  descriptionDone = ['hlint']
  warnOnWarnings = True
  warnOnFailure = True
  warnings = 0

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

Instance Variables

Inherited from shell.ShellCommand: command, lazylogfiles, logfiles

Properties

Inherited from object: __class__

Method Details

__init__(self, python=None, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

start(self)

source code 
Overrides: process.buildstep.BuildStep.start

commandComplete(self, cmd)

source code 
Overrides: process.buildstep.LoggingBuildStep.commandComplete

evaluateCommand(self, cmd)

source code 
Overrides: process.buildstep.LoggingBuildStep.evaluateCommand

getText2(self, cmd, results)

source code 
Overrides: process.buildstep.LoggingBuildStep.getText2