Skip to content

Instantly share code, notes, and snippets.

@vrutsky
Last active December 25, 2015 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vrutsky/7049307 to your computer and use it in GitHub Desktop.
Save vrutsky/7049307 to your computer and use it in GitHub Desktop.
pep8 v1.4.6 output for `pep8 --show-source --statistics --count .`
This file has been truncated, but you can view the full file.
./slave/setup.py:37:1: E302 expected 2 blank lines, found 1
class our_install_data(install_data):
^
./slave/setup.py:41:13: E128 continuation line under-indented for visual indent
('install_lib', 'install_dir'),
^
./slave/setup.py:52:1: E302 expected 2 blank lines, found 1
class our_sdist(sdist):
^
./slave/setup.py:117:22: E261 at least two spaces before inline comment
import setuptools #@UnusedImport
^
./slave/setup.py:117:23: E262 inline comment should start with '# '
import setuptools #@UnusedImport
^
./slave/buildslave/bot.py:32:1: E302 expected 2 blank lines, found 1
class UnknownCommand(pb.Error):
^
./slave/buildslave/bot.py:35:1: E302 expected 2 blank lines, found 1
class SlaveBuilder(pb.Referenceable, service.Service):
^
./slave/buildslave/bot.py:135:33: W602 deprecated form of raising exception
raise UnknownCommand, "unrecognized SlaveCommand '%s'" % command
^
./slave/buildslave/bot.py:138:54: E231 missing whitespace after ','
log.msg(" startCommand:%s [id %s]" % (command,stepId))
^
./slave/buildslave/bot.py:158:5: E303 too many blank lines (2)
def stopCommand(self):
^
./slave/buildslave/bot.py:166:35: E261 at least two spaces before inline comment
self.command.doInterrupt() # shut up! and die!
^
./slave/buildslave/bot.py:167:28: E261 at least two spaces before inline comment
self.command = None # forget you!
^
./slave/buildslave/bot.py:193:24: E261 at least two spaces before inline comment
self.activity() # update the "last activity" timer
^
./slave/buildslave/bot.py:196:24: E261 at least two spaces before inline comment
self.activity() # update the "last activity" timer
^
./slave/buildslave/bot.py:200:21: E261 at least two spaces before inline comment
log.err(why) # we don't really care
^
./slave/buildslave/bot.py:204:5: E303 too many blank lines (2)
def commandComplete(self, failure):
^
./slave/buildslave/bot.py:227:5: E303 too many blank lines (2)
def remote_shutdown(self):
^
./slave/buildslave/bot.py:229:80: E501 line too long (80 > 79 characters)
log.msg("NOTE: master is using deprecated slavebuilder.shutdown method")
^
./slave/buildslave/bot.py:242:80: E501 line too long (90 > 79 characters)
self.unicode_encoding = unicode_encoding or sys.getfilesystemencoding() or 'ascii'
^
./slave/buildslave/bot.py:259:29: E201 whitespace after '['
wanted_names = set([ name for (name, builddir) in wanted ])
^
./slave/buildslave/bot.py:259:65: E202 whitespace before ']'
wanted_names = set([ name for (name, builddir) in wanted ])
^
./slave/buildslave/bot.py:260:28: E201 whitespace after '['
wanted_dirs = set([ builddir for (name, builddir) in wanted ])
^
./slave/buildslave/bot.py:260:68: E202 whitespace before ']'
wanted_dirs = set([ builddir for (name, builddir) in wanted ])
^
./slave/buildslave/bot.py:266:78: E502 the backslash is redundant between brackets
log.msg("changing builddir for builder %s from %s to %s" \
^
./slave/buildslave/bot.py:282:34: E202 whitespace before ']'
for name in to_remove ])
^
./slave/buildslave/bot.py:331:80: E501 line too long (80 > 79 characters)
# so we'll just wait a bit, in hopes the master hears back. Masters are
^
./slave/buildslave/bot.py:336:1: E302 expected 2 blank lines, found 1
class BotFactory(ReconnectingPBClientFactory):
^
./slave/buildslave/bot.py:344:29: E261 at least two spaces before inline comment
keepaliveInterval = None # None = do not use keepalives
^
./slave/buildslave/bot.py:361:80: E501 line too long (91 > 79 characters)
# NOTE: this class does not actually make the TCP connections - this information is
^
./slave/buildslave/bot.py:372:80: E501 line too long (90 > 79 characters)
log.msg("Connected to %s:%s; slave is ready" % (self.buildmaster_host, self.port))
^
./slave/buildslave/bot.py:383:77: E502 the backslash is redundant between brackets
log.msg("sending application-level keepalives every %d seconds" \
^
./slave/buildslave/bot.py:392:80: E501 line too long (91 > 79 characters)
log.msg("Connection to %s:%s failed: %s" % (self.buildmaster_host, self.port, why))
^
./slave/buildslave/bot.py:397:80: E501 line too long (80 > 79 characters)
log.msg("Lost connection to %s:%s" % (self.buildmaster_host, self.port))
^
./slave/buildslave/bot.py:483:80: E501 line too long (84 > 79 characters)
log.msg("Watching %s's mtime to initiate shutdown" % self.shutdown_file)
^
./slave/buildslave/bot.py:503:37: E261 at least two spaces before inline comment
hostname = os.uname()[1] # only on unix
^
./slave/buildslave/bot.py:521:80: E501 line too long (86 > 79 characters)
log.msg("Initiating shutdown because %s was touched" % self.shutdown_file)
^
./slave/buildslave/bot.py:537:80: E501 line too long (95 > 79 characters)
log.msg("Telling the master we want to shutdown after any running builds are finished")
^
./slave/buildslave/bot.py:539:9: E301 expected 1 blank line, found 0
def _shutdownfailed(err):
^
./slave/buildslave/bot.py:541:80: E501 line too long (131 > 79 characters)
log.msg("Master does not support slave initiated shutdown. Upgrade master to 0.8.3 or later to use this feature.")
^
./slave/buildslave/exceptions.py:16:1: E302 expected 2 blank lines, found 1
class AbandonChain(Exception):
^
./slave/buildslave/interfaces.py:22:1: E302 expected 2 blank lines, found 1
class ISlaveCommand(Interface):
^
./slave/buildslave/pbutil.py:27:1: E302 expected 2 blank lines, found 1
class ReconnectingPBClientFactory(PBClientFactory,
^
./slave/buildslave/pbutil.py:81:27: W602 deprecated form of raising exception
raise RuntimeError, "login is one-shot: use startLogin instead"
^
./slave/buildslave/pbutil.py:92:17: E128 continuation line under-indented for visual indent
errbackArgs=(broker,))
^
./slave/buildslave/pbutil.py:98:9: E301 expected 1 blank line, found 0
def hungConnection():
^
./slave/buildslave/pbutil.py:99:80: E501 line too long (81 > 79 characters)
log.msg("connection attempt timed out (is the port number correct?)")
^
./slave/buildslave/pbutil.py:103:80: E501 line too long (98 > 79 characters)
self.hungConnectionTimer = reactor.callLater(self.HUNG_CONNECTION_TIMEOUT, hungConnection)
^
./slave/buildslave/runprocess.py:41:1: E302 expected 2 blank lines, found 1
def shell_quote(cmd_list):
^
./slave/buildslave/runprocess.py:54:26: E201 whitespace after '['
return " ".join([ `e` for e in cmd_list ])
^
./slave/buildslave/runprocess.py:54:27: W604 backticks are deprecated, use 'repr()'
return " ".join([ `e` for e in cmd_list ])
^
./slave/buildslave/runprocess.py:54:48: E202 whitespace before ']'
return " ".join([ `e` for e in cmd_list ])
^
./slave/buildslave/runprocess.py:57:9: E301 expected 1 blank line, found 0
def quote(e):
^
./slave/buildslave/runprocess.py:61:26: E201 whitespace after '['
return " ".join([ quote(e) for e in cmd_list ])
^
./slave/buildslave/runprocess.py:61:53: E202 whitespace before ']'
return " ".join([ quote(e) for e in cmd_list ])
^
./slave/buildslave/runprocess.py:63:1: E302 expected 2 blank lines, found 1
class LogFileWatcher:
^
./slave/buildslave/runprocess.py:109:23: E261 at least two spaces before inline comment
return # not started yet
^
./slave/buildslave/runprocess.py:115:23: E261 at least two spaces before inline comment
return # no file to work with
^
./slave/buildslave/runprocess.py:133:80: E501 line too long (80 > 79 characters)
"""Simple subclass of Process to also make the spawned process a process
^
./slave/buildslave/runprocess.py:139:80: E501 line too long (82 > 79 characters)
# this will cause the child to be the leader of its own process group;
^
./slave/buildslave/runprocess.py:140:80: E501 line too long (81 > 79 characters)
# it's also spelled setpgrp() on BSD, but this spelling seems to work
^
./slave/buildslave/runprocess.py:169:26: E701 multiple statements on one line (colon)
if self.debug: log.msg(" writing to stdin")
^
./slave/buildslave/runprocess.py:171:22: E701 multiple statements on one line (colon)
if self.debug: log.msg(" closing stdin")
^
./slave/buildslave/runprocess.py:193:80: E501 line too long (86 > 79 characters)
# sometimes, even when we kill a process, GetExitCodeProcess will still return
^
./slave/buildslave/runprocess.py:195:80: E501 line too long (121 > 79 characters)
# http://stackoverflow.com/questions/2061735/42-passed-to-terminateprocess-sometimes-getexitcodeprocess-returns-0
^
./slave/buildslave/runprocess.py:197:80: E501 line too long (85 > 79 characters)
log.msg("process was killed, but exited with status 0; faking a failure")
^
./slave/buildslave/runprocess.py:198:80: E501 line too long (85 > 79 characters)
# windows returns '1' even for signalled failures, while POSIX returns -1
^
./slave/buildslave/runprocess.py:231:80: E501 line too long (80 > 79 characters)
# Then changes to the system clock during a run wouldn't effect the "elapsed
^
./slave/buildslave/runprocess.py:258:51: W291 trailing whitespace
command = [util.Obfuscated(w[1], w[2])
^
./slave/buildslave/runprocess.py:259:80: E501 line too long (89 > 79 characters)
if (isinstance(w, tuple) and len(w) == 3 and w[0] == 'obfuscated')
^
./slave/buildslave/runprocess.py:271:9: E301 expected 1 blank line, found 0
def to_str(cmd):
^
./slave/buildslave/runprocess.py:294:80: E501 line too long (81 > 79 characters)
# Need to do os.pathsep translation. We could either do that
^
./slave/buildslave/runprocess.py:301:23: W601 .has_key() is deprecated, use 'in'
if environ.has_key('PYTHONPATH'):
^
./slave/buildslave/runprocess.py:306:13: E301 expected 1 blank line, found 0
def subst(match):
^
./slave/buildslave/runprocess.py:310:80: E501 line too long (81 > 79 characters)
# setting a key to None will delete it from the slave environment
^
./slave/buildslave/runprocess.py:317:33: E128 continuation line under-indented for visual indent
"lists; key '%s' is incorrect" % (key,))
^
./slave/buildslave/runprocess.py:321:14: E261 at least two spaces before inline comment
else: # not environ
^
./slave/buildslave/runprocess.py:349:80: E501 line too long (89 > 79 characters)
self.sendStatus({'header': "WARNING: disabling usePTY for this command"})
^
./slave/buildslave/runprocess.py:352:80: E501 line too long (83 > 79 characters)
# use an explicit process group on POSIX, noting that usePTY always implies
^
./slave/buildslave/runprocess.py:361:17: E231 missing whitespace after ','
for name,filevalue in self.logfiles.items():
^
./slave/buildslave/runprocess.py:408:69: E502 the backslash is redundant between brackets
self._addToBuffers('header', "command '%s' in dir %s" % \
^
./slave/buildslave/runprocess.py:409:30: E128 continuation line under-indented for visual indent
(self.fake_command, self.workdir))
^
./slave/buildslave/runprocess.py:418:36: E221 multiple spaces before operator
if runtime.platformType == 'win32':
^
./slave/buildslave/runprocess.py:419:53: E261 at least two spaces before inline comment
argv = os.environ['COMSPEC'].split() # allow %COMSPEC% to have args
^
./slave/buildslave/runprocess.py:419:80: E501 line too long (83 > 79 characters)
argv = os.environ['COMSPEC'].split() # allow %COMSPEC% to have args
^
./slave/buildslave/runprocess.py:420:36: E701 multiple statements on one line (colon)
if '/c' not in argv: argv += ['/c']
^
./slave/buildslave/runprocess.py:429:80: E501 line too long (84 > 79 characters)
# On windows, CreateProcess requires an absolute path to the executable.
^
./slave/buildslave/runprocess.py:430:80: E501 line too long (81 > 79 characters)
# When we call spawnProcess below, we pass argv[0] as the executable.
^
./slave/buildslave/runprocess.py:431:80: E501 line too long (81 > 79 characters)
# So, for .exe's that we have absolute paths to, we can call directly
^
./slave/buildslave/runprocess.py:435:80: E501 line too long (98 > 79 characters)
(self.command[0].lower().endswith(".exe") and os.path.isabs(self.command[0])):
^
./slave/buildslave/runprocess.py:436:53: E261 at least two spaces before inline comment
argv = os.environ['COMSPEC'].split() # allow %COMSPEC% to have args
^
./slave/buildslave/runprocess.py:436:80: E501 line too long (83 > 79 characters)
argv = os.environ['COMSPEC'].split() # allow %COMSPEC% to have args
^
./slave/buildslave/runprocess.py:437:36: E701 multiple statements on one line (colon)
if '/c' not in argv: argv += ['/c']
^
./slave/buildslave/runprocess.py:442:80: E501 line too long (91 > 79 characters)
# Attempt to format this for use by a shell, although the process isn't perfect
^
./slave/buildslave/runprocess.py:511:34: E121 continuation line indentation is not a multiple of four
self.pp, argv[0], argv,
^
./slave/buildslave/runprocess.py:512:34: E121 continuation line indentation is not a multiple of four
self.environ,
^
./slave/buildslave/runprocess.py:513:34: E121 continuation line indentation is not a multiple of four
self.workdir,
^
./slave/buildslave/runprocess.py:514:34: E121 continuation line indentation is not a multiple of four
usePTY=self.usePTY)
^
./slave/buildslave/runprocess.py:519:80: E501 line too long (87 > 79 characters)
self.ioTimeoutTimer = self._reactor.callLater(self.timeout, self.doTimeout)
^
./slave/buildslave/runprocess.py:522:80: E501 line too long (91 > 79 characters)
self.maxTimeoutTimer = self._reactor.callLater(self.maxTime, self.doMaxTimeout)
^
./slave/buildslave/runprocess.py:528:13: E128 continuation line under-indented for visual indent
path=None, uid=None, gid=None, usePTY=False, childFDs=None):
^
./slave/buildslave/runprocess.py:536:37: E128 continuation line under-indented for visual indent
processProtocol, uid, gid, childFDs)
^
./slave/buildslave/runprocess.py:547:13: E128 continuation line under-indented for visual indent
path, usePTY):
^
./slave/buildslave/runprocess.py:551:40: E231 missing whitespace after ','
tf = NamedTemporaryFile(dir='.',suffix=".bat",delete=False)
^
./slave/buildslave/runprocess.py:551:54: E231 missing whitespace after ','
tf = NamedTemporaryFile(dir='.',suffix=".bat",delete=False)
^
./slave/buildslave/runprocess.py:553:18: E201 whitespace after '('
tf.write( "@echo off\n" )
^
./slave/buildslave/runprocess.py:553:32: E202 whitespace before ')'
tf.write( "@echo off\n" )
^
./slave/buildslave/runprocess.py:555:22: E201 whitespace after '('
tf.write( self.command )
^
./slave/buildslave/runprocess.py:555:35: E202 whitespace before ')'
tf.write( self.command )
^
./slave/buildslave/runprocess.py:559:43: E231 missing whitespace after ','
return arg.replace('|','^|')
^
./slave/buildslave/runprocess.py:563:22: E201 whitespace after '('
tf.write( quoteArguments(cmd) )
^
./slave/buildslave/runprocess.py:563:42: E202 whitespace before ')'
tf.write( quoteArguments(cmd) )
^
./slave/buildslave/runprocess.py:566:45: E261 at least two spaces before inline comment
argv = os.environ['COMSPEC'].split() # allow %COMSPEC% to have args
^
./slave/buildslave/runprocess.py:567:28: E701 multiple statements on one line (colon)
if '/c' not in argv: argv += ['/c']
^
./slave/buildslave/runprocess.py:647:35: E701 multiple statements on one line (colon)
if len(chunk) == 0: continue
^
./slave/buildslave/runprocess.py:680:80: E501 line too long (101 > 79 characters)
self.sendBuffersTimer = self._reactor.callLater(self.BUFFER_TIMEOUT, self._bufferTimeout)
^
./slave/buildslave/runprocess.py:701:28: E201 whitespace after '('
self._addToBuffers( ('log', name), data)
^
./slave/buildslave/runprocess.py:708:80: E501 line too long (112 > 79 characters)
log.msg("command finished with signal %s, exit code %s, elapsedTime: %0.6f" % (sig,rc,self.elapsedTime))
^
./slave/buildslave/runprocess.py:708:91: E231 missing whitespace after ','
log.msg("command finished with signal %s, exit code %s, elapsedTime: %0.6f" % (sig,rc,self.elapsedTime))
^
./slave/buildslave/runprocess.py:708:94: E231 missing whitespace after ','
log.msg("command finished with signal %s, exit code %s, elapsedTime: %0.6f" % (sig,rc,self.elapsedTime))
^
./slave/buildslave/runprocess.py:755:24: E261 at least two spaces before inline comment
return True # dead
^
./slave/buildslave/runprocess.py:756:21: E261 at least two spaces before inline comment
return False # alive
^
./slave/buildslave/runprocess.py:779:40: E128 continuation line under-indented for visual indent
self.doBackupTimeout)
^
./slave/buildslave/runprocess.py:785:40: E225 missing whitespace around operator
sig = getattr(signal, "SIG"+ interruptSignal, None)
^
./slave/buildslave/runprocess.py:795:49: E127 continuation line over-indented for visual indent
(self.process.pgid,))
^
./slave/buildslave/runprocess.py:804:80: E501 line too long (81 > 79 characters)
# probably no-such-process, maybe because there is no process
^
./slave/buildslave/runprocess.py:809:32: E711 comparison to None should be 'if cond is None:'
if interruptSignal == None:
^
./slave/buildslave/runprocess.py:813:80: E501 line too long (86 > 79 characters)
log.msg("using TASKKILL PID /T to kill pid %s" % self.process.pid)
^
./slave/buildslave/runprocess.py:814:80: E501 line too long (83 > 79 characters)
subprocess.check_call("TASKKILL /PID %s /T" % self.process.pid)
^
./slave/buildslave/runprocess.py:818:80: E501 line too long (89 > 79 characters)
log.msg("using TASKKILL PID /F /T to kill pid %s" % self.process.pid)
^
./slave/buildslave/runprocess.py:819:80: E501 line too long (86 > 79 characters)
subprocess.check_call("TASKKILL /F /PID %s /T" % self.process.pid)
^
./slave/buildslave/runprocess.py:826:80: E501 line too long (82 > 79 characters)
log.msg("trying process.signalProcess('%s')" % (interruptSignal,))
^
./slave/buildslave/runprocess.py:858:80: E501 line too long (92 > 79 characters)
self.sigtermTimer = self._reactor.callLater(self.sigtermTime, self.checkProcess)
^
./slave/buildslave/runprocess.py:874:80: E501 line too long (112 > 79 characters)
for timerName in ('ioTimeoutTimer', 'killTimer', 'maxTimeoutTimer', 'sendBuffersTimer', 'sigtermTimer'):
^
./slave/buildslave/util.py:19:1: E302 expected 2 blank lines, found 1
def remove_userpassword(url):
^
./slave/buildslave/util.py:38:1: E302 expected 2 blank lines, found 1
class Obfuscated:
^
./slave/buildslave/util.py:48:16: W604 backticks are deprecated, use 'repr()'
return `self.fake`
^
./slave/buildslave/util.py:52:21: E126 continuation line over-indented for hanging indent
other.real == self.real and \
^
./slave/buildslave/util.py:53:21: E126 continuation line over-indented for hanging indent
other.fake == self.fake
^
./slave/buildslave/util.py:65:26: E721 do not compare types, use 'isinstance()'
if type(command) == types.ListType:
^
./slave/buildslave/util.py:77:26: E721 do not compare types, use 'isinstance()'
if type(command) == types.ListType:
^
./slave/buildslave/util.py:85:1: W391 blank line at end of file
^
./slave/buildslave/commands/base.py:69:1: E302 expected 2 blank lines, found 1
class Command:
^
./slave/buildslave/commands/base.py:128:20: E261 at least two spaces before inline comment
running = False # set by Builder, cleared on shutdown or when the
^
./slave/buildslave/commands/base.py:135:29: E261 at least two spaces before inline comment
self.stepId = stepId # just for logging
^
./slave/buildslave/commands/base.py:148:9: E301 expected 1 blank line, found 0
def commandComplete(res):
^
./slave/buildslave/commands/base.py:149:80: E501 line too long (82 > 79 characters)
self.sendStatus({"elapsed": util.now(self._reactor) - self.startTime})
^
./slave/buildslave/commands/base.py:161:34: W602 deprecated form of raising exception
raise NotImplementedError, "You must implement this in a subclass"
^
./slave/buildslave/commands/base.py:186:71: E502 the backslash is redundant between brackets
log.msg("weird, _abandonOnFailure was given rc=%s (%s)" % \
^
./slave/buildslave/commands/base.py:203:1: E302 expected 2 blank lines, found 1
class SourceBaseCommand(Command):
^
./slave/buildslave/commands/base.py:213:80: E501 line too long (88 > 79 characters)
- ['revision']: (required) If not None, this is an int or string which indicates
^
./slave/buildslave/commands/base.py:257:48: E231 missing whitespace after ','
self.logEnviron = args.get('logEnviron',True)
^
./slave/buildslave/commands/base.py:270:42: E203 whitespace before ':'
self.sendStatus({'stderr' : "could not find '%s'\n" % name})
^
./slave/buildslave/commands/base.py:271:42: E203 whitespace before ':'
self.sendStatus({'stderr' : "PATH is '%s'\n" % os.environ.get('PATH', '')})
^
./slave/buildslave/commands/base.py:271:80: E501 line too long (91 > 79 characters)
self.sendStatus({'stderr' : "PATH is '%s'\n" % os.environ.get('PATH', '')})
^
./slave/buildslave/commands/base.py:281:35: E261 at least two spaces before inline comment
self.srcdir = "source" # hardwired directory name, sorry
^
./slave/buildslave/commands/base.py:286:13: E128 continuation line under-indented for visual indent
".buildbot-sourcedata-" + b64encode(self.srcdir))
^
./slave/buildslave/commands/base.py:289:80: E501 line too long (93 > 79 characters)
old_sd_path = os.path.join(self.builder.basedir, self.srcdir, ".buildbot-sourcedata")
^
./slave/buildslave/commands/base.py:290:80: E501 line too long (83 > 79 characters)
if os.path.exists(old_sd_path) and not os.path.exists(self.sourcedatafile):
^
./slave/buildslave/commands/base.py:295:80: E501 line too long (80 > 79 characters)
old_sd_path = os.path.join(self.builder.basedir, ".buildbot-sourcedata")
^
./slave/buildslave/commands/base.py:296:80: E501 line too long (83 > 79 characters)
if os.path.exists(old_sd_path) and not os.path.exists(self.sourcedatafile):
^
./slave/buildslave/commands/base.py:451:27: E261 at least two spaces before inline comment
return res # don't re-try interrupted builds
^
./slave/buildslave/commands/base.py:483:13: E301 expected 1 blank line, found 0
def cb(_):
^
./slave/buildslave/commands/base.py:484:25: E261 at least two spaces before inline comment
return 0 # rc=0
^
./slave/buildslave/commands/base.py:485:13: E301 expected 1 blank line, found 0
def eb(f):
^
./slave/buildslave/commands/base.py:486:42: E203 whitespace before ':'
self.sendStatus({'header' : 'exception from rmdirRecursive\n' + f.getTraceback()})
^
./slave/buildslave/commands/base.py:486:80: E501 line too long (98 > 79 characters)
self.sendStatus({'header' : 'exception from rmdirRecursive\n' + f.getTraceback()})
^
./slave/buildslave/commands/base.py:487:26: E261 at least two spaces before inline comment
return -1 # rc=-1
^
./slave/buildslave/commands/base.py:492:26: E128 continuation line under-indented for visual indent
sendRC=0, timeout=self.timeout, maxTime=self.maxTime,
^
./slave/buildslave/commands/base.py:493:26: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron, usePTY=False)
^
./slave/buildslave/commands/base.py:515:80: E501 line too long (88 > 79 characters)
command = ["chmod", "-Rf", "u+rwx", os.path.join(self.builder.basedir, dirname)]
^
./slave/buildslave/commands/base.py:517:80: E501 line too long (84 > 79 characters)
# Work around a broken 'chmod -R' on FreeBSD (it tries to recurse into a
^
./slave/buildslave/commands/base.py:518:80: E501 line too long (82 > 79 characters)
# directory for which it doesn't have permission, before changing that
^
./slave/buildslave/commands/base.py:521:33: E127 continuation line over-indented for visual indent
'-exec', 'chmod', 'u+rwx', '{}', ';' ]
^
./slave/buildslave/commands/base.py:521:69: E202 whitespace before ']'
'-exec', 'chmod', 'u+rwx', '{}', ';' ]
^
./slave/buildslave/commands/base.py:523:26: E128 continuation line under-indented for visual indent
sendRC=0, timeout=self.timeout, maxTime=self.maxTime,
^
./slave/buildslave/commands/base.py:524:26: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron, usePTY=False)
^
./slave/buildslave/commands/base.py:538:13: E301 expected 1 blank line, found 0
def cb(_):
^
./slave/buildslave/commands/base.py:539:25: E261 at least two spaces before inline comment
return 0 # rc=0
^
./slave/buildslave/commands/base.py:540:13: E301 expected 1 blank line, found 0
def eb(f):
^
./slave/buildslave/commands/base.py:541:42: E203 whitespace before ':'
self.sendStatus({'header' : 'exception from copytree\n' + f.getTraceback()})
^
./slave/buildslave/commands/base.py:541:80: E501 line too long (92 > 79 characters)
self.sendStatus({'header' : 'exception from copytree\n' + f.getTraceback()})
^
./slave/buildslave/commands/base.py:542:26: E261 at least two spaces before inline comment
return -1 # rc=-1
^
./slave/buildslave/commands/base.py:550:80: E501 line too long (94 > 79 characters)
log.msg("cp target '%s' already exists -- cp will not do what you think!" % todir)
^
./slave/buildslave/commands/base.py:554:26: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout, maxTime=self.maxTime,
^
./slave/buildslave/commands/base.py:554:80: E501 line too long (82 > 79 characters)
sendRC=False, timeout=self.timeout, maxTime=self.maxTime,
^
./slave/buildslave/commands/base.py:555:26: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron, usePTY=False)
^
./slave/buildslave/commands/base.py:576:80: E501 line too long (80 > 79 characters)
# Mark the directory so we don't try to update it later, or at least try
^
./slave/buildslave/commands/base.py:592:26: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/base.py:593:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/base.py:594:26: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/base.py:597:1: W293 blank line contains whitespace
^
./slave/buildslave/commands/bk.py:47:43: E128 continuation line under-indented for visual indent
self.srcdir, "BK/parent"))
^
./slave/buildslave/commands/bk.py:59:26: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/bk.py:60:26: E128 continuation line under-indented for visual indent
keepStdout=True, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/bk.py:61:26: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/bk.py:75:20: E127 continuation line over-indented for visual indent
[self.bkurl, self.srcdir]
^
./slave/buildslave/commands/bk.py:77:26: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/bk.py:78:26: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron, usePTY=False)
^
./slave/buildslave/commands/bk.py:94:26: E128 continuation line under-indented for visual indent
self.getBKVersionCommand(),
^
./slave/buildslave/commands/bk.py:95:26: E128 continuation line under-indented for visual indent
os.path.join(self.builder.basedir, self.srcdir),
^
./slave/buildslave/commands/bk.py:96:26: E128 continuation line under-indented for visual indent
environ=self.env, timeout=self.timeout,
^
./slave/buildslave/commands/bk.py:97:26: E128 continuation line under-indented for visual indent
sendStdout=False, sendStderr=False, sendRC=False,
^
./slave/buildslave/commands/bk.py:98:26: E128 continuation line under-indented for visual indent
keepStdout=True, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/bk.py:99:26: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/bk.py:101:9: E301 expected 1 blank line, found 0
def _parse(res):
^
./slave/buildslave/commands/bk.py:106:80: E501 line too long (82 > 79 characters)
msg = ("BK.parseGotRevision unable to parse output: (%s)" % r_raw)
^
./slave/buildslave/commands/bk.py:116:1: W391 blank line at end of file
^
./slave/buildslave/commands/bzr.py:55:41: E703 statement ends with a semicolon
d = self.doForceSharedRepo();
^
./slave/buildslave/commands/bzr.py:68:26: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/bzr.py:69:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/bzr.py:70:26: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/bzr.py:100:26: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/bzr.py:101:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/bzr.py:102:26: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/bzr.py:118:26: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/bzr.py:119:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/bzr.py:120:26: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/bzr.py:123:9: E301 expected 1 blank line, found 0
def _export(res):
^
./slave/buildslave/commands/bzr.py:126:30: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/bzr.py:127:30: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/bzr.py:128:30: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/bzr.py:141:26: E128 continuation line under-indented for visual indent
self.builder.basedir,
^
./slave/buildslave/commands/bzr.py:142:26: E128 continuation line under-indented for visual indent
sendStderr=False, sendRC=False,
^
./slave/buildslave/commands/bzr.py:143:26: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron,usePTY=False)
^
./slave/buildslave/commands/bzr.py:143:52: E231 missing whitespace after ','
logEnviron=self.logEnviron,usePTY=False)
^
./slave/buildslave/commands/bzr.py:145:9: E301 expected 1 blank line, found 0
def afterCheckSharedRepo(res):
^
./slave/buildslave/commands/bzr.py:149:80: E501 line too long (80 > 79 characters)
c = runprocess.RunProcess(self.builder, [bzr, 'init-repo', '.'],
^
./slave/buildslave/commands/bzr.py:150:34: E128 continuation line under-indented for visual indent
self.builder.basedir,
^
./slave/buildslave/commands/bzr.py:151:34: E128 continuation line under-indented for visual indent
sendRC=False, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/bzr.py:152:34: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/bzr.py:176:26: E128 continuation line under-indented for visual indent
os.path.join(self.builder.basedir, self.srcdir),
^
./slave/buildslave/commands/bzr.py:177:26: E128 continuation line under-indented for visual indent
environ=self.env,
^
./slave/buildslave/commands/bzr.py:178:26: E128 continuation line under-indented for visual indent
sendStdout=False, sendStderr=False, sendRC=False,
^
./slave/buildslave/commands/bzr.py:179:26: E128 continuation line under-indented for visual indent
keepStdout=True, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/bzr.py:180:26: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/bzr.py:182:9: E301 expected 1 blank line, found 0
def _parse(res):
^
./slave/buildslave/commands/bzr.py:186:22: E225 missing whitespace around operator
msg =("Bzr.parseGotRevision unable to parse output "
^
./slave/buildslave/commands/bzr.py:193:1: W391 blank line at end of file
^
./slave/buildslave/commands/cvs.py:22:1: E302 expected 2 blank lines, found 1
class CVS(SourceBaseCommand):
^
./slave/buildslave/commands/cvs.py:67:30: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/cvs.py:68:30: E128 continuation line under-indented for visual indent
maxTime=self.maxTime,
^
./slave/buildslave/commands/cvs.py:69:30: E128 continuation line under-indented for visual indent
initialStdin=self.login+"\n",
^
./slave/buildslave/commands/cvs.py:70:30: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron,usePTY=False)
^
./slave/buildslave/commands/cvs.py:70:56: E231 missing whitespace after ','
logEnviron=self.logEnviron,usePTY=False)
^
./slave/buildslave/commands/cvs.py:92:26: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/cvs.py:93:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/cvs.py:94:26: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/cvs.py:122:26: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/cvs.py:123:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/cvs.py:124:26: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/cvs.py:134:1: W391 blank line at end of file
^
./slave/buildslave/commands/darcs.py:51:26: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/darcs.py:52:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/darcs.py:53:26: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/darcs.py:75:26: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/darcs.py:76:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/darcs.py:77:26: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/darcs.py:94:26: E128 continuation line under-indented for visual indent
os.path.join(self.builder.basedir, self.srcdir),
^
./slave/buildslave/commands/darcs.py:95:26: E128 continuation line under-indented for visual indent
environ=self.env, timeout=self.timeout,
^
./slave/buildslave/commands/darcs.py:96:26: E128 continuation line under-indented for visual indent
sendStdout=False, sendStderr=False, sendRC=False,
^
./slave/buildslave/commands/darcs.py:97:26: E128 continuation line under-indented for visual indent
keepStdout=True, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/darcs.py:98:26: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/fs.py:26:1: E302 expected 2 blank lines, found 1
class MakeDirectory(base.Command):
^
./slave/buildslave/commands/fs.py:43:1: E302 expected 2 blank lines, found 1
class RemoveDirectory(base.Command):
^
./slave/buildslave/commands/fs.py:47:19: E231 missing whitespace after ','
def setup(self,args):
^
./slave/buildslave/commands/fs.py:48:48: E231 missing whitespace after ','
self.logEnviron = args.get('logEnviron',True)
^
./slave/buildslave/commands/fs.py:51:5: E303 too many blank lines (2)
@defer.deferredGenerator
^
./slave/buildslave/commands/fs.py:83:13: E301 expected 1 blank line, found 0
def cb(_):
^
./slave/buildslave/commands/fs.py:84:25: E261 at least two spaces before inline comment
return 0 # rc=0
^
./slave/buildslave/commands/fs.py:85:13: E301 expected 1 blank line, found 0
def eb(f):
^
./slave/buildslave/commands/fs.py:86:42: E203 whitespace before ':'
self.sendStatus({'header' : 'exception from rmdirRecursive\n' + f.getTraceback()})
^
./slave/buildslave/commands/fs.py:86:80: E501 line too long (98 > 79 characters)
self.sendStatus({'header' : 'exception from rmdirRecursive\n' + f.getTraceback()})
^
./slave/buildslave/commands/fs.py:87:26: E261 at least two spaces before inline comment
return -1 # rc=-1
^
./slave/buildslave/commands/fs.py:94:40: E251 unexpected spaces around keyword / parameter equals
def _clobber(self, dummy, chmodDone = False):
^
./slave/buildslave/commands/fs.py:94:42: E251 unexpected spaces around keyword / parameter equals
def _clobber(self, dummy, chmodDone = False):
^
./slave/buildslave/commands/fs.py:97:26: E128 continuation line under-indented for visual indent
sendRC=0, timeout=self.timeout, maxTime=self.maxTime,
^
./slave/buildslave/commands/fs.py:98:26: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron, usePTY=False)
^
./slave/buildslave/commands/fs.py:118:80: E501 line too long (89 > 79 characters)
command = ["chmod", "-Rf", "u+rwx", os.path.join(self.builder.basedir, self.dir)]
^
./slave/buildslave/commands/fs.py:120:80: E501 line too long (84 > 79 characters)
# Work around a broken 'chmod -R' on FreeBSD (it tries to recurse into a
^
./slave/buildslave/commands/fs.py:121:80: E501 line too long (82 > 79 characters)
# directory for which it doesn't have permission, before changing that
^
./slave/buildslave/commands/fs.py:124:33: E127 continuation line over-indented for visual indent
'-exec', 'chmod', 'u+rwx', '{}', ';' ]
^
./slave/buildslave/commands/fs.py:124:69: E202 whitespace before ']'
'-exec', 'chmod', 'u+rwx', '{}', ';' ]
^
./slave/buildslave/commands/fs.py:126:26: E128 continuation line under-indented for visual indent
sendRC=0, timeout=self.timeout, maxTime=self.maxTime,
^
./slave/buildslave/commands/fs.py:127:26: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron, usePTY=False)
^
./slave/buildslave/commands/fs.py:134:1: E302 expected 2 blank lines, found 1
class CopyDirectory(base.Command):
^
./slave/buildslave/commands/fs.py:138:19: E231 missing whitespace after ','
def setup(self,args):
^
./slave/buildslave/commands/fs.py:139:48: E231 missing whitespace after ','
self.logEnviron = args.get('logEnviron',True)
^
./slave/buildslave/commands/fs.py:140:1: W293 blank line contains whitespace
^
./slave/buildslave/commands/fs.py:156:13: E301 expected 1 blank line, found 0
def cb(_):
^
./slave/buildslave/commands/fs.py:157:25: E261 at least two spaces before inline comment
return 0 # rc=0
^
./slave/buildslave/commands/fs.py:158:13: E301 expected 1 blank line, found 0
def eb(f):
^
./slave/buildslave/commands/fs.py:159:42: E203 whitespace before ':'
self.sendStatus({'header' : 'exception from copytree\n' + f.getTraceback()})
^
./slave/buildslave/commands/fs.py:159:80: E501 line too long (92 > 79 characters)
self.sendStatus({'header' : 'exception from copytree\n' + f.getTraceback()})
^
./slave/buildslave/commands/fs.py:160:26: E261 at least two spaces before inline comment
return -1 # rc=-1
^
./slave/buildslave/commands/fs.py:162:13: E301 expected 1 blank line, found 0
@d.addCallback
^
./slave/buildslave/commands/fs.py:164:38: E203 whitespace before ':'
self.sendStatus({'rc' : rc})
^
./slave/buildslave/commands/fs.py:170:80: E501 line too long (98 > 79 characters)
log.msg("cp target '%s' already exists -- cp will not do what you think!" % todir)
^
./slave/buildslave/commands/fs.py:173:80: E501 line too long (82 > 79 characters)
c = runprocess.RunProcess(self.builder, command, self.builder.basedir,
^
./slave/buildslave/commands/fs.py:174:30: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout, maxTime=self.maxTime,
^
./slave/buildslave/commands/fs.py:174:80: E501 line too long (86 > 79 characters)
sendRC=False, timeout=self.timeout, maxTime=self.maxTime,
^
./slave/buildslave/commands/fs.py:175:30: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron, usePTY=False)
^
./slave/buildslave/commands/fs.py:183:1: E302 expected 2 blank lines, found 1
class StatFile(base.Command):
^
./slave/buildslave/commands/git.py:68:80: E501 line too long (84 > 79 characters)
c = runprocess.RunProcess(self.builder, [git] + command, self._fullSrcdir(),
^
./slave/buildslave/commands/git.py:69:26: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/git.py:70:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/git.py:71:26: E128 continuation line under-indented for visual indent
usePTY=False, **kwargs)
^
./slave/buildslave/commands/git.py:112:1: W293 blank line contains whitespace
^
./slave/buildslave/commands/git.py:159:41: E127 continuation line over-indented for visual indent
% (branch, self.repourl)})
^
./slave/buildslave/commands/git.py:182:80: E501 line too long (101 > 79 characters)
git_alts_path = os.path.join(self._fullSrcdir(), '.git', 'objects', 'info', 'alternates')
^
./slave/buildslave/commands/git.py:199:30: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/git.py:200:30: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/git.py:201:30: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/git.py:212:9: E301 expected 1 blank line, found 0
def _parse(res):
^
./slave/buildslave/commands/git.py:218:1: W391 blank line at end of file
^
./slave/buildslave/commands/hg.py:16:10: E401 multiple imports on one line
import os, re
^
./slave/buildslave/commands/hg.py:43:30: E261 at least two spaces before inline comment
self.clobbercount = 0 # n times we've clobbered
^
./slave/buildslave/commands/hg.py:54:26: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/hg.py:55:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, keepStdout=True,
^
./slave/buildslave/commands/hg.py:56:26: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron, usePTY=False)
^
./slave/buildslave/commands/hg.py:77:80: E501 line too long (85 > 79 characters)
# if got revision, clobbering and in dirname, only clone to specific revision
^
./slave/buildslave/commands/hg.py:79:80: E501 line too long (97 > 79 characters)
if self.args.get('revision') and self.mode == 'clobber' and self.branchType == 'dirname':
^
./slave/buildslave/commands/hg.py:84:26: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/hg.py:85:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/hg.py:86:26: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/hg.py:96:28: W602 deprecated form of raising exception
raise Exception, "Too many clobber attempts. Aborting step"
^
./slave/buildslave/commands/hg.py:111:33: E128 continuation line under-indented for visual indent
keepStdout=True, keepStderr=True,
^
./slave/buildslave/commands/hg.py:112:33: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron, usePTY=False)
^
./slave/buildslave/commands/hg.py:117:80: E501 line too long (99 > 79 characters)
msg = "'hg purge' failed: %s\n%s. Clobbering." % (purgeCmd.stdout, purgeCmd.stderr)
^
./slave/buildslave/commands/hg.py:141:28: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout, keepStdout=True,
^
./slave/buildslave/commands/hg.py:142:28: E128 continuation line under-indented for visual indent
keepStderr=True, logEnviron=self.logEnviron,
^
./slave/buildslave/commands/hg.py:143:28: E128 continuation line under-indented for visual indent
usePTY=False)
^
./slave/buildslave/commands/hg.py:174:80: E501 line too long (122 > 79 characters)
msg = "Working dir is on in-repo branch '%s' and build needs '%s'." % (current_branch, self.update_branch)
^
./slave/buildslave/commands/hg.py:188:80: E501 line too long (92 > 79 characters)
msg = "Working dir on same in-repo branch as build (%s)." % (current_branch)
^
./slave/buildslave/commands/hg.py:197:32: E128 continuation line under-indented for visual indent
keepStdout=True, keepStderr=True, usePTY=False,
^
./slave/buildslave/commands/hg.py:198:32: E128 continuation line under-indented for visual indent
timeout=self.timeout, sendRC=False,
^
./slave/buildslave/commands/hg.py:199:32: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron)
^
./slave/buildslave/commands/hg.py:204:80: E501 line too long (95 > 79 characters)
msg = "hg default path not set. Not checking repo url for clobber test"
^
./slave/buildslave/commands/hg.py:216:40: E221 multiple spaces before operator
if runtime.platformType == 'win32':
^
./slave/buildslave/commands/hg.py:232:80: E501 line too long (109 > 79 characters)
msg = "RepoURL changed from '%s' in wc to '%s' in update. Clobbering" % (oldurl, repourl)
^
./slave/buildslave/commands/hg.py:259:18: E225 missing whitespace around operator
updatecmd=[hg, 'update', '--clean', '--repository', self.srcdir]
^
./slave/buildslave/commands/hg.py:265:13: E128 continuation line under-indented for visual indent
self.builder.basedir, sendRC=False,
^
./slave/buildslave/commands/hg.py:266:13: E128 continuation line under-indented for visual indent
timeout=self.timeout, maxTime=self.maxTime,
^
./slave/buildslave/commands/hg.py:267:13: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron, usePTY=False)
^
./slave/buildslave/commands/hg.py:273:61: E261 at least two spaces before inline comment
command = [hg, "parents", "--template", "{node}\\n"] # get full rev id
^
./slave/buildslave/commands/hg.py:275:26: E128 continuation line under-indented for visual indent
os.path.join(self.builder.basedir, self.srcdir),
^
./slave/buildslave/commands/hg.py:276:26: E128 continuation line under-indented for visual indent
environ=self.env, timeout=self.timeout,
^
./slave/buildslave/commands/hg.py:277:26: E128 continuation line under-indented for visual indent
sendRC=False,
^
./slave/buildslave/commands/hg.py:278:26: E128 continuation line under-indented for visual indent
keepStdout=True, usePTY=False,
^
./slave/buildslave/commands/hg.py:279:26: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron)
^
./slave/buildslave/commands/hg.py:281:9: E301 expected 1 blank line, found 0
def _parse(res):
^
./slave/buildslave/commands/mtn.py:24:1: E302 expected 2 blank lines, found 1
class MonotoneError(Exception):
^
./slave/buildslave/commands/mtn.py:48:1: W293 blank line contains whitespace
^
./slave/buildslave/commands/mtn.py:65:28: E703 statement ends with a semicolon
d = self._checkDb();
^
./slave/buildslave/commands/mtn.py:149:9: E301 expected 1 blank line, found 0
def afterCheckRepo(res, cdi):
^
./slave/buildslave/commands/mtn.py:156:80: E501 line too long (80 > 79 characters)
c = runprocess.RunProcess(self.builder, [self.mtn, 'db', 'init',
^
./slave/buildslave/commands/mtn.py:157:80: E501 line too long (80 > 79 characters)
'--db', self.database],
^
./slave/buildslave/commands/mtn.py:159:60: W291 trailing whitespace
environ=self.env,
^
./slave/buildslave/commands/mtn.py:169:80: E501 line too long (80 > 79 characters)
'--db', self.database],
^
./slave/buildslave/commands/mtn.py:171:60: W291 trailing whitespace
environ=self.env,
^
./slave/buildslave/commands/mtn.py:177:36: W602 deprecated form of raising exception
raise MonotoneError, "The database is of a newer format than mtn can handle... Abort!"
^
./slave/buildslave/commands/mtn.py:177:80: E501 line too long (103 > 79 characters)
raise MonotoneError, "The database is of a newer format than mtn can handle... Abort!"
^
./slave/buildslave/commands/p4.py:16:10: E401 multiple imports on one line
import os, re
^
./slave/buildslave/commands/p4.py:55:26: E128 continuation line under-indented for visual indent
environ=self.env, timeout=self.timeout,
^
./slave/buildslave/commands/p4.py:56:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, sendStdout=True,
^
./slave/buildslave/commands/p4.py:57:26: E128 continuation line under-indented for visual indent
sendRC=False, keepStdout=True,
^
./slave/buildslave/commands/p4.py:58:26: E128 continuation line under-indented for visual indent
usePTY=False, logEnviron=self.logEnviron)
^
./slave/buildslave/commands/p4.py:63:80: E501 line too long (81 > 79 characters)
# 'p4 -c clien-name change -m 1 "#have"' will produce an output like:
^
./slave/buildslave/commands/p4.py:82:80: E501 line too long (93 > 79 characters)
['p4base'] (required): view into the Perforce depot without branch name or trailing "..."
^
./slave/buildslave/commands/p4.py:83:80: E501 line too long (81 > 79 characters)
['p4line_end'] (optional): value of the LineEnd client specification property
^
./slave/buildslave/commands/p4.py:105:13: E122 continuation line missing indentation or outdented
# Perforce server.
^
./slave/buildslave/commands/p4.py:106:13: E122 continuation line missing indentation or outdented
self.p4port,
^
./slave/buildslave/commands/p4.py:108:13: E122 continuation line missing indentation or outdented
# Client spec.
^
./slave/buildslave/commands/p4.py:109:13: E122 continuation line missing indentation or outdented
self.p4client,
^
./slave/buildslave/commands/p4.py:111:13: E122 continuation line missing indentation or outdented
# Depot side of view spec.
^
./slave/buildslave/commands/p4.py:112:13: E122 continuation line missing indentation or outdented
self.p4base,
^
./slave/buildslave/commands/p4.py:113:13: E122 continuation line missing indentation or outdented
self.p4branch,
^
./slave/buildslave/commands/p4.py:114:13: E122 continuation line missing indentation or outdented
self.p4extra_views,
^
./slave/buildslave/commands/p4.py:115:13: E122 continuation line missing indentation or outdented
self.p4line_end,
^
./slave/buildslave/commands/p4.py:117:13: E122 continuation line missing indentation or outdented
# Local side of view spec (srcdir is made from these).
^
./slave/buildslave/commands/p4.py:118:13: E122 continuation line missing indentation or outdented
self.builder.basedir,
^
./slave/buildslave/commands/p4.py:119:13: E122 continuation line missing indentation or outdented
self.mode,
^
./slave/buildslave/commands/p4.py:120:13: E122 continuation line missing indentation or outdented
self.workdir
^
./slave/buildslave/commands/p4.py:121:9: E122 continuation line missing indentation or outdented
]])
^
./slave/buildslave/commands/p4.py:124:5: E303 too many blank lines (2)
def sourcedirIsUpdateable(self):
^
./slave/buildslave/commands/p4.py:153:26: E128 continuation line under-indented for visual indent
environ=env, sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/p4.py:154:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, usePTY=False,
^
./slave/buildslave/commands/p4.py:155:26: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron)
^
./slave/buildslave/commands/p4.py:162:5: E303 too many blank lines (2)
def doVCFull(self):
^
./slave/buildslave/commands/p4.py:201:80: E501 line too long (95 > 79 characters)
# (http://github.com/bdbaddog/buildbot/commit/8420149b2b804efcf5f81a13e18aa62da0424d21)
^
./slave/buildslave/commands/p4.py:204:20: E225 missing whitespace around operator
client_spec=client_spec.encode('ascii','ignore')
^
./slave/buildslave/commands/p4.py:204:47: E231 missing whitespace after ','
client_spec=client_spec.encode('ascii','ignore')
^
./slave/buildslave/commands/p4.py:207:26: E128 continuation line under-indented for visual indent
environ=env, sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/p4.py:208:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, initialStdin=client_spec,
^
./slave/buildslave/commands/p4.py:209:26: E128 continuation line under-indented for visual indent
usePTY=False, logEnviron=self.logEnviron)
^
./slave/buildslave/commands/p4.py:221:1: W391 blank line at end of file
^
./slave/buildslave/commands/registry.py:20:12: E203 whitespace before ':'
"shell" : "buildslave.commands.shell.SlaveShellCommand",
^
./slave/buildslave/commands/registry.py:21:17: E203 whitespace before ':'
"uploadFile" : "buildslave.commands.transfer.SlaveFileUploadCommand",
^
./slave/buildslave/commands/registry.py:22:22: E203 whitespace before ':'
"uploadDirectory" : "buildslave.commands.transfer.SlaveDirectoryUploadCommand",
^
./slave/buildslave/commands/registry.py:22:80: E501 line too long (83 > 79 characters)
"uploadDirectory" : "buildslave.commands.transfer.SlaveDirectoryUploadCommand",
^
./slave/buildslave/commands/registry.py:23:19: E203 whitespace before ':'
"downloadFile" : "buildslave.commands.transfer.SlaveFileDownloadCommand",
^
./slave/buildslave/commands/registry.py:24:10: E203 whitespace before ':'
"svn" : "buildslave.commands.svn.SVN",
^
./slave/buildslave/commands/registry.py:25:9: E203 whitespace before ':'
"bk" : "buildslave.commands.bk.BK",
^
./slave/buildslave/commands/registry.py:26:10: E203 whitespace before ':'
"cvs" : "buildslave.commands.cvs.CVS",
^
./slave/buildslave/commands/registry.py:27:12: E203 whitespace before ':'
"darcs" : "buildslave.commands.darcs.Darcs",
^
./slave/buildslave/commands/registry.py:28:10: E203 whitespace before ':'
"git" : "buildslave.commands.git.Git",
^
./slave/buildslave/commands/registry.py:29:11: E203 whitespace before ':'
"repo" : "buildslave.commands.repo.Repo",
^
./slave/buildslave/commands/registry.py:30:10: E203 whitespace before ':'
"bzr" : "buildslave.commands.bzr.Bzr",
^
./slave/buildslave/commands/registry.py:31:9: E203 whitespace before ':'
"hg" : "buildslave.commands.hg.Mercurial",
^
./slave/buildslave/commands/registry.py:32:9: E203 whitespace before ':'
"p4" : "buildslave.commands.p4.P4",
^
./slave/buildslave/commands/registry.py:33:10: E203 whitespace before ':'
"mtn" : "buildslave.commands.mtn.Monotone",
^
./slave/buildslave/commands/registry.py:34:12: E203 whitespace before ':'
"mkdir" : "buildslave.commands.fs.MakeDirectory",
^
./slave/buildslave/commands/registry.py:35:12: E203 whitespace before ':'
"rmdir" : "buildslave.commands.fs.RemoveDirectory",
^
./slave/buildslave/commands/registry.py:36:12: E203 whitespace before ':'
"cpdir" : "buildslave.commands.fs.CopyDirectory",
^
./slave/buildslave/commands/registry.py:37:11: E203 whitespace before ':'
"stat" : "buildslave.commands.fs.StatFile",
^
./slave/buildslave/commands/registry.py:40:1: E302 expected 2 blank lines, found 1
def getFactory(command):
^
./slave/buildslave/commands/registry.py:45:1: E302 expected 2 blank lines, found 1
def getAllCommandNames():
^
./slave/buildslave/commands/repo.py:32:80: E501 line too long (84 > 79 characters)
['manifest_branch'] (optional): Which manifest repo version (i.e. branch or tag)
^
./slave/buildslave/commands/repo.py:34:80: E501 line too long (87 > 79 characters)
['manifest_file'] (optional): Which manifest file to use. Default: "default.xml".
^
./slave/buildslave/commands/repo.py:35:80: E501 line too long (100 > 79 characters)
['manifest_override_url'] (optional): Which manifest file to use as an overide. Default: None.
^
./slave/buildslave/commands/repo.py:36:80: E501 line too long (106 > 79 characters)
This is usually set by forced build to build over a known working base
^
./slave/buildslave/commands/repo.py:38:80: E501 line too long (90 > 79 characters)
['repo_downloads'] (optional): Repo downloads to do. Computer from GerritChangeSource
^
./slave/buildslave/commands/repo.py:50:29: E222 multiple spaces after operator
self.manifest_file = args.get('manifest_file')
^
./slave/buildslave/commands/repo.py:51:37: E222 multiple spaces after operator
self.manifest_override_url = args.get('manifest_override_url')
^
./slave/buildslave/commands/repo.py:54:80: E501 line too long (90 > 79 characters)
# we're using string instead of an array here, because it will be transferred back
^
./slave/buildslave/commands/repo.py:55:80: E501 line too long (91 > 79 characters)
# to the master as string anyway and using eval() could have security implications.
^
./slave/buildslave/commands/repo.py:60:80: E501 line too long (87 > 79 characters)
self.re_change = re.compile(r".* refs/changes/\d\d/(\d+)/(\d+) -> FETCH_HEAD$")
^
./slave/buildslave/commands/repo.py:73:80: E501 line too long (85 > 79 characters)
c = runprocess.RunProcess(self.builder, [repo] + command, self._fullSrcdir(),
^
./slave/buildslave/commands/repo.py:74:26: E128 continuation line under-indented for visual indent
sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/repo.py:75:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, usePTY=False,
^
./slave/buildslave/commands/repo.py:76:26: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron, **kwargs)
^
./slave/buildslave/commands/repo.py:107:80: E501 line too long (84 > 79 characters)
return self._Cmd(['tar', '-xvzf', self.tarball], self._doPreInitCleanUp)
^
./slave/buildslave/commands/repo.py:111:21: E231 missing whitespace after ','
def _doInit(self,res):
^
./slave/buildslave/commands/repo.py:113:80: E501 line too long (82 > 79 characters)
if os.path.exists(os.path.join(self._fullSrcdir(), ".repo/project.list")):
^
./slave/buildslave/commands/repo.py:115:80: E501 line too long (132 > 79 characters)
return self._repoCmd(['init', '-u', self.manifest_url, '-b', self.manifest_branch, '-m', self.manifest_file], self._didInit)
^
./slave/buildslave/commands/repo.py:122:77: E225 missing whitespace around operator
self.sendStatus({'header': "will download:\n" + "repo download "+ "\nrepo download ".join(self.repo_downloads) + "\n"})
^
./slave/buildslave/commands/repo.py:122:80: E501 line too long (131 > 79 characters)
self.sendStatus({'header': "will download:\n" + "repo download "+ "\nrepo download ".join(self.repo_downloads) + "\n"})
^
./slave/buildslave/commands/repo.py:147:27: E201 whitespace after '['
return "\n".join([ s.strip() for s in command.splitlines()])
^
./slave/buildslave/commands/repo.py:151:80: E501 line too long (87 > 79 characters)
return self._Cmd(["bash", "-c", command], self._doInit, abandonOnFailure=False)
^
./slave/buildslave/commands/repo.py:155:80: E501 line too long (98 > 79 characters)
return self._Cmd(["bash", "-c", command], self._doManifestOveride, abandonOnFailure=False)
^
./slave/buildslave/commands/repo.py:159:73: E225 missing whitespace around operator
self.sendStatus({"header": "overriding manifest with %s\n" %(self.manifest_override_url)})
^
./slave/buildslave/commands/repo.py:159:80: E501 line too long (102 > 79 characters)
self.sendStatus({"header": "overriding manifest with %s\n" %(self.manifest_override_url)})
^
./slave/buildslave/commands/repo.py:160:80: E501 line too long (92 > 79 characters)
if os.path.exists(os.path.join(self._fullSrcdir(), self.manifest_override_url)):
^
./slave/buildslave/commands/repo.py:161:66: E228 missing whitespace around modulo operator
os.system("cd %s; cp -f %s manifest_override.xml"%(self._fullSrcdir(),self.manifest_override_url))
^
./slave/buildslave/commands/repo.py:161:80: E501 line too long (114 > 79 characters)
os.system("cd %s; cp -f %s manifest_override.xml"%(self._fullSrcdir(),self.manifest_override_url))
^
./slave/buildslave/commands/repo.py:161:86: E231 missing whitespace after ','
os.system("cd %s; cp -f %s manifest_override.xml"%(self._fullSrcdir(),self.manifest_override_url))
^
./slave/buildslave/commands/repo.py:163:80: E501 line too long (93 > 79 characters)
command = ["wget", self.manifest_override_url, '-O', 'manifest_override.xml']
^
./slave/buildslave/commands/repo.py:169:80: E501 line too long (103 > 79 characters)
os.system("cd %s/.repo; ln -sf ../manifest_override.xml manifest.xml"%(self._fullSrcdir()))
^
./slave/buildslave/commands/repo.py:169:82: E228 missing whitespace around modulo operator
os.system("cd %s/.repo; ln -sf ../manifest_override.xml manifest.xml"%(self._fullSrcdir()))
^
./slave/buildslave/commands/repo.py:172:11: E111 indentation is not a multiple of four
command.append('-j' + str(self.jobs))
^
./slave/buildslave/commands/repo.py:173:80: E501 line too long (82 > 79 characters)
self.sendStatus({"header": "synching manifest %s from branch %s from %s\n"
^
./slave/buildslave/commands/repo.py:174:80: E501 line too long (100 > 79 characters)
% (self.manifest_file, self.manifest_branch, self.manifest_url)})
^
./slave/buildslave/commands/repo.py:179:80: E501 line too long (87 > 79 characters)
return self._Cmd(['tar', '-cvzf', self.tarball, ".repo"], self._doManifest)
^
./slave/buildslave/commands/repo.py:188:5: E303 too many blank lines (2)
def _doDownload(self, dummy):
^
./slave/buildslave/commands/repo.py:190:80: E501 line too long (121 > 79 characters)
if "Automatic cherry-pick failed" in self.command.stderr or "Automatic revert failed" in self.command.stderr:
^
./slave/buildslave/commands/repo.py:191:36: E231 missing whitespace after ','
command = ['forall','-c' ,'git' ,'diff', 'HEAD']
^
./slave/buildslave/commands/repo.py:191:41: E203 whitespace before ','
command = ['forall','-c' ,'git' ,'diff', 'HEAD']
^
./slave/buildslave/commands/repo.py:191:42: E231 missing whitespace after ','
command = ['forall','-c' ,'git' ,'diff', 'HEAD']
^
./slave/buildslave/commands/repo.py:191:48: E203 whitespace before ','
command = ['forall','-c' ,'git' ,'diff', 'HEAD']
^
./slave/buildslave/commands/repo.py:191:49: E231 missing whitespace after ','
command = ['forall','-c' ,'git' ,'diff', 'HEAD']
^
./slave/buildslave/commands/repo.py:193:80: E501 line too long (124 > 79 characters)
return self._repoCmd(command, self._DownloadAbandon, abandonOnFailure = False, keepStderr=True) # call again
^
./slave/buildslave/commands/repo.py:193:86: E251 unexpected spaces around keyword / parameter equals
return self._repoCmd(command, self._DownloadAbandon, abandonOnFailure = False, keepStderr=True) # call again
^
./slave/buildslave/commands/repo.py:193:88: E251 unexpected spaces around keyword / parameter equals
return self._repoCmd(command, self._DownloadAbandon, abandonOnFailure = False, keepStderr=True) # call again
^
./slave/buildslave/commands/repo.py:193:112: E261 at least two spaces before inline comment
return self._repoCmd(command, self._DownloadAbandon, abandonOnFailure = False, keepStderr=True) # call again
^
./slave/buildslave/commands/repo.py:200:80: E501 line too long (109 > 79 characters)
self.repo_downloaded += "%s/%s %s " % (match1.group(1), match1.group(2), match2.group(1))
^
./slave/buildslave/commands/repo.py:203:80: E501 line too long (83 > 79 characters)
# download each changeset while the self.download variable is not empty
^
./slave/buildslave/commands/repo.py:208:77: E251 unexpected spaces around keyword / parameter equals
return self._repoCmd(command, self._doDownload, abandonOnFailure = False, keepStderr=True) # call again
^
./slave/buildslave/commands/repo.py:208:79: E251 unexpected spaces around keyword / parameter equals
return self._repoCmd(command, self._doDownload, abandonOnFailure = False, keepStderr=True) # call again
^
./slave/buildslave/commands/repo.py:208:80: E501 line too long (115 > 79 characters)
return self._repoCmd(command, self._doDownload, abandonOnFailure = False, keepStderr=True) # call again
^
./slave/buildslave/commands/repo.py:208:103: E261 at least two spaces before inline comment
return self._repoCmd(command, self._doDownload, abandonOnFailure = False, keepStderr=True) # call again
^
./slave/buildslave/commands/repo.py:220:80: E501 line too long (108 > 79 characters)
if hasattr(self, 'cherry_pick_failed') or "Automatic cherry-pick failed" in self.command.stderr:
^
./slave/buildslave/commands/repo.py:222:5: E301 expected 1 blank line, found 0
def _DownloadAbandon(self,dummy):
^
./slave/buildslave/commands/repo.py:222:30: E231 missing whitespace after ','
def _DownloadAbandon(self,dummy):
^
./slave/buildslave/commands/repo.py:225:1: W391 blank line at end of file
^
./slave/buildslave/commands/shell.py:21:1: E302 expected 2 blank lines, found 1
class SlaveShellCommand(base.Command):
^
./slave/buildslave/commands/shell.py:29:26: E121 continuation line indentation is not a multiple of four
self.builder,
^
./slave/buildslave/commands/shell.py:30:26: E121 continuation line indentation is not a multiple of four
args['command'],
^
./slave/buildslave/commands/shell.py:31:26: E121 continuation line indentation is not a multiple of four
workdir,
^
./slave/buildslave/commands/shell.py:32:26: E121 continuation line indentation is not a multiple of four
environ=args.get('env'),
^
./slave/buildslave/commands/shell.py:33:26: E121 continuation line indentation is not a multiple of four
timeout=args.get('timeout', None),
^
./slave/buildslave/commands/shell.py:34:26: E121 continuation line indentation is not a multiple of four
maxTime=args.get('maxTime', None),
^
./slave/buildslave/commands/shell.py:35:26: E121 continuation line indentation is not a multiple of four
sigtermTime=args.get('sigtermTime', None),
^
./slave/buildslave/commands/shell.py:36:26: E121 continuation line indentation is not a multiple of four
sendStdout=args.get('want_stdout', True),
^
./slave/buildslave/commands/shell.py:37:26: E121 continuation line indentation is not a multiple of four
sendStderr=args.get('want_stderr', True),
^
./slave/buildslave/commands/shell.py:38:26: E121 continuation line indentation is not a multiple of four
sendRC=True,
^
./slave/buildslave/commands/shell.py:39:26: E121 continuation line indentation is not a multiple of four
initialStdin=args.get('initial_stdin'),
^
./slave/buildslave/commands/shell.py:40:26: E121 continuation line indentation is not a multiple of four
logfiles=args.get('logfiles', {}),
^
./slave/buildslave/commands/shell.py:41:26: E121 continuation line indentation is not a multiple of four
usePTY=args.get('usePTY', "slave-config"),
^
./slave/buildslave/commands/shell.py:42:26: E121 continuation line indentation is not a multiple of four
logEnviron=args.get('logEnviron', True),
^
./slave/buildslave/commands/shell.py:43:26: E121 continuation line indentation is not a multiple of four
)
^
./slave/buildslave/commands/svn.py:27:1: E302 expected 2 blank lines, found 1
class SVN(SourceBaseCommand):
^
./slave/buildslave/commands/svn.py:54:16: W601 .has_key() is deprecated, use 'in'
if args.has_key('username'):
^
./slave/buildslave/commands/svn.py:56:16: W601 .has_key() is deprecated, use 'in'
if args.has_key('password'):
^
./slave/buildslave/commands/svn.py:57:80: E501 line too long (86 > 79 characters)
self.svn_args.extend(["--password", Obfuscated(args['password'], "XXXX")])
^
./slave/buildslave/commands/svn.py:61:16: W601 .has_key() is deprecated, use 'in'
if args.has_key('depth'):
^
./slave/buildslave/commands/svn.py:62:44: E231 missing whitespace after ','
self.svn_args.extend(["--depth",args['depth']])
^
./slave/buildslave/commands/svn.py:72:26: E128 continuation line under-indented for visual indent
environ=self.env, sendRC=False, timeout=self.timeout,
^
./slave/buildslave/commands/svn.py:73:26: E128 continuation line under-indented for visual indent
maxTime=self.maxTime, usePTY=False,
^
./slave/buildslave/commands/svn.py:74:26: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron, **kwargs)
^
./slave/buildslave/commands/svn.py:95:80: E501 line too long (97 > 79 characters)
args = ['--revision', str(revision), "%s@%s" % (self.svnurl, str(revision)), self.srcdir]
^
./slave/buildslave/commands/svn.py:98:34: E701 multiple statements on one line (colon)
if revision == 'HEAD': return self.doSVNExport()
^
./slave/buildslave/commands/svn.py:99:17: E701 multiple statements on one line (colon)
else: command = 'export'
^
./slave/buildslave/commands/svn.py:110:80: E501 line too long (83 > 79 characters)
answer = [i.split(': ') for i in self.command.stdout.splitlines() if i]
^
./slave/buildslave/commands/svn.py:119:80: E501 line too long (105 > 79 characters)
svn_info_d = self._dovccmd('info', (self.svnurl,), rootdir=self.builder.basedir, keepStdout=True)
^
./slave/buildslave/commands/svn.py:122:43: W291 trailing whitespace
svn_info_d.addCallbacks(exportCmd)
^
./slave/buildslave/commands/svn.py:152:80: E501 line too long (90 > 79 characters)
for filename in self.getUnversionedFiles(self.command.stdout, self.keep_on_purge):
^
./slave/buildslave/commands/svn.py:154:25: E128 continuation line under-indented for visual indent
filename)
^
./slave/buildslave/commands/svn.py:188:26: E128 continuation line under-indented for visual indent
self.getSvnVersionCommand(),
^
./slave/buildslave/commands/svn.py:189:26: E128 continuation line under-indented for visual indent
os.path.join(self.builder.basedir, self.srcdir),
^
./slave/buildslave/commands/svn.py:190:26: E128 continuation line under-indented for visual indent
environ=self.env, timeout=self.timeout,
^
./slave/buildslave/commands/svn.py:191:26: E128 continuation line under-indented for visual indent
sendStdout=False, sendStderr=False, sendRC=False,
^
./slave/buildslave/commands/svn.py:192:26: E128 continuation line under-indented for visual indent
keepStdout=True, usePTY=False,
^
./slave/buildslave/commands/svn.py:193:26: E128 continuation line under-indented for visual indent
logEnviron=self.logEnviron)
^
./slave/buildslave/commands/svn.py:195:9: E301 expected 1 blank line, found 0
def _parse(res):
^
./slave/buildslave/commands/svn.py:204:22: E225 missing whitespace around operator
msg =("SVN.parseGotRevision unable to parse output "
^
./slave/buildslave/commands/transfer.py:16:10: E401 multiple imports on one line
import os, tarfile, tempfile
^
./slave/buildslave/commands/transfer.py:23:1: E302 expected 2 blank lines, found 1
class TransferCommand(Command):
^
./slave/buildslave/commands/transfer.py:100:9: E301 expected 1 blank line, found 0
def _close_ok(res):
^
./slave/buildslave/commands/transfer.py:103:13: E301 expected 1 blank line, found 0
def _utime_ok(res):
^
./slave/buildslave/commands/transfer.py:108:9: E301 expected 1 blank line, found 0
def _close_err(f):
^
./slave/buildslave/commands/transfer.py:113:13: E301 expected 1 blank line, found 0
def eb(f2):
^
./slave/buildslave/commands/transfer.py:117:32: E203 whitespace before ':'
d1.addBoth(lambda _ : f) # always return _loop failure
^
./slave/buildslave/commands/transfer.py:117:37: E261 at least two spaces before inline comment
d1.addBoth(lambda _ : f) # always return _loop failure
^
./slave/buildslave/commands/transfer.py:126:9: E301 expected 1 blank line, found 0
def _done(finished):
^
./slave/buildslave/commands/transfer.py:131:9: E301 expected 1 blank line, found 0
def _err(why):
^
./slave/buildslave/commands/transfer.py:150:80: E501 line too long (82 > 79 characters)
self.stderr = 'Maximum filesize reached, truncating file \'%s\'' \
^
./slave/buildslave/commands/transfer.py:151:33: E126 continuation line over-indented for hanging indent
% self.path
^
./slave/buildslave/commands/transfer.py:158:61: E225 missing whitespace around operator
log.msg('SlaveFileUploadCommand._writeBlock(): '+
^
./slave/buildslave/commands/transfer.py:199:17: E225 missing whitespace around operator
mode='w|bz2'
^
./slave/buildslave/commands/transfer.py:201:17: E225 missing whitespace around operator
mode='w|gz'
^
./slave/buildslave/commands/transfer.py:216:9: E301 expected 1 blank line, found 0
def unpack(res):
^
./slave/buildslave/commands/transfer.py:218:13: E301 expected 1 blank line, found 0
def unpack_err(f):
^
./slave/buildslave/commands/transfer.py:294:9: E301 expected 1 blank line, found 0
def _close(res):
^
./slave/buildslave/commands/transfer.py:306:9: E301 expected 1 blank line, found 0
def _done(finished):
^
./slave/buildslave/commands/transfer.py:311:9: E301 expected 1 blank line, found 0
def _err(why):
^
./slave/buildslave/commands/transfer.py:330:80: E501 line too long (80 > 79 characters)
self.stderr = "Maximum filesize reached, truncating file '%s'" \
^
./slave/buildslave/commands/transfer.py:331:33: E126 continuation line over-indented for hanging indent
% self.path
^
./slave/buildslave/commands/utils.py:22:1: E302 expected 2 blank lines, found 1
def getCommand(name):
^
./slave/buildslave/commands/utils.py:35:28: E221 multiple spaces before operator
if runtime.platformType == 'win32' and len(possibles) > 1:
^
./slave/buildslave/commands/utils.py:45:24: E221 multiple spaces before operator
if runtime.platformType == 'win32':
^
./slave/buildslave/commands/utils.py:59:80: E501 line too long (95 > 79 characters)
# os.listdir below only returns a list of unicode filenames if the parameter is unicode
^
./slave/buildslave/commands/utils.py:60:80: E501 line too long (103 > 79 characters)
# Thus, if a non-unicode-named dir contains a unicode filename, that filename will get garbled.
^
./slave/buildslave/commands/utils.py:66:80: E501 line too long (80 > 79 characters)
log.err("rmdirRecursive: decoding from UTF-8 failed (ignoring)")
^
./slave/buildslave/commands/utils.py:89:37: E261 at least two spaces before inline comment
os.remove(full_name) # as suggested in bug #792
^
./slave/buildslave/test/__init__.py:25:1: E302 expected 2 blank lines, found 1
def add_debugging_monkeypatches():
^
./slave/buildslave/test/__init__.py:35:5: E301 expected 1 blank line, found 0
def startService(self):
^
./slave/buildslave/test/__init__.py:38:5: E301 expected 1 blank line, found 0
def stopService(self):
^
./slave/buildslave/test/__init__.py:44:80: E501 line too long (80 > 79 characters)
# versions of Twisted before 9.0.0 did not have a UnitTest.patch that worked
^
./slave/buildslave/test/__init__.py:46:65: E231 missing whitespace after ','
if twisted.version.major <= 9 and sys.version_info[:2] == (2,7):
^
./slave/buildslave/test/__init__.py:61:13: E128 continuation line under-indented for visual indent
"try 'pip install mock'")
^
./slave/buildslave/test/test_extra_coverage.py:20:13: E261 at least two spaces before inline comment
modules = [] # for the benefit of pyflakes
^
./slave/buildslave/test/util/command.py:23:1: E302 expected 2 blank lines, found 1
class CommandTestMixin:
^
./slave/buildslave/test/util/command.py:47:80: E501 line too long (83 > 79 characters)
Call this from the tearDown method to clean up any leftover workdirs and do
^
./slave/buildslave/test/util/command.py:78:80: E501 line too long (80 > 79 characters)
workdir_abs = os.path.abspath(os.path.join(self.basedir, 'workdir'))
^
./slave/buildslave/test/util/command.py:90:80: E501 line too long (83 > 79 characters)
Run the command created by make_command. Returns a deferred that will fire
^
./slave/buildslave/test/util/command.py:103:80: E501 line too long (83 > 79 characters)
Asserts that self.get_updates() matches updates, ignoring elapsed time data
^
./slave/buildslave/test/util/command.py:108:26: W601 .has_key() is deprecated, use 'in'
if update.has_key('elapsed'):
^
./slave/buildslave/test/util/command.py:122:80: E501 line too long (82 > 79 characters)
self.patch(buildslave.runprocess, 'RunProcess', runprocess.FakeRunProcess)
^
./slave/buildslave/test/util/command.py:131:9: E301 expected 1 blank line, found 0
def new_getCommand(n):
^
./slave/buildslave/test/util/command.py:132:25: E701 multiple statements on one line (colon)
if n == name: return result
^
./slave/buildslave/test/util/command.py:140:36: E201 whitespace after '{'
self.patch(os, 'environ', { 'PWD' : '.' })
^
./slave/buildslave/test/util/command.py:140:42: E203 whitespace before ':'
self.patch(os, 'environ', { 'PWD' : '.' })
^
./slave/buildslave/test/util/command.py:140:48: E202 whitespace before '}'
self.patch(os, 'environ', { 'PWD' : '.' })
^
./slave/buildslave/test/util/compat.py:20:1: E302 expected 2 blank lines, found 1
def usesFlushLoggedErrors(test):
^
./slave/buildslave/test/util/compat.py:22:35: E231 missing whitespace after ','
if (sys.version_info[:2] == (2,7)
^
./slave/buildslave/test/util/compat.py:28:1: E302 expected 2 blank lines, found 1
def skipUnlessPlatformIs(platform):
^
./slave/buildslave/test/util/sourcecommand.py:19:1: E302 expected 2 blank lines, found 1
class SourceCommandTestMixin(command.CommandTestMixin):
^
./slave/buildslave/test/util/sourcecommand.py:24:80: E501 line too long (82 > 79 characters)
def make_command(self, cmdclass, args, makedirs=False, initial_sourcedata=''):
^
./slave/buildslave/test/util/sourcecommand.py:26:80: E501 line too long (80 > 79 characters)
Same as the parent class method, but this also adds some source-specific
^
./slave/buildslave/test/util/sourcecommand.py:35:80: E501 line too long (83 > 79 characters)
cmd = command.CommandTestMixin.make_command(self, cmdclass, args, makedirs)
^
./slave/buildslave/test/util/sourcecommand.py:41:9: E301 expected 1 blank line, found 0
def readSourcedata():
^
./slave/buildslave/test/util/sourcecommand.py:57:17: E128 continuation line under-indented for visual indent
[ 'clobber', dirname ],
^
./slave/buildslave/test/util/sourcecommand.py:57:18: E201 whitespace after '['
[ 'clobber', dirname ],
^
./slave/buildslave/test/util/sourcecommand.py:57:37: E202 whitespace before ']'
[ 'clobber', dirname ],
^
./slave/buildslave/test/util/sourcecommand.py:64:17: E128 continuation line under-indented for visual indent
[ 'copy', cmd.srcdir, cmd.workdir ],
^
./slave/buildslave/test/util/sourcecommand.py:64:18: E201 whitespace after '['
[ 'copy', cmd.srcdir, cmd.workdir ],
^
./slave/buildslave/test/util/sourcecommand.py:64:50: E202 whitespace before ']'
[ 'copy', cmd.srcdir, cmd.workdir ],
^
./slave/buildslave/test/util/sourcecommand.py:71:17: E128 continuation line under-indented for visual indent
[ 'setFileContents', filename, contents ],
^
./slave/buildslave/test/util/sourcecommand.py:71:18: E201 whitespace after '['
[ 'setFileContents', filename, contents ],
^
./slave/buildslave/test/util/sourcecommand.py:71:56: E202 whitespace before ']'
[ 'setFileContents', filename, contents ],
^
./slave/buildslave/test/util/sourcecommand.py:77:5: E303 too many blank lines (2)
def check_sourcedata(self, _, expected_sourcedata):
^
./slave/buildslave/test/unit/runprocess-scripts.py:29:1: E302 expected 2 blank lines, found 1
def write_pidfile(pidfile):
^
./slave/buildslave/test/unit/runprocess-scripts.py:36:1: E302 expected 2 blank lines, found 1
def sleep_forever():
^
./slave/buildslave/test/unit/runprocess-scripts.py:37:22: E261 at least two spaces before inline comment
signal.alarm(110) # die after 110 seconds
^
./slave/buildslave/test/unit/runprocess-scripts.py:41:1: E302 expected 2 blank lines, found 1
def wait_for_parent_death():
^
./slave/buildslave/test/unit/runprocess-scripts.py:50:24: E261 at least two spaces before inline comment
except OSError: # Probably ENOSUCH
^
./slave/buildslave/test/unit/runprocess-scripts.py:54:1: E302 expected 2 blank lines, found 0
def script(fn):
^
./slave/buildslave/test/unit/runprocess-scripts.py:60:1: E302 expected 2 blank lines, found 1
@script
^
./slave/buildslave/test/unit/runprocess-scripts.py:66:1: E302 expected 2 blank lines, found 1
@script
^
./slave/buildslave/test/unit/runprocess-scripts.py:75:1: E302 expected 2 blank lines, found 1
@script
^
./slave/buildslave/test/unit/runprocess-scripts.py:89:1: E302 expected 2 blank lines, found 1
@script
^
./slave/buildslave/test/unit/runprocess-scripts.py:96:20: E701 multiple statements on one line (colon)
if r == [0]: return # succcess!
^
./slave/buildslave/test/unit/runprocess-scripts.py:96:28: E261 at least two spaces before inline comment
if r == [0]: return # succcess!
^
./slave/buildslave/test/unit/runprocess-scripts.py:98:25: E261 at least two spaces before inline comment
assert False # failure :(
^
./slave/buildslave/test/unit/runprocess-scripts.py:103:28: E203 whitespace before ':'
signal.alarm = lambda t : None
^
./slave/buildslave/test/unit/runprocess-scripts.py:104:18: E261 at least two spaces before inline comment
signal.alarm(110) # die after 110 seconds
^
./slave/buildslave/test/unit/test_bot.py:30:1: E302 expected 2 blank lines, found 1
class TestBot(unittest.TestCase):
^
./slave/buildslave/test/unit/test_bot.py:46:35: E203 whitespace before ':'
d.addCallback(lambda _ : self.real_bot.stopService())
^
./slave/buildslave/test/unit/test_bot.py:53:9: E301 expected 1 blank line, found 0
def check(cmds):
^
./slave/buildslave/test/unit/test_bot.py:61:9: E301 expected 1 blank line, found 0
def check(vers):
^
./slave/buildslave/test/unit/test_bot.py:74:9: E301 expected 1 blank line, found 0
def check(info):
^
./slave/buildslave/test/unit/test_bot.py:75:80: E501 line too long (125 > 79 characters)
self.assertEqual(info, dict(admin='testy!', foo='bar', environ=os.environ, system=os.name, basedir=self.basedir))
^
./slave/buildslave/test/unit/test_bot.py:81:9: E301 expected 1 blank line, found 0
def check(info):
^
./slave/buildslave/test/unit/test_bot.py:82:62: E231 missing whitespace after ','
self.assertEqual(set(info.keys()), set(['environ','system','basedir']))
^
./slave/buildslave/test/unit/test_bot.py:82:71: E231 missing whitespace after ','
self.assertEqual(set(info.keys()), set(['environ','system','basedir']))
^
./slave/buildslave/test/unit/test_bot.py:82:80: E501 line too long (83 > 79 characters)
self.assertEqual(set(info.keys()), set(['environ','system','basedir']))
^
./slave/buildslave/test/unit/test_bot.py:88:9: E301 expected 1 blank line, found 0
def check(builders):
^
./slave/buildslave/test/unit/test_bot.py:94:52: E201 whitespace after '['
d = self.bot.callRemote("setBuilderList", [ ('mybld', 'myblddir') ])
^
./slave/buildslave/test/unit/test_bot.py:94:74: E202 whitespace before ']'
d = self.bot.callRemote("setBuilderList", [ ('mybld', 'myblddir') ])
^
./slave/buildslave/test/unit/test_bot.py:95:9: E301 expected 1 blank line, found 0
def check(builders):
^
./slave/buildslave/test/unit/test_bot.py:97:80: E501 line too long (83 > 79 characters)
self.assertTrue(os.path.exists(os.path.join(self.basedir, 'myblddir')))
^
./slave/buildslave/test/unit/test_bot.py:109:25: E126 continuation line over-indented for hanging indent
('mybld', 'myblddir') ])
^
./slave/buildslave/test/unit/test_bot.py:109:46: E202 whitespace before ']'
('mybld', 'myblddir') ])
^
./slave/buildslave/test/unit/test_bot.py:110:13: E301 expected 1 blank line, found 0
def check(builders):
^
./slave/buildslave/test/unit/test_bot.py:112:80: E501 line too long (87 > 79 characters)
self.assertTrue(os.path.exists(os.path.join(self.basedir, 'myblddir')))
^
./slave/buildslave/test/unit/test_bot.py:120:25: E126 continuation line over-indented for hanging indent
('mybld', 'myblddir'), ('yourbld', 'yourblddir') ])
^
./slave/buildslave/test/unit/test_bot.py:120:73: E202 whitespace before ']'
('mybld', 'myblddir'), ('yourbld', 'yourblddir') ])
^
./slave/buildslave/test/unit/test_bot.py:121:13: E301 expected 1 blank line, found 0
def check(builders):
^
./slave/buildslave/test/unit/test_bot.py:122:80: E501 line too long (87 > 79 characters)
self.assertEqual(sorted(builders.keys()), sorted(['mybld', 'yourbld']))
^
./slave/buildslave/test/unit/test_bot.py:123:80: E501 line too long (87 > 79 characters)
self.assertTrue(os.path.exists(os.path.join(self.basedir, 'myblddir')))
^
./slave/buildslave/test/unit/test_bot.py:124:80: E501 line too long (89 > 79 characters)
self.assertTrue(os.path.exists(os.path.join(self.basedir, 'yourblddir')))
^
./slave/buildslave/test/unit/test_bot.py:126:80: E501 line too long (80 > 79 characters)
self.assertEqual(id(slavebuilders['my']), id(builders['mybld']))
^
./slave/buildslave/test/unit/test_bot.py:134:25: E126 continuation line over-indented for hanging indent
('yourbld', 'yourblddir2') ]) # note new builddir
^
./slave/buildslave/test/unit/test_bot.py:134:51: E202 whitespace before ']'
('yourbld', 'yourblddir2') ]) # note new builddir
^
./slave/buildslave/test/unit/test_bot.py:134:54: E261 at least two spaces before inline comment
('yourbld', 'yourblddir2') ]) # note new builddir
^
./slave/buildslave/test/unit/test_bot.py:135:13: E301 expected 1 blank line, found 0
def check(builders):
^
./slave/buildslave/test/unit/test_bot.py:138:80: E501 line too long (87 > 79 characters)
self.assertTrue(os.path.exists(os.path.join(self.basedir, 'myblddir')))
^
./slave/buildslave/test/unit/test_bot.py:139:80: E501 line too long (89 > 79 characters)
self.assertTrue(os.path.exists(os.path.join(self.basedir, 'yourblddir')))
^
./slave/buildslave/test/unit/test_bot.py:140:80: E501 line too long (90 > 79 characters)
self.assertTrue(os.path.exists(os.path.join(self.basedir, 'yourblddir2')))
^
./slave/buildslave/test/unit/test_bot.py:142:80: E501 line too long (84 > 79 characters)
self.assertEqual(id(slavebuilders['your']), id(builders['yourbld']))
^
./slave/buildslave/test/unit/test_bot.py:149:25: E126 continuation line over-indented for hanging indent
('theirbld', 'theirblddir') ])
^
./slave/buildslave/test/unit/test_bot.py:149:52: E202 whitespace before ']'
('theirbld', 'theirblddir') ])
^
./slave/buildslave/test/unit/test_bot.py:150:13: E301 expected 1 blank line, found 0
def check(builders):
^
./slave/buildslave/test/unit/test_bot.py:152:80: E501 line too long (87 > 79 characters)
self.assertTrue(os.path.exists(os.path.join(self.basedir, 'myblddir')))
^
./slave/buildslave/test/unit/test_bot.py:153:80: E501 line too long (89 > 79 characters)
self.assertTrue(os.path.exists(os.path.join(self.basedir, 'yourblddir')))
^
./slave/buildslave/test/unit/test_bot.py:154:80: E501 line too long (90 > 79 characters)
self.assertTrue(os.path.exists(os.path.join(self.basedir, 'theirblddir')))
^
./slave/buildslave/test/unit/test_bot.py:163:43: E203 whitespace before ':'
self.patch(reactor, "stop", lambda : d1.callback(None))
^
./slave/buildslave/test/unit/test_bot.py:169:1: E302 expected 2 blank lines, found 1
class FakeStep(object):
^
./slave/buildslave/test/unit/test_bot.py:188:1: E302 expected 2 blank lines, found 1
class TestSlaveBuilder(command.CommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_bot.py:202:17: E126 continuation line over-indented for hanging indent
self.bot.remote_setBuilderList([('sb', 'sb')]))
^
./slave/buildslave/test/unit/test_bot.py:214:35: E203 whitespace before ':'
d.addCallback(lambda _ : self.bot.stopService())
^
./slave/buildslave/test/unit/test_bot.py:224:80: E501 line too long (81 > 79 characters)
# master is not part of the interface (and, in fact, it does very little)
^
./slave/buildslave/test/unit/test_bot.py:232:9: E301 expected 1 blank line, found 0
def check(_):
^
./slave/buildslave/test/unit/test_bot.py:246:21: E201 whitespace after '['
Expect([ 'echo', 'hello' ], os.path.join(self.basedir, 'sb', 'workdir'))
^
./slave/buildslave/test/unit/test_bot.py:246:37: E202 whitespace before ']'
Expect([ 'echo', 'hello' ], os.path.join(self.basedir, 'sb', 'workdir'))
^
./slave/buildslave/test/unit/test_bot.py:246:80: E501 line too long (84 > 79 characters)
Expect([ 'echo', 'hello' ], os.path.join(self.basedir, 'sb', 'workdir'))
^
./slave/buildslave/test/unit/test_bot.py:247:16: E201 whitespace after '{'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_bot.py:247:22: E203 whitespace before ':'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_bot.py:247:34: E202 whitespace before '}'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_bot.py:247:40: E201 whitespace after '{'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_bot.py:247:49: E203 whitespace before ':'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_bot.py:247:61: E202 whitespace before '}'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_bot.py:247:67: E201 whitespace after '{'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_bot.py:247:72: E203 whitespace before ':'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_bot.py:247:76: E202 whitespace before '}'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_bot.py:252:9: E301 expected 1 blank line, found 0
def do_start(_):
^
./slave/buildslave/test/unit/test_bot.py:255:49: E121 continuation line indentation is not a multiple of four
command=[ 'echo', 'hello' ],
^
./slave/buildslave/test/unit/test_bot.py:255:58: E201 whitespace after '['
command=[ 'echo', 'hello' ],
^
./slave/buildslave/test/unit/test_bot.py:255:74: E202 whitespace before ']'
command=[ 'echo', 'hello' ],
^
./slave/buildslave/test/unit/test_bot.py:256:49: E121 continuation line indentation is not a multiple of four
workdir='workdir',
^
./slave/buildslave/test/unit/test_bot.py:257:45: E121 continuation line indentation is not a multiple of four
))
^
./slave/buildslave/test/unit/test_bot.py:259:31: E203 whitespace before ':'
d.addCallback(lambda _ : st.wait_for_finish())
^
./slave/buildslave/test/unit/test_bot.py:260:9: E301 expected 1 blank line, found 0
def check(_):
^
./slave/buildslave/test/unit/test_bot.py:262:26: E121 continuation line indentation is not a multiple of four
['update', [[{'hdr': 'headers'}, 0]]],
^
./slave/buildslave/test/unit/test_bot.py:267:21: E126 continuation line over-indented for hanging indent
])
^
./slave/buildslave/test/unit/test_bot.py:275:80: E501 line too long (81 > 79 characters)
# patch runprocess to pretend to sleep (it will really just hang forever,
^
./slave/buildslave/test/unit/test_bot.py:278:21: E201 whitespace after '['
Expect([ 'sleep', '10' ], os.path.join(self.basedir, 'sb', 'workdir'))
^
./slave/buildslave/test/unit/test_bot.py:278:35: E202 whitespace before ']'
Expect([ 'sleep', '10' ], os.path.join(self.basedir, 'sb', 'workdir'))
^
./slave/buildslave/test/unit/test_bot.py:278:80: E501 line too long (82 > 79 characters)
Expect([ 'sleep', '10' ], os.path.join(self.basedir, 'sb', 'workdir'))
^
./slave/buildslave/test/unit/test_bot.py:279:16: E201 whitespace after '{'
+ { 'hdr' : 'headers' }
^
./slave/buildslave/test/unit/test_bot.py:279:22: E203 whitespace before ':'
+ { 'hdr' : 'headers' }
^
./slave/buildslave/test/unit/test_bot.py:279:34: E202 whitespace before '}'
+ { 'hdr' : 'headers' }
^
./slave/buildslave/test/unit/test_bot.py:280:16: E201 whitespace after '{'
+ { 'wait' : True }
^
./slave/buildslave/test/unit/test_bot.py:280:23: E203 whitespace before ':'
+ { 'wait' : True }
^
./slave/buildslave/test/unit/test_bot.py:280:30: E202 whitespace before '}'
+ { 'wait' : True }
^
./slave/buildslave/test/unit/test_bot.py:284:9: E301 expected 1 blank line, found 0
def do_start(_):
^
./slave/buildslave/test/unit/test_bot.py:287:49: E121 continuation line indentation is not a multiple of four
command=[ 'sleep', '10' ],
^
./slave/buildslave/test/unit/test_bot.py:287:58: E201 whitespace after '['
command=[ 'sleep', '10' ],
^
./slave/buildslave/test/unit/test_bot.py:287:72: E202 whitespace before ']'
command=[ 'sleep', '10' ],
^
./slave/buildslave/test/unit/test_bot.py:288:49: E121 continuation line indentation is not a multiple of four
workdir='workdir',
^
./slave/buildslave/test/unit/test_bot.py:289:45: E121 continuation line indentation is not a multiple of four
))
^
./slave/buildslave/test/unit/test_bot.py:304:31: E203 whitespace before ':'
d.addCallback(lambda _ : st.wait_for_finish())
^
./slave/buildslave/test/unit/test_bot.py:305:9: E301 expected 1 blank line, found 0
def check(_):
^
./slave/buildslave/test/unit/test_bot.py:307:26: E121 continuation line indentation is not a multiple of four
['update', [[{'hdr': 'headers'}, 0]]],
^
./slave/buildslave/test/unit/test_bot.py:311:21: E126 continuation line over-indented for hanging indent
])
^
./slave/buildslave/test/unit/test_bot.py:322:80: E501 line too long (83 > 79 characters)
# patch the log.err, otherwise trial will think something *actually* failed
^
./slave/buildslave/test/unit/test_bot.py:323:40: E203 whitespace before ':'
self.patch(log, "err", lambda f : None)
^
./slave/buildslave/test/unit/test_bot.py:326:9: E301 expected 1 blank line, found 0
def do_start(_):
^
./slave/buildslave/test/unit/test_bot.py:329:49: E121 continuation line indentation is not a multiple of four
workdir='workdir',
^
./slave/buildslave/test/unit/test_bot.py:330:45: E121 continuation line indentation is not a multiple of four
))
^
./slave/buildslave/test/unit/test_bot.py:332:31: E203 whitespace before ':'
d.addCallback(lambda _ : st.wait_for_finish())
^
./slave/buildslave/test/unit/test_bot.py:333:9: E301 expected 1 blank line, found 0
def check(_):
^
./slave/buildslave/test/unit/test_bot.py:339:1: E302 expected 2 blank lines, found 1
class TestBotFactory(unittest.TestCase):
^
./slave/buildslave/test/unit/test_bot.py:350:9: E301 expected 1 blank line, found 0
def callRemote(method):
^
./slave/buildslave/test/unit/test_bot.py:363:21: E201 whitespace after '('
clock.pump(( 1 for _ in xrange(150)))
^
./slave/buildslave/test/unit/test_bot.py:364:34: E201 whitespace after '['
self.assertEqual(calls, [ 35, 70 ])
^
./slave/buildslave/test/unit/test_bot.py:364:41: E202 whitespace before ']'
self.assertEqual(calls, [ 35, 70 ])
^
./slave/buildslave/test/unit/test_bot.py:371:9: E301 expected 1 blank line, found 0
def callRemote(method):
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:33:80: E501 line too long (84 > 79 characters)
# execute a basic ping. The rest is done without TCP (or PB) in other test modules.
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:35:1: E302 expected 2 blank lines, found 1
class MasterPerspective(pb.Avatar):
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:44:1: E302 expected 2 blank lines, found 1
class MasterRealm:
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:50:5: E301 expected 1 blank line, found 0
def requestAvatar(self, avatarId, mind, *interfaces):
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:57:9: E301 expected 1 blank line, found 0
def returnAvatar(_):
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:65:1: E302 expected 2 blank lines, found 1
class TestBuildSlave(misc.PatcherMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:80:35: E203 whitespace before ':'
d.addCallback(lambda _ : self.realm.shutdown())
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:82:35: E203 whitespace before ':'
d.addCallback(lambda _ : self.buildslave.stopService())
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:84:35: E203 whitespace before ':'
d.addCallback(lambda _ : self.listeningport.stopListening())
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:94:80: E501 line too long (95 > 79 characters)
self.listeningport = reactor.listenTCP(0, pb.PBServerFactory(p), interface='127.0.0.1')
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:105:17: E128 continuation line under-indented for visual indent
umask=0123, maxdelay=10)
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:110:17: E128 continuation line under-indented for visual indent
umask=0123, maxdelay=10, keepaliveTimeout=10,
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:111:17: E128 continuation line under-indented for visual indent
unicode_encoding='utf8', allow_shutdown=True)
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:126:17: E128 continuation line under-indented for visual indent
"testy", "westy", self.basedir,
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:134:35: E203 whitespace before ':'
self.patch_os_uname(lambda : [ 0, 'test-hostname.domain.com' ])
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:134:39: E201 whitespace after '['
self.patch_os_uname(lambda : [ 0, 'test-hostname.domain.com' ])
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:134:69: E202 whitespace before ']'
self.patch_os_uname(lambda : [ 0, 'test-hostname.domain.com' ])
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:137:17: E128 continuation line under-indented for visual indent
"testy", "westy", self.basedir,
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:140:80: E501 line too long (92 > 79 characters)
self.assertEqual(open(os.path.join(self.basedir, "twistd.hostname")).read().strip(),
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:147:45: E203 whitespace before ':'
self.patch(socket, "getfqdn", lambda : 'test-hostname.domain.com')
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:150:17: E128 continuation line under-indented for visual indent
"testy", "westy", self.basedir,
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:153:80: E501 line too long (92 > 79 characters)
self.assertEqual(open(os.path.join(self.basedir, "twistd.hostname")).read().strip(),
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:163:9: E301 expected 1 blank line, found 0
def fakeCallRemote(*args):
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:169:80: E501 line too long (82 > 79 characters)
# set up to call shutdown when we are attached, and chain the results onto
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:180:17: E128 continuation line under-indented for visual indent
"testy", "westy", self.basedir,
^
./slave/buildslave/test/unit/test_bot_BuildSlave.py:196:17: E128 continuation line under-indented for visual indent
"testy", "westy", self.basedir,
^
./slave/buildslave/test/unit/test_commands_base.py:25:1: E302 expected 2 blank lines, found 1
class DummyCommand(Command):
^
./slave/buildslave/test/unit/test_commands_base.py:52:1: E302 expected 2 blank lines, found 1
class TestDummyCommand(CommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_base.py:63:29: E203 whitespace before ':'
'setup_done' : self.cmd.setup_done,
^
./slave/buildslave/test/unit/test_commands_base.py:64:26: E203 whitespace before ':'
'running' : self.cmd.running,
^
./slave/buildslave/test/unit/test_commands_base.py:65:26: E203 whitespace before ':'
'started' : self.cmd.started,
^
./slave/buildslave/test/unit/test_commands_base.py:66:30: E203 whitespace before ':'
'interrupted' : self.cmd.interrupted,
^
./slave/buildslave/test/unit/test_commands_base.py:68:29: E203 whitespace before ':'
'setup_done' : setup_done,
^
./slave/buildslave/test/unit/test_commands_base.py:69:26: E203 whitespace before ':'
'running' : running,
^
./slave/buildslave/test/unit/test_commands_base.py:70:26: E203 whitespace before ':'
'started' : started,
^
./slave/buildslave/test/unit/test_commands_base.py:71:30: E203 whitespace before ':'
'interrupted' : interrupted,
^
./slave/buildslave/test/unit/test_commands_base.py:75:48: E201 whitespace after '{'
cmd = self.make_command(DummyCommand, { 'stdout' : 'yay' })
^
./slave/buildslave/test/unit/test_commands_base.py:75:57: E203 whitespace before ':'
cmd = self.make_command(DummyCommand, { 'stdout' : 'yay' })
^
./slave/buildslave/test/unit/test_commands_base.py:75:65: E202 whitespace before '}'
cmd = self.make_command(DummyCommand, { 'stdout' : 'yay' })
^
./slave/buildslave/test/unit/test_commands_base.py:76:80: E501 line too long (82 > 79 characters)
self.assertState(True, False, False, False, "setup called by constructor")
^
./slave/buildslave/test/unit/test_commands_base.py:80:80: E501 line too long (81 > 79 characters)
self.assertState(True, True, True, False, "started and running both set")
^
./slave/buildslave/test/unit/test_commands_base.py:84:9: E301 expected 1 blank line, found 0
def check(_):
^
./slave/buildslave/test/unit/test_commands_base.py:85:80: E501 line too long (91 > 79 characters)
self.assertState(True, False, True, False, "started and not running when done")
^
./slave/buildslave/test/unit/test_commands_base.py:89:33: E201 whitespace after '['
self.assertUpdates([ { 'stdout' : 'yay' } ], "updates processed")
^
./slave/buildslave/test/unit/test_commands_base.py:89:35: E201 whitespace after '{'
self.assertUpdates([ { 'stdout' : 'yay' } ], "updates processed")
^
./slave/buildslave/test/unit/test_commands_base.py:89:44: E203 whitespace before ':'
self.assertUpdates([ { 'stdout' : 'yay' } ], "updates processed")
^
./slave/buildslave/test/unit/test_commands_base.py:89:52: E202 whitespace before '}'
self.assertUpdates([ { 'stdout' : 'yay' } ], "updates processed")
^
./slave/buildslave/test/unit/test_commands_base.py:89:54: E202 whitespace before ']'
self.assertUpdates([ { 'stdout' : 'yay' } ], "updates processed")
^
./slave/buildslave/test/unit/test_commands_base.py:95:80: E501 line too long (82 > 79 characters)
self.assertState(True, False, False, False, "setup called by constructor")
^
./slave/buildslave/test/unit/test_commands_base.py:99:80: E501 line too long (81 > 79 characters)
self.assertState(True, True, True, False, "started and running both set")
^
./slave/buildslave/test/unit/test_commands_base.py:103:9: E301 expected 1 blank line, found 0
def check(_):
^
./slave/buildslave/test/unit/test_commands_base.py:104:80: E501 line too long (91 > 79 characters)
self.assertState(True, False, True, False, "started and not running when done")
^
./slave/buildslave/test/unit/test_commands_base.py:108:33: E201 whitespace after '['
self.assertUpdates([ {} ], "updates processed")
^
./slave/buildslave/test/unit/test_commands_base.py:108:36: E202 whitespace before ']'
self.assertUpdates([ {} ], "updates processed")
^
./slave/buildslave/test/unit/test_commands_base.py:114:80: E501 line too long (82 > 79 characters)
self.assertState(True, False, False, False, "setup called by constructor")
^
./slave/buildslave/test/unit/test_commands_base.py:118:80: E501 line too long (81 > 79 characters)
self.assertState(True, True, True, False, "started and running both set")
^
./slave/buildslave/test/unit/test_commands_base.py:125:80: E501 line too long (86 > 79 characters)
self.assertState(True, False, True, True, "finishes with interrupted set")
^
./slave/buildslave/test/unit/test_commands_bk.py:22:1: E302 expected 2 blank lines, found 1
class TestBK(SourceCommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_bk.py:42:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_bk.py:42:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_bk.py:43:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_bk.py:44:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_bk.py:45:21: E201 whitespace after '['
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_bk.py:45:41: E202 whitespace before ']'
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_bk.py:46:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_bk.py:47:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_bk.py:48:17: E126 continuation line over-indented for hanging indent
Expect(['path/to/bk', 'clone', '-r1.114',
^
./slave/buildslave/test/unit/test_commands_bk.py:50:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_bk.py:51:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_bk.py:52:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_bk.py:54:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_bk.py:55:17: E128 continuation line under-indented for visual indent
sendRC=False, usePTY=False, timeout=120, sendStderr=False,
^
./slave/buildslave/test/unit/test_commands_bk.py:56:17: E128 continuation line under-indented for visual indent
sendStdout=False, keepStdout=True, environ=exp_environ)
^
./slave/buildslave/test/unit/test_commands_bk.py:57:16: E201 whitespace after '{'
+ { 'stdout' : '1.114\n' } # TODO: is this what BK outputs?
^
./slave/buildslave/test/unit/test_commands_bk.py:57:25: E203 whitespace before ':'
+ { 'stdout' : '1.114\n' } # TODO: is this what BK outputs?
^
./slave/buildslave/test/unit/test_commands_bk.py:57:37: E202 whitespace before '}'
+ { 'stdout' : '1.114\n' } # TODO: is this what BK outputs?
^
./slave/buildslave/test/unit/test_commands_bk.py:57:39: E261 at least two spaces before inline comment
+ { 'stdout' : '1.114\n' } # TODO: is this what BK outputs?
^
./slave/buildslave/test/unit/test_commands_bk.py:58:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_bk.py:59:21: E201 whitespace after '['
Expect([ 'copy', 'source', 'workdir'],
^
./slave/buildslave/test/unit/test_commands_bk.py:60:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_bk.py:67:80: E501 line too long (85 > 79 characters)
d.addCallback(self.check_sourcedata, '"http://bkdemo.bkbits.net/bk_demo1\n"')
^
./slave/buildslave/test/unit/test_commands_bzr.py:24:1: E302 expected 2 blank lines, found 1
class TestBzr(SourceCommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_bzr.py:51:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_bzr.py:51:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_bzr.py:52:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_bzr.py:53:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_bzr.py:54:21: E201 whitespace after '['
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_bzr.py:54:41: E202 whitespace before ']'
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_bzr.py:55:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_bzr.py:56:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_bzr.py:57:17: E126 continuation line over-indented for hanging indent
Expect([ 'path/to/bzr', 'checkout', '--revision', '12',
^
./slave/buildslave/test/unit/test_commands_bzr.py:57:25: E201 whitespace after '['
Expect([ 'path/to/bzr', 'checkout', '--revision', '12',
^
./slave/buildslave/test/unit/test_commands_bzr.py:58:80: E501 line too long (86 > 79 characters)
'http://bazaar.launchpad.net/~bzr/bzr-gtk/trunk', 'source' ],
^
./slave/buildslave/test/unit/test_commands_bzr.py:58:84: E202 whitespace before ']'
'http://bazaar.launchpad.net/~bzr/bzr-gtk/trunk', 'source' ],
^
./slave/buildslave/test/unit/test_commands_bzr.py:59:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_bzr.py:60:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_bzr.py:61:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_bzr.py:63:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_bzr.py:64:17: E128 continuation line under-indented for visual indent
sendRC=False, usePTY=False, keepStdout=True,
^
./slave/buildslave/test/unit/test_commands_bzr.py:65:17: E128 continuation line under-indented for visual indent
environ=exp_environ, sendStderr=False, sendStdout=False)
^
./slave/buildslave/test/unit/test_commands_bzr.py:66:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : verinfo }
^
./slave/buildslave/test/unit/test_commands_bzr.py:66:20: E201 whitespace after '{'
+ { 'stdout' : verinfo }
^
./slave/buildslave/test/unit/test_commands_bzr.py:66:29: E203 whitespace before ':'
+ { 'stdout' : verinfo }
^
./slave/buildslave/test/unit/test_commands_bzr.py:66:39: E202 whitespace before '}'
+ { 'stdout' : verinfo }
^
./slave/buildslave/test/unit/test_commands_bzr.py:67:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_bzr.py:68:21: E201 whitespace after '['
Expect([ 'copy', 'source', 'workdir'],
^
./slave/buildslave/test/unit/test_commands_bzr.py:69:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_bzr.py:70:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_bzr.py:75:80: E501 line too long (96 > 79 characters)
d.addCallback(self.check_sourcedata, "http://bazaar.launchpad.net/~bzr/bzr-gtk/trunk\n")
^
./slave/buildslave/test/unit/test_commands_bzr.py:77:1: W391 blank line at end of file
^
./slave/buildslave/test/unit/test_commands_cvs.py:22:1: E302 expected 2 blank lines, found 1
class TestCVS(SourceCommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_cvs.py:42:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_cvs.py:42:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_cvs.py:43:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_cvs.py:44:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_cvs.py:45:21: E201 whitespace after '['
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_cvs.py:45:41: E202 whitespace before ']'
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_cvs.py:46:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_cvs.py:47:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_cvs.py:48:21: E201 whitespace after '['
Expect([ 'path/to/cvs', '-d', ':pserver:anoncvs@anoncvs.NetBSD.org:/cvsroot',
^
./slave/buildslave/test/unit/test_commands_cvs.py:48:80: E501 line too long (89 > 79 characters)
Expect([ 'path/to/cvs', '-d', ':pserver:anoncvs@anoncvs.NetBSD.org:/cvsroot',
^
./slave/buildslave/test/unit/test_commands_cvs.py:49:65: E202 whitespace before ']'
'-z3', 'checkout', '-d', 'source', 'htdocs' ],
^
./slave/buildslave/test/unit/test_commands_cvs.py:50:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_cvs.py:51:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_cvs.py:52:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_cvs.py:53:21: E201 whitespace after '['
Expect([ 'copy', 'source', 'workdir'],
^
./slave/buildslave/test/unit/test_commands_cvs.py:54:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_cvs.py:55:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_cvs.py:61:17: E128 continuation line under-indented for visual indent
":pserver:anoncvs@anoncvs.NetBSD.org:/cvsroot\nhtdocs\nNone\n")
^
./slave/buildslave/test/unit/test_commands_cvs.py:63:1: W391 blank line at end of file
^
./slave/buildslave/test/unit/test_commands_darcs.py:22:1: E302 expected 2 blank lines, found 1
class TestDarcs(SourceCommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_darcs.py:42:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_darcs.py:42:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_darcs.py:43:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_darcs.py:44:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_darcs.py:45:21: E201 whitespace after '['
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_darcs.py:45:41: E202 whitespace before ']'
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_darcs.py:46:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_darcs.py:47:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_darcs.py:48:21: E201 whitespace after '['
Expect([ 'path/to/darcs', 'get', '--verbose', '--lazy',
^
./slave/buildslave/test/unit/test_commands_darcs.py:49:17: E128 continuation line under-indented for visual indent
'--repo-name', 'source', 'http://darcs.net'],
^
./slave/buildslave/test/unit/test_commands_darcs.py:53:21: E201 whitespace after '['
Expect([ 'path/to/darcs', 'changes', '--context' ],
^
./slave/buildslave/test/unit/test_commands_darcs.py:53:61: E202 whitespace before ']'
Expect([ 'path/to/darcs', 'changes', '--context' ],
^
./slave/buildslave/test/unit/test_commands_darcs.py:57:20: E201 whitespace after '{'
+ { 'stdout' : example_changes }
^
./slave/buildslave/test/unit/test_commands_darcs.py:57:29: E203 whitespace before ':'
+ { 'stdout' : example_changes }
^
./slave/buildslave/test/unit/test_commands_darcs.py:57:47: E202 whitespace before '}'
+ { 'stdout' : example_changes }
^
./slave/buildslave/test/unit/test_commands_darcs.py:59:21: E201 whitespace after '['
Expect([ 'copy', 'source', 'workdir'],
^
./slave/buildslave/test/unit/test_commands_darcs.py:76:2: W291 trailing whitespace
]
^
./slave/buildslave/test/unit/test_commands_darcs.py:81:2: W291 trailing whitespace
]
^
./slave/buildslave/test/unit/test_commands_darcs.py:86:2: W291 trailing whitespace
]
^
./slave/buildslave/test/unit/test_commands_darcs.py:91:2: W291 trailing whitespace
]
^
./slave/buildslave/test/unit/test_commands_darcs.py:96:2: W291 trailing whitespace
]
^
./slave/buildslave/test/unit/test_commands_darcs.py:101:2: W291 trailing whitespace
]
^
./slave/buildslave/test/unit/test_commands_darcs.py:106:2: W291 trailing whitespace
]
^
./slave/buildslave/test/unit/test_commands_darcs.py:111:2: W291 trailing whitespace
]
^
./slave/buildslave/test/unit/test_commands_darcs.py:116:2: W291 trailing whitespace
]
^
./slave/buildslave/test/unit/test_commands_darcs.py:121:2: W291 trailing whitespace
]
^
./slave/buildslave/test/unit/test_commands_darcs.py:126:2: W291 trailing whitespace
]
^
./slave/buildslave/test/unit/test_commands_darcs.py:131:2: W291 trailing whitespace
]
^
./slave/buildslave/test/unit/test_commands_darcs.py:136:2: W291 trailing whitespace
]
^
./slave/buildslave/test/unit/test_commands_fs.py:25:1: E302 expected 2 blank lines, found 1
class TestRemoveDirectory(CommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_fs.py:40:80: E501 line too long (99 > 79 characters)
self.assertFalse(os.path.exists(os.path.abspath(os.path.join(self.basedir,'workdir'))))
^
./slave/buildslave/test/unit/test_commands_fs.py:40:86: E231 missing whitespace after ','
self.assertFalse(os.path.exists(os.path.abspath(os.path.join(self.basedir,'workdir'))))
^
./slave/buildslave/test/unit/test_commands_fs.py:42:21: E128 continuation line under-indented for visual indent
self.get_updates(),
^
./slave/buildslave/test/unit/test_commands_fs.py:43:21: E128 continuation line under-indented for visual indent
self.builder.show())
^
./slave/buildslave/test/unit/test_commands_fs.py:49:19: E261 at least two spaces before inline comment
return # we only use rmdirRecursive on windows
^
./slave/buildslave/test/unit/test_commands_fs.py:50:9: E301 expected 1 blank line, found 0
def fail(dir):
^
./slave/buildslave/test/unit/test_commands_fs.py:60:21: E128 continuation line under-indented for visual indent
self.builder.show())
^
./slave/buildslave/test/unit/test_commands_fs.py:72:80: E501 line too long (102 > 79 characters)
self.assertFalse(os.path.exists(os.path.abspath(os.path.join(self.basedir, dirname))))
^
./slave/buildslave/test/unit/test_commands_fs.py:74:29: E127 continuation line over-indented for visual indent
self.get_updates(),
^
./slave/buildslave/test/unit/test_commands_fs.py:75:29: E127 continuation line over-indented for visual indent
self.builder.show())
^
./slave/buildslave/test/unit/test_commands_fs.py:79:1: E302 expected 2 blank lines, found 1
class TestCopyDirectory(CommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_fs.py:95:80: E501 line too long (95 > 79 characters)
self.assertTrue(os.path.exists(os.path.abspath(os.path.join(self.basedir,'copy'))))
^
./slave/buildslave/test/unit/test_commands_fs.py:95:85: E231 missing whitespace after ','
self.assertTrue(os.path.exists(os.path.abspath(os.path.join(self.basedir,'copy'))))
^
./slave/buildslave/test/unit/test_commands_fs.py:96:37: E261 at least two spaces before inline comment
self.assertIn({'rc': 0}, # this may ignore a 'header' : '..', which is OK
^
./slave/buildslave/test/unit/test_commands_fs.py:96:80: E501 line too long (85 > 79 characters)
self.assertIn({'rc': 0}, # this may ignore a 'header' : '..', which is OK
^
./slave/buildslave/test/unit/test_commands_fs.py:97:21: E128 continuation line under-indented for visual indent
self.get_updates(),
^
./slave/buildslave/test/unit/test_commands_fs.py:98:21: E128 continuation line under-indented for visual indent
self.builder.show())
^
./slave/buildslave/test/unit/test_commands_fs.py:104:19: E261 at least two spaces before inline comment
return # we only use rmdirRecursive on windows
^
./slave/buildslave/test/unit/test_commands_fs.py:105:9: E301 expected 1 blank line, found 0
def fail(src, dest):
^
./slave/buildslave/test/unit/test_commands_fs.py:116:21: E128 continuation line under-indented for visual indent
self.get_updates(),
^
./slave/buildslave/test/unit/test_commands_fs.py:117:21: E128 continuation line under-indented for visual indent
self.builder.show())
^
./slave/buildslave/test/unit/test_commands_fs.py:121:1: E302 expected 2 blank lines, found 1
class TestMakeDirectory(CommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_fs.py:136:80: E501 line too long (99 > 79 characters)
self.assertTrue(os.path.exists(os.path.abspath(os.path.join(self.basedir,'test-dir'))))
^
./slave/buildslave/test/unit/test_commands_fs.py:136:85: E231 missing whitespace after ','
self.assertTrue(os.path.exists(os.path.abspath(os.path.join(self.basedir,'test-dir'))))
^
./slave/buildslave/test/unit/test_commands_fs.py:138:21: E126 continuation line over-indented for hanging indent
[{'rc': 0}],
^
./slave/buildslave/test/unit/test_commands_fs.py:139:21: E126 continuation line over-indented for hanging indent
self.builder.show())
^
./slave/buildslave/test/unit/test_commands_fs.py:151:21: E126 continuation line over-indented for hanging indent
[{'rc': 0}],
^
./slave/buildslave/test/unit/test_commands_fs.py:152:21: E126 continuation line over-indented for hanging indent
self.builder.show())
^
./slave/buildslave/test/unit/test_commands_fs.py:168:1: E302 expected 2 blank lines, found 1
class TestStatFile(CommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_fs.py:184:21: E126 continuation line over-indented for hanging indent
[{'rc': 1}],
^
./slave/buildslave/test/unit/test_commands_fs.py:185:21: E126 continuation line over-indented for hanging indent
self.builder.show())
^
./slave/buildslave/test/unit/test_commands_fs.py:197:80: E501 line too long (86 > 79 characters)
self.assertTrue(stat.S_ISDIR(self.get_updates()[0]['stat'][stat.ST_MODE]))
^
./slave/buildslave/test/unit/test_commands_fs.py:199:21: E128 continuation line under-indented for visual indent
self.get_updates(),
^
./slave/buildslave/test/unit/test_commands_fs.py:200:21: E128 continuation line under-indented for visual indent
self.builder.show())
^
./slave/buildslave/test/unit/test_commands_fs.py:214:80: E501 line too long (86 > 79 characters)
self.assertTrue(stat.S_ISREG(self.get_updates()[0]['stat'][stat.ST_MODE]))
^
./slave/buildslave/test/unit/test_commands_fs.py:216:21: E128 continuation line under-indented for visual indent
self.get_updates(),
^
./slave/buildslave/test/unit/test_commands_fs.py:217:21: E128 continuation line under-indented for visual indent
self.builder.show())
^
./slave/buildslave/test/unit/test_commands_git.py:26:1: E302 expected 2 blank lines, found 1
class TestGit(SourceCommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_git.py:35:48: E203 whitespace before ':'
self.cmd.sourcedirIsUpdateable = lambda : result
^
./slave/buildslave/test/unit/test_commands_git.py:50:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = None,
^
./slave/buildslave/test/unit/test_commands_git.py:50:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = None,
^
./slave/buildslave/test/unit/test_commands_git.py:54:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:54:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:55:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:56:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:57:21: E201 whitespace after '['
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_git.py:57:41: E202 whitespace before ']'
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_git.py:58:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:59:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:61:21: E201 whitespace after '['
Expect([ 'path/to/git', 'init'],
^
./slave/buildslave/test/unit/test_commands_git.py:62:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:63:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:64:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:65:21: E201 whitespace after '['
Expect([ 'path/to/git', 'fetch', '-t',
^
./slave/buildslave/test/unit/test_commands_git.py:66:73: E202 whitespace before ']'
'git://github.com/djmitche/buildbot.git', '+master' ],
^
./slave/buildslave/test/unit/test_commands_git.py:67:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:68:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_git.py:69:17: E126 continuation line over-indented for hanging indent
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:69:20: E201 whitespace after '{'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:69:29: E203 whitespace before ':'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:69:34: E202 whitespace before '}'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:70:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:72:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:73:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:74:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:76:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:77:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:78:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:79:21: E201 whitespace after '['
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:79:56: E202 whitespace before ']'
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:80:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:81:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_git.py:82:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:82:20: E201 whitespace after '{'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:82:29: E203 whitespace before ':'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:82:76: E202 whitespace before '}'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:83:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:84:21: E201 whitespace after '['
Expect([ 'copy', 'source', 'workdir'],
^
./slave/buildslave/test/unit/test_commands_git.py:85:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:86:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:91:80: E501 line too long (95 > 79 characters)
d.addCallback(self.check_sourcedata, "git://github.com/djmitche/buildbot.git master\n")
^
./slave/buildslave/test/unit/test_commands_git.py:95:5: E303 too many blank lines (2)
def test_run_mode_copy_update_sourcedir(self):
^
./slave/buildslave/test/unit/test_commands_git.py:105:27: E261 at least two spaces before inline comment
progress=True, # added here for better coverage
^
./slave/buildslave/test/unit/test_commands_git.py:106:11: E121 continuation line indentation is not a multiple of four
),
^
./slave/buildslave/test/unit/test_commands_git.py:107:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:107:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:107:80: E501 line too long (83 > 79 characters)
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:112:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:112:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:113:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:114:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:115:21: E201 whitespace after '['
Expect([ 'path/to/git', 'fetch', '-t',
^
./slave/buildslave/test/unit/test_commands_git.py:117:34: E202 whitespace before ']'
'--progress' ],
^
./slave/buildslave/test/unit/test_commands_git.py:118:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:119:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_git.py:120:17: E126 continuation line over-indented for hanging indent
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:120:20: E201 whitespace after '{'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:120:29: E203 whitespace before ':'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:120:34: E202 whitespace before '}'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:121:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:123:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:124:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:125:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:127:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:128:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:129:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:130:21: E201 whitespace after '['
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:130:56: E202 whitespace before ']'
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:131:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:132:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_git.py:133:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:133:20: E201 whitespace after '{'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:133:29: E203 whitespace before ':'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:133:76: E202 whitespace before '}'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:134:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:135:21: E201 whitespace after '['
Expect([ 'copy', 'source', 'workdir'],
^
./slave/buildslave/test/unit/test_commands_git.py:136:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:137:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:142:80: E501 line too long (95 > 79 characters)
d.addCallback(self.check_sourcedata, "git://github.com/djmitche/buildbot.git master\n")
^
./slave/buildslave/test/unit/test_commands_git.py:158:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:158:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:159:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:160:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:161:21: E201 whitespace after '['
Expect([ 'path/to/git', 'clean', '-f', '-d', '-x'],
^
./slave/buildslave/test/unit/test_commands_git.py:162:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:163:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:164:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:165:21: E201 whitespace after '['
Expect([ 'path/to/git', 'fetch', '-t',
^
./slave/buildslave/test/unit/test_commands_git.py:166:75: E202 whitespace before ']'
'git://github.com/djmitche/buildbot.git', '+bogusref' ],
^
./slave/buildslave/test/unit/test_commands_git.py:167:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:168:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_git.py:169:17: E126 continuation line over-indented for hanging indent
+ { 'stderr' : "fatal: Couldn't find remote ref bogusref\n" }
^
./slave/buildslave/test/unit/test_commands_git.py:169:20: E201 whitespace after '{'
+ { 'stderr' : "fatal: Couldn't find remote ref bogusref\n" }
^
./slave/buildslave/test/unit/test_commands_git.py:169:29: E203 whitespace before ':'
+ { 'stderr' : "fatal: Couldn't find remote ref bogusref\n" }
^
./slave/buildslave/test/unit/test_commands_git.py:169:76: E202 whitespace before '}'
+ { 'stderr' : "fatal: Couldn't find remote ref bogusref\n" }
^
./slave/buildslave/test/unit/test_commands_git.py:170:17: E126 continuation line over-indented for hanging indent
+ { 'rc': 128 }
^
./slave/buildslave/test/unit/test_commands_git.py:170:20: E201 whitespace after '{'
+ { 'rc': 128 }
^
./slave/buildslave/test/unit/test_commands_git.py:170:30: E202 whitespace before '}'
+ { 'rc': 128 }
^
./slave/buildslave/test/unit/test_commands_git.py:171:17: E126 continuation line over-indented for hanging indent
+ 128,
^
./slave/buildslave/test/unit/test_commands_git.py:192:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:192:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:193:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:194:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:195:21: E201 whitespace after '['
Expect([ 'path/to/git', 'clean', '-f', '-d', '-x'],
^
./slave/buildslave/test/unit/test_commands_git.py:196:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:197:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:198:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:199:21: E201 whitespace after '['
Expect([ 'path/to/git', 'fetch', '-t',
^
./slave/buildslave/test/unit/test_commands_git.py:200:78: E202 whitespace before ']'
'git://github.com/djmitche/buildbot.git', '+real-branch' ],
^
./slave/buildslave/test/unit/test_commands_git.py:200:80: E501 line too long (80 > 79 characters)
'git://github.com/djmitche/buildbot.git', '+real-branch' ],
^
./slave/buildslave/test/unit/test_commands_git.py:201:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:202:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_git.py:203:17: E126 continuation line over-indented for hanging indent
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:203:20: E201 whitespace after '{'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:203:29: E203 whitespace before ':'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:203:34: E202 whitespace before '}'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:204:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:206:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:207:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:208:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:209:68: E261 at least two spaces before inline comment
Expect(['path/to/git', 'branch', '-M', 'local-branch'], # note, not the same branch
^
./slave/buildslave/test/unit/test_commands_git.py:209:80: E501 line too long (95 > 79 characters)
Expect(['path/to/git', 'branch', '-M', 'local-branch'], # note, not the same branch
^
./slave/buildslave/test/unit/test_commands_git.py:210:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:211:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:212:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:213:21: E201 whitespace after '['
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:213:56: E202 whitespace before ']'
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:214:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_git.py:215:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_git.py:216:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:216:20: E201 whitespace after '{'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:216:29: E203 whitespace before ':'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:216:76: E202 whitespace before '}'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:217:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:218:21: E201 whitespace after '['
Expect([ 'copy', 'source', 'workdir'],
^
./slave/buildslave/test/unit/test_commands_git.py:219:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:220:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:235:11: E121 continuation line indentation is not a multiple of four
),
^
./slave/buildslave/test/unit/test_commands_git.py:236:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:236:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:236:80: E501 line too long (83 > 79 characters)
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:241:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:241:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:242:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:243:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:244:21: E201 whitespace after '['
Expect([ 'path/to/git', 'init'],
^
./slave/buildslave/test/unit/test_commands_git.py:245:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:246:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:247:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:248:21: E201 whitespace after '['
Expect([ 'path/to/git', 'fetch', '-t',
^
./slave/buildslave/test/unit/test_commands_git.py:249:73: E202 whitespace before ']'
'git://github.com/djmitche/buildbot.git', '+master' ],
^
./slave/buildslave/test/unit/test_commands_git.py:250:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:251:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_git.py:252:17: E126 continuation line over-indented for hanging indent
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:252:20: E201 whitespace after '{'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:252:29: E203 whitespace before ':'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:252:34: E202 whitespace before '}'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:253:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:255:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:256:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:257:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:259:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:260:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:261:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:262:21: E201 whitespace after '['
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:262:56: E202 whitespace before ']'
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:263:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:264:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_git.py:265:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:265:20: E201 whitespace after '{'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:265:29: E203 whitespace before ':'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:265:76: E202 whitespace before '}'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:266:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:271:80: E501 line too long (95 > 79 characters)
d.addCallback(self.check_sourcedata, "git://github.com/djmitche/buildbot.git master\n")
^
./slave/buildslave/test/unit/test_commands_git.py:282:11: E121 continuation line indentation is not a multiple of four
),
^
./slave/buildslave/test/unit/test_commands_git.py:283:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:283:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:283:80: E501 line too long (83 > 79 characters)
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:288:21: E201 whitespace after '['
Expect([ 'path/to/git', 'fetch', '-t',
^
./slave/buildslave/test/unit/test_commands_git.py:289:73: E202 whitespace before ']'
'git://github.com/djmitche/buildbot.git', '+master' ],
^
./slave/buildslave/test/unit/test_commands_git.py:290:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:291:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_git.py:292:17: E126 continuation line over-indented for hanging indent
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:292:20: E201 whitespace after '{'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:292:29: E203 whitespace before ':'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:292:34: E202 whitespace before '}'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:293:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:295:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:296:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:297:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:299:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:300:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:301:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:302:21: E201 whitespace after '['
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:302:56: E202 whitespace before ']'
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:303:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:304:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_git.py:305:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:305:20: E201 whitespace after '{'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:305:29: E203 whitespace before ':'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:305:76: E202 whitespace before '}'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:306:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:311:80: E501 line too long (95 > 79 characters)
d.addCallback(self.check_sourcedata, "git://github.com/djmitche/buildbot.git master\n")
^
./slave/buildslave/test/unit/test_commands_git.py:322:11: E121 continuation line indentation is not a multiple of four
),
^
./slave/buildslave/test/unit/test_commands_git.py:323:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:323:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:323:80: E501 line too long (83 > 79 characters)
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:329:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:330:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:331:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:332:21: E201 whitespace after '['
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:332:56: E202 whitespace before ']'
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:333:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:334:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_git.py:335:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:335:20: E201 whitespace after '{'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:335:29: E203 whitespace before ':'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:335:76: E202 whitespace before '}'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:336:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:341:80: E501 line too long (95 > 79 characters)
d.addCallback(self.check_sourcedata, "git://github.com/djmitche/buildbot.git master\n")
^
./slave/buildslave/test/unit/test_commands_git.py:352:11: E121 continuation line indentation is not a multiple of four
),
^
./slave/buildslave/test/unit/test_commands_git.py:353:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:353:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:353:80: E501 line too long (83 > 79 characters)
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:359:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:360:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:361:17: E126 continuation line over-indented for hanging indent
+ 1,
^
./slave/buildslave/test/unit/test_commands_git.py:362:21: E201 whitespace after '['
Expect([ 'path/to/git', 'fetch', '-t',
^
./slave/buildslave/test/unit/test_commands_git.py:363:73: E202 whitespace before ']'
'git://github.com/djmitche/buildbot.git', '+master' ],
^
./slave/buildslave/test/unit/test_commands_git.py:364:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:365:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_git.py:366:17: E126 continuation line over-indented for hanging indent
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:366:20: E201 whitespace after '{'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:366:29: E203 whitespace before ':'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:366:34: E202 whitespace before '}'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:367:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:369:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:370:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:371:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:373:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:374:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:375:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:376:21: E201 whitespace after '['
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:376:56: E202 whitespace before ']'
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:377:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:378:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_git.py:379:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:379:20: E201 whitespace after '{'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:379:29: E203 whitespace before ':'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:379:76: E202 whitespace before '}'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:380:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:385:80: E501 line too long (95 > 79 characters)
d.addCallback(self.check_sourcedata, "git://github.com/djmitche/buildbot.git master\n")
^
./slave/buildslave/test/unit/test_commands_git.py:397:11: E121 continuation line indentation is not a multiple of four
),
^
./slave/buildslave/test/unit/test_commands_git.py:398:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:398:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:398:80: E501 line too long (83 > 79 characters)
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:403:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:403:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:404:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:405:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:406:21: E201 whitespace after '['
Expect([ 'path/to/git', 'init'],
^
./slave/buildslave/test/unit/test_commands_git.py:407:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:408:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:409:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:410:21: E201 whitespace after '['
Expect([ 'setFileContents',
^
./slave/buildslave/test/unit/test_commands_git.py:414:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:415:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:416:21: E201 whitespace after '['
Expect([ 'path/to/git', 'fetch', '-t',
^
./slave/buildslave/test/unit/test_commands_git.py:417:73: E202 whitespace before ']'
'git://github.com/djmitche/buildbot.git', '+master' ],
^
./slave/buildslave/test/unit/test_commands_git.py:418:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:419:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_git.py:420:17: E126 continuation line over-indented for hanging indent
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:420:20: E201 whitespace after '{'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:420:29: E203 whitespace before ':'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:420:34: E202 whitespace before '}'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:421:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:423:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:424:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:425:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:427:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:428:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:429:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:430:21: E201 whitespace after '['
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:430:56: E202 whitespace before ']'
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:431:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:432:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_git.py:433:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:433:20: E201 whitespace after '{'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:433:29: E203 whitespace before ':'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:433:76: E202 whitespace before '}'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:434:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:439:80: E501 line too long (95 > 79 characters)
d.addCallback(self.check_sourcedata, "git://github.com/djmitche/buildbot.git master\n")
^
./slave/buildslave/test/unit/test_commands_git.py:451:11: E121 continuation line indentation is not a multiple of four
),
^
./slave/buildslave/test/unit/test_commands_git.py:452:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:452:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:452:80: E501 line too long (83 > 79 characters)
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:457:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:457:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:458:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:459:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:460:21: E201 whitespace after '['
Expect([ 'path/to/git', 'init'],
^
./slave/buildslave/test/unit/test_commands_git.py:461:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:462:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:463:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:465:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:466:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:467:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:468:21: E201 whitespace after '['
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:468:56: E202 whitespace before ']'
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:469:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:470:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_git.py:471:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:471:20: E201 whitespace after '{'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:471:29: E203 whitespace before ':'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:471:76: E202 whitespace before '}'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:472:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:477:80: E501 line too long (95 > 79 characters)
d.addCallback(self.check_sourcedata, "git://github.com/djmitche/buildbot.git master\n")
^
./slave/buildslave/test/unit/test_commands_git.py:489:11: E121 continuation line indentation is not a multiple of four
),
^
./slave/buildslave/test/unit/test_commands_git.py:490:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:490:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:490:80: E501 line too long (83 > 79 characters)
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:495:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:495:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:496:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:497:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:501:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_git.py:502:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:503:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:504:21: E201 whitespace after '['
Expect([ 'path/to/git', 'fetch', '-t',
^
./slave/buildslave/test/unit/test_commands_git.py:505:73: E202 whitespace before ']'
'git://github.com/djmitche/buildbot.git', '+master' ],
^
./slave/buildslave/test/unit/test_commands_git.py:506:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:507:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_git.py:508:17: E126 continuation line over-indented for hanging indent
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:508:20: E201 whitespace after '{'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:508:29: E203 whitespace before ':'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:508:34: E202 whitespace before '}'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:509:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:511:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:512:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:513:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:515:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:516:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:517:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:518:21: E201 whitespace after '['
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:518:56: E202 whitespace before ']'
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:519:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:520:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_git.py:521:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:521:20: E201 whitespace after '{'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:521:29: E203 whitespace before ':'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:521:76: E202 whitespace before '}'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:522:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:527:80: E501 line too long (95 > 79 characters)
d.addCallback(self.check_sourcedata, "git://github.com/djmitche/buildbot.git master\n")
^
./slave/buildslave/test/unit/test_commands_git.py:540:11: E121 continuation line indentation is not a multiple of four
),
^
./slave/buildslave/test/unit/test_commands_git.py:541:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:541:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:541:80: E501 line too long (83 > 79 characters)
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:546:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:546:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:547:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:548:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:550:49: E261 at least two spaces before inline comment
'--reference', '/some/repo', # note: no ../objects
^
./slave/buildslave/test/unit/test_commands_git.py:553:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_git.py:554:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:555:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:556:21: E201 whitespace after '['
Expect([ 'setFileContents',
^
./slave/buildslave/test/unit/test_commands_git.py:560:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:561:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:562:21: E201 whitespace after '['
Expect([ 'path/to/git', 'fetch', '-t',
^
./slave/buildslave/test/unit/test_commands_git.py:563:73: E202 whitespace before ']'
'git://github.com/djmitche/buildbot.git', '+master' ],
^
./slave/buildslave/test/unit/test_commands_git.py:564:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:565:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_git.py:566:17: E126 continuation line over-indented for hanging indent
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:566:20: E201 whitespace after '{'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:566:29: E203 whitespace before ':'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:566:34: E202 whitespace before '}'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:567:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:569:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:570:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:571:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:573:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:574:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:575:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:576:21: E201 whitespace after '['
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:576:56: E202 whitespace before ']'
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:577:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:578:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_git.py:579:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:579:20: E201 whitespace after '{'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:579:29: E203 whitespace before ':'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:579:76: E202 whitespace before '}'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:580:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:585:80: E501 line too long (95 > 79 characters)
d.addCallback(self.check_sourcedata, "git://github.com/djmitche/buildbot.git master\n")
^
./slave/buildslave/test/unit/test_commands_git.py:597:11: E121 continuation line indentation is not a multiple of four
),
^
./slave/buildslave/test/unit/test_commands_git.py:598:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:598:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:598:80: E501 line too long (83 > 79 characters)
initial_sourcedata = "git://github.com/djmitche/buildbot.git master\n",
^
./slave/buildslave/test/unit/test_commands_git.py:603:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:603:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_git.py:604:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_git.py:605:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:606:21: E201 whitespace after '['
Expect([ 'path/to/git', 'init'],
^
./slave/buildslave/test/unit/test_commands_git.py:607:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:608:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:609:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:610:21: E201 whitespace after '['
Expect([ 'path/to/git', 'fetch', '-t',
^
./slave/buildslave/test/unit/test_commands_git.py:611:73: E202 whitespace before ']'
'git://github.com/djmitche/buildbot.git', '+master' ],
^
./slave/buildslave/test/unit/test_commands_git.py:612:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:613:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_git.py:614:17: E126 continuation line over-indented for hanging indent
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:614:20: E201 whitespace after '{'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:614:29: E203 whitespace before ':'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:614:34: E202 whitespace before '}'
+ { 'stderr' : '' }
^
./slave/buildslave/test/unit/test_commands_git.py:615:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:617:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:618:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:619:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:621:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:622:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:623:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:624:21: E201 whitespace after '['
Expect([ 'path/to/git', 'submodule', 'init' ],
^
./slave/buildslave/test/unit/test_commands_git.py:624:56: E202 whitespace before ']'
Expect([ 'path/to/git', 'submodule', 'init' ],
^
./slave/buildslave/test/unit/test_commands_git.py:625:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:626:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:627:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:628:21: E201 whitespace after '['
Expect([ 'path/to/git', 'submodule', 'update' ],
^
./slave/buildslave/test/unit/test_commands_git.py:628:58: E202 whitespace before ']'
Expect([ 'path/to/git', 'submodule', 'update' ],
^
./slave/buildslave/test/unit/test_commands_git.py:629:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:630:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:631:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:632:21: E201 whitespace after '['
Expect([ 'path/to/git', 'submodule', 'foreach',
^
./slave/buildslave/test/unit/test_commands_git.py:633:33: E127 continuation line over-indented for visual indent
'git', 'clean', '-f', '-d', '-x'],
^
./slave/buildslave/test/unit/test_commands_git.py:634:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:635:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_git.py:636:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:637:21: E201 whitespace after '['
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:637:56: E202 whitespace before ']'
Expect([ 'path/to/git', 'rev-parse', 'HEAD' ],
^
./slave/buildslave/test/unit/test_commands_git.py:638:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_git.py:639:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_git.py:640:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:640:20: E201 whitespace after '{'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:640:29: E203 whitespace before ':'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:640:76: E202 whitespace before '}'
+ { 'stdout' : '4026d33b0532b11f36b0875f63699adfa8ee8662\n' }
^
./slave/buildslave/test/unit/test_commands_git.py:641:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_git.py:646:80: E501 line too long (95 > 79 characters)
d.addCallback(self.check_sourcedata, "git://github.com/djmitche/buildbot.git master\n")
^
./slave/buildslave/test/unit/test_commands_git.py:664:80: E501 line too long (82 > 79 characters)
# git command doesn't care what the contents of the sourcedata file is
^
./slave/buildslave/test/unit/test_commands_git.py:673:9: E301 expected 1 blank line, found 0
def _dovccmd(cmd, callback, keepStdout=False):
^
./slave/buildslave/test/unit/test_commands_git.py:683:9: E301 expected 1 blank line, found 0
def check(res):
^
./slave/buildslave/test/unit/test_commands_git.py:689:80: E501 line too long (90 > 79 characters)
return self.do_test_parseGotRevision("fatal: Couldn't find revision 1234\n", None)
^
./slave/buildslave/test/unit/test_commands_git.py:696:17: E126 continuation line over-indented for hanging indent
"\n4026d33b0532b11f36b0875f63699adfa8ee8662\n",
^
./slave/buildslave/test/unit/test_commands_git.py:697:19: E121 continuation line indentation is not a multiple of four
"4026d33b0532b11f36b0875f63699adfa8ee8662")
^
./slave/buildslave/test/unit/test_commands_hg.py:22:1: E302 expected 2 blank lines, found 1
class TestMercurial(SourceCommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_hg.py:31:48: E203 whitespace before ':'
self.cmd.sourcedirIsUpdateable = lambda : result
^
./slave/buildslave/test/unit/test_commands_hg.py:45:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_hg.py:45:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_hg.py:46:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_hg.py:47:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:48:21: E201 whitespace after '['
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_hg.py:48:41: E202 whitespace before ']'
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_hg.py:49:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_hg.py:50:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:53:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_hg.py:54:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_hg.py:55:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:57:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_hg.py:58:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True,
^
./slave/buildslave/test/unit/test_commands_hg.py:59:17: E128 continuation line under-indented for visual indent
keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:60:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:60:20: E201 whitespace after '{'
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:60:29: E203 whitespace before ':'
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:60:46: E202 whitespace before '}'
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:61:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:63:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_hg.py:64:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True,
^
./slave/buildslave/test/unit/test_commands_hg.py:65:17: E128 continuation line under-indented for visual indent
keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:66:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:66:20: E201 whitespace after '{'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:66:29: E203 whitespace before ':'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:66:74: E202 whitespace before '}'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:67:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:70:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_hg.py:71:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_hg.py:72:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:74:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_hg.py:75:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, environ=exp_environ,
^
./slave/buildslave/test/unit/test_commands_hg.py:76:17: E128 continuation line under-indented for visual indent
keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:77:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:77:20: E201 whitespace after '{'
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:77:29: E203 whitespace before ':'
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:77:74: E202 whitespace before '}'
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:78:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:79:21: E201 whitespace after '['
Expect([ 'copy', 'source', 'workdir'],
^
./slave/buildslave/test/unit/test_commands_hg.py:80:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_hg.py:81:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:86:80: E501 line too long (88 > 79 characters)
d.addCallback(self.check_sourcedata, "http://bitbucket.org/nicolas17/pyboinc\n")
^
./slave/buildslave/test/unit/test_commands_hg.py:98:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "http://bitbucket.org/nicolas17/pyboinc\n",
^
./slave/buildslave/test/unit/test_commands_hg.py:98:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "http://bitbucket.org/nicolas17/pyboinc\n",
^
./slave/buildslave/test/unit/test_commands_hg.py:104:80: E501 line too long (97 > 79 characters)
Expect(['path/to/hg', 'pull', '--verbose', 'http://bitbucket.org/nicolas17/pyboinc'],
^
./slave/buildslave/test/unit/test_commands_hg.py:105:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:106:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, keepStdout=True, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_hg.py:107:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:109:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:110:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True,
^
./slave/buildslave/test/unit/test_commands_hg.py:111:17: E128 continuation line under-indented for visual indent
keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:112:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:112:20: E201 whitespace after '{'
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:112:29: E203 whitespace before ':'
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:112:46: E202 whitespace before '}'
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:113:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:115:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:116:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True,
^
./slave/buildslave/test/unit/test_commands_hg.py:117:17: E128 continuation line under-indented for visual indent
keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:118:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:118:20: E201 whitespace after '{'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:118:29: E203 whitespace before ':'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:118:74: E202 whitespace before '}'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:119:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:122:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_hg.py:123:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_hg.py:124:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:126:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:127:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, environ=exp_environ,
^
./slave/buildslave/test/unit/test_commands_hg.py:128:17: E128 continuation line under-indented for visual indent
keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:129:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:129:20: E201 whitespace after '{'
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:129:29: E203 whitespace before ':'
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:129:74: E202 whitespace before '}'
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:130:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:134:80: E501 line too long (88 > 79 characters)
d.addCallback(self.check_sourcedata, "http://bitbucket.org/nicolas17/pyboinc\n")
^
./slave/buildslave/test/unit/test_commands_hg.py:138:5: E303 too many blank lines (2)
def test_update_existing_change_branch(self):
^
./slave/buildslave/test/unit/test_commands_hg.py:149:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "http://bitbucket.org/nicolas17/pyboinc\n",
^
./slave/buildslave/test/unit/test_commands_hg.py:149:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "http://bitbucket.org/nicolas17/pyboinc\n",
^
./slave/buildslave/test/unit/test_commands_hg.py:155:80: E501 line too long (97 > 79 characters)
Expect(['path/to/hg', 'pull', '--verbose', 'http://bitbucket.org/nicolas17/pyboinc'],
^
./slave/buildslave/test/unit/test_commands_hg.py:156:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:157:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, keepStdout=True, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_hg.py:158:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:160:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:161:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True,
^
./slave/buildslave/test/unit/test_commands_hg.py:162:17: E128 continuation line under-indented for visual indent
keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:163:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:163:20: E201 whitespace after '{'
+ { 'stdout' : '1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:163:29: E203 whitespace before ':'
+ { 'stdout' : '1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:163:45: E202 whitespace before '}'
+ { 'stdout' : '1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:164:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:166:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:167:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True,
^
./slave/buildslave/test/unit/test_commands_hg.py:168:17: E128 continuation line under-indented for visual indent
keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:169:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:169:20: E201 whitespace after '{'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:169:29: E203 whitespace before ':'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:169:74: E202 whitespace before '}'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:170:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:172:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:173:17: E128 continuation line under-indented for visual indent
keepStdout=True, keepStderr=True, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_hg.py:174:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:177:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_hg.py:178:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_hg.py:179:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:181:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:182:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, environ=exp_environ,
^
./slave/buildslave/test/unit/test_commands_hg.py:183:17: E128 continuation line under-indented for visual indent
keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:184:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:184:20: E201 whitespace after '{'
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:184:29: E203 whitespace before ':'
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:184:74: E202 whitespace before '}'
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:185:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:190:80: E501 line too long (88 > 79 characters)
d.addCallback(self.check_sourcedata, "http://bitbucket.org/nicolas17/pyboinc\n")
^
./slave/buildslave/test/unit/test_commands_hg.py:202:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "http://bitbucket.org/nicolas17/pyboinc\n",
^
./slave/buildslave/test/unit/test_commands_hg.py:202:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "http://bitbucket.org/nicolas17/pyboinc\n",
^
./slave/buildslave/test/unit/test_commands_hg.py:208:80: E501 line too long (97 > 79 characters)
Expect(['path/to/hg', 'pull', '--verbose', 'http://bitbucket.org/nicolas17/pyboinc'],
^
./slave/buildslave/test/unit/test_commands_hg.py:209:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:210:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, keepStdout=True, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_hg.py:211:17: E126 continuation line over-indented for hanging indent
+ 1,
^
./slave/buildslave/test/unit/test_commands_hg.py:211:21: W291 trailing whitespace
+ 1,
^
./slave/buildslave/test/unit/test_commands_hg.py:212:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_hg.py:212:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_hg.py:213:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_hg.py:214:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:217:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_hg.py:218:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_hg.py:219:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:221:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:222:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True,
^
./slave/buildslave/test/unit/test_commands_hg.py:223:17: E128 continuation line under-indented for visual indent
keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:224:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:224:20: E201 whitespace after '{'
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:224:29: E203 whitespace before ':'
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:224:46: E202 whitespace before '}'
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:225:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:227:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:228:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True,
^
./slave/buildslave/test/unit/test_commands_hg.py:229:17: E128 continuation line under-indented for visual indent
keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:230:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:230:20: E201 whitespace after '{'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:230:29: E203 whitespace before ':'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:230:74: E202 whitespace before '}'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:231:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:234:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_hg.py:235:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_hg.py:236:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:238:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:239:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, environ=exp_environ,
^
./slave/buildslave/test/unit/test_commands_hg.py:240:17: E128 continuation line under-indented for visual indent
keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:241:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:241:20: E201 whitespace after '{'
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:241:29: E203 whitespace before ':'
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:241:74: E202 whitespace before '}'
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:242:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:246:80: E501 line too long (88 > 79 characters)
d.addCallback(self.check_sourcedata, "http://bitbucket.org/nicolas17/pyboinc\n")
^
./slave/buildslave/test/unit/test_commands_hg.py:260:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "http://bitbucket.org/nicolas17/pyboinc\n",
^
./slave/buildslave/test/unit/test_commands_hg.py:260:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = "http://bitbucket.org/nicolas17/pyboinc\n",
^
./slave/buildslave/test/unit/test_commands_hg.py:266:80: E501 line too long (97 > 79 characters)
Expect(['path/to/hg', 'pull', '--verbose', 'http://bitbucket.org/nicolas17/pyboinc'],
^
./slave/buildslave/test/unit/test_commands_hg.py:267:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:268:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, keepStdout=True, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_hg.py:269:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:271:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:272:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True,
^
./slave/buildslave/test/unit/test_commands_hg.py:273:17: E128 continuation line under-indented for visual indent
keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:274:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:274:20: E201 whitespace after '{'
+ { 'stdout' : '1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:274:29: E203 whitespace before ':'
+ { 'stdout' : '1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:274:45: E202 whitespace before '}'
+ { 'stdout' : '1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:275:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:277:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:278:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True,
^
./slave/buildslave/test/unit/test_commands_hg.py:279:17: E128 continuation line under-indented for visual indent
keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:280:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:280:20: E201 whitespace after '{'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:280:29: E203 whitespace before ':'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:280:74: E202 whitespace before '}'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:281:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:283:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:284:17: E128 continuation line under-indented for visual indent
keepStdout=True, keepStderr=True, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_hg.py:285:17: E126 continuation line over-indented for hanging indent
+ 1,
^
./slave/buildslave/test/unit/test_commands_hg.py:286:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_hg.py:286:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_hg.py:287:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_hg.py:288:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:291:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_hg.py:292:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_hg.py:293:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:295:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:296:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True,
^
./slave/buildslave/test/unit/test_commands_hg.py:297:17: E128 continuation line under-indented for visual indent
keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:298:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:298:20: E201 whitespace after '{'
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:298:29: E203 whitespace before ':'
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:298:46: E202 whitespace before '}'
+ { 'stdout' : '-1 default\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:299:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:301:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:302:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True,
^
./slave/buildslave/test/unit/test_commands_hg.py:303:17: E128 continuation line under-indented for visual indent
keepStderr=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:304:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:304:20: E201 whitespace after '{'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:304:29: E203 whitespace before ':'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:304:74: E202 whitespace before '}'
+ { 'stdout' : 'http://bitbucket.org/nicolas17/pyboinc\n' }
^
./slave/buildslave/test/unit/test_commands_hg.py:305:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:308:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_hg.py:309:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_hg.py:310:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:313:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_hg.py:314:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False)
^
./slave/buildslave/test/unit/test_commands_hg.py:315:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:317:17: E128 continuation line under-indented for visual indent
self.basedir_workdir,
^
./slave/buildslave/test/unit/test_commands_hg.py:318:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, environ=exp_environ,
^
./slave/buildslave/test/unit/test_commands_hg.py:319:17: E128 continuation line under-indented for visual indent
keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_hg.py:320:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:320:20: E201 whitespace after '{'
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:320:29: E203 whitespace before ':'
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:320:74: E202 whitespace before '}'
+ { 'stdout' : 'b7ddc0b638fa11cdac7c0345c40c6f76d8a7166d' }
^
./slave/buildslave/test/unit/test_commands_hg.py:321:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_hg.py:326:80: E501 line too long (88 > 79 characters)
d.addCallback(self.check_sourcedata, "http://bitbucket.org/nicolas17/pyboinc\n")
^
./slave/buildslave/test/unit/test_commands_mtn.py:26:1: E302 expected 2 blank lines, found 1
class TestMonotone(SourceCommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_mtn.py:27:12: E225 missing whitespace around operator
repourl='mtn://code.monotone.ca/sandbox'
^
./slave/buildslave/test/unit/test_commands_mtn.py:28:11: E225 missing whitespace around operator
branch='ca.monotone.sandbox.buildbot'
^
./slave/buildslave/test/unit/test_commands_mtn.py:37:48: E203 whitespace before ':'
self.cmd.sourcedirIsUpdateable = lambda : result
^
./slave/buildslave/test/unit/test_commands_mtn.py:40:5: E303 too many blank lines (2)
def test_no_db(self):
^
./slave/buildslave/test/unit/test_commands_mtn.py:52:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = None,
^
./slave/buildslave/test/unit/test_commands_mtn.py:52:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = None,
^
./slave/buildslave/test/unit/test_commands_mtn.py:66:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:66:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:68:21: E201 whitespace after '['
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:68:41: E202 whitespace before ']'
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:71:22: E127 continuation line over-indented for visual indent
'--db', os.path.join(self.basedir, 'db.mtn'),
^
./slave/buildslave/test/unit/test_commands_mtn.py:85:20: E121 continuation line indentation is not a multiple of four
+ 0,
^
./slave/buildslave/test/unit/test_commands_mtn.py:86:21: E201 whitespace after '['
Expect([ 'copy', 'source', 'workdir'],
^
./slave/buildslave/test/unit/test_commands_mtn.py:88:20: E121 continuation line indentation is not a multiple of four
+ 0,
^
./slave/buildslave/test/unit/test_commands_mtn.py:109:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = None,
^
./slave/buildslave/test/unit/test_commands_mtn.py:109:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = None,
^
./slave/buildslave/test/unit/test_commands_mtn.py:113:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'db', 'info',
^
./slave/buildslave/test/unit/test_commands_mtn.py:114:66: E202 whitespace before ']'
'--db', os.path.join(self.basedir, 'db.mtn') ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:118:16: E201 whitespace after '{'
+ { 'stdout' : 'blah blah (migration needed)\n' }
^
./slave/buildslave/test/unit/test_commands_mtn.py:118:25: E203 whitespace before ':'
+ { 'stdout' : 'blah blah (migration needed)\n' }
^
./slave/buildslave/test/unit/test_commands_mtn.py:118:60: E202 whitespace before '}'
+ { 'stdout' : 'blah blah (migration needed)\n' }
^
./slave/buildslave/test/unit/test_commands_mtn.py:120:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'db', 'migrate',
^
./slave/buildslave/test/unit/test_commands_mtn.py:121:66: E202 whitespace before ']'
'--db', os.path.join(self.basedir, 'db.mtn') ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:125:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:125:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:127:21: E201 whitespace after '['
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:127:41: E202 whitespace before ']'
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:130:22: E127 continuation line over-indented for visual indent
'--db', os.path.join(self.basedir, 'db.mtn'),
^
./slave/buildslave/test/unit/test_commands_mtn.py:144:20: E121 continuation line indentation is not a multiple of four
+ 0,
^
./slave/buildslave/test/unit/test_commands_mtn.py:145:21: E201 whitespace after '['
Expect([ 'copy', 'source', 'workdir'],
^
./slave/buildslave/test/unit/test_commands_mtn.py:147:20: E121 continuation line indentation is not a multiple of four
+ 0,
^
./slave/buildslave/test/unit/test_commands_mtn.py:168:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = None,
^
./slave/buildslave/test/unit/test_commands_mtn.py:168:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = None,
^
./slave/buildslave/test/unit/test_commands_mtn.py:173:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'db', 'info',
^
./slave/buildslave/test/unit/test_commands_mtn.py:174:66: E202 whitespace before ']'
'--db', os.path.join(self.basedir, 'db.mtn') ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:178:16: E201 whitespace after '{'
+ { 'stdout' : 'blah blah (too new, cannot use)\n' }
^
./slave/buildslave/test/unit/test_commands_mtn.py:178:25: E203 whitespace before ':'
+ { 'stdout' : 'blah blah (too new, cannot use)\n' }
^
./slave/buildslave/test/unit/test_commands_mtn.py:178:63: E202 whitespace before '}'
+ { 'stdout' : 'blah blah (too new, cannot use)\n' }
^
./slave/buildslave/test/unit/test_commands_mtn.py:199:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = None,
^
./slave/buildslave/test/unit/test_commands_mtn.py:199:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = None,
^
./slave/buildslave/test/unit/test_commands_mtn.py:209:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:209:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:211:21: E201 whitespace after '['
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:211:41: E202 whitespace before ']'
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:214:22: E127 continuation line over-indented for visual indent
'--db', os.path.join(self.basedir, 'db.mtn'),
^
./slave/buildslave/test/unit/test_commands_mtn.py:228:20: E121 continuation line indentation is not a multiple of four
+ 0,
^
./slave/buildslave/test/unit/test_commands_mtn.py:229:21: E201 whitespace after '['
Expect([ 'copy', 'source', 'workdir'],
^
./slave/buildslave/test/unit/test_commands_mtn.py:231:20: E121 continuation line indentation is not a multiple of four
+ 0,
^
./slave/buildslave/test/unit/test_commands_mtn.py:251:27: E261 at least two spaces before inline comment
progress=True, # added here for better coverage
^
./slave/buildslave/test/unit/test_commands_mtn.py:253:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = self.repourl+"?"+self.branch
^
./slave/buildslave/test/unit/test_commands_mtn.py:253:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = self.repourl+"?"+self.branch
^
./slave/buildslave/test/unit/test_commands_mtn.py:259:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'db', 'info',
^
./slave/buildslave/test/unit/test_commands_mtn.py:264:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:264:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:266:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'pull', self.repourl+"?"+self.branch,
^
./slave/buildslave/test/unit/test_commands_mtn.py:272:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'update',
^
./slave/buildslave/test/unit/test_commands_mtn.py:282:20: E121 continuation line indentation is not a multiple of four
+ 0,
^
./slave/buildslave/test/unit/test_commands_mtn.py:283:21: E201 whitespace after '['
Expect([ 'copy', 'source', 'workdir'],
^
./slave/buildslave/test/unit/test_commands_mtn.py:285:20: E121 continuation line indentation is not a multiple of four
+ 0,
^
./slave/buildslave/test/unit/test_commands_mtn.py:302:27: E261 at least two spaces before inline comment
progress=True, # added here for better coverage
^
./slave/buildslave/test/unit/test_commands_mtn.py:304:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = self.repourl+"?"+self.branch
^
./slave/buildslave/test/unit/test_commands_mtn.py:304:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = self.repourl+"?"+self.branch
^
./slave/buildslave/test/unit/test_commands_mtn.py:310:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'db', 'info',
^
./slave/buildslave/test/unit/test_commands_mtn.py:315:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:315:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:317:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'pull', self.repourl+"?"+self.branch,
^
./slave/buildslave/test/unit/test_commands_mtn.py:332:20: E121 continuation line indentation is not a multiple of four
+ 0,
^
./slave/buildslave/test/unit/test_commands_mtn.py:349:27: E261 at least two spaces before inline comment
progress=True, # added here for better coverage
^
./slave/buildslave/test/unit/test_commands_mtn.py:351:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = self.repourl+"?"+self.branch
^
./slave/buildslave/test/unit/test_commands_mtn.py:351:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = self.repourl+"?"+self.branch
^
./slave/buildslave/test/unit/test_commands_mtn.py:357:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'db', 'info',
^
./slave/buildslave/test/unit/test_commands_mtn.py:362:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'pull', self.repourl+"?"+self.branch,
^
./slave/buildslave/test/unit/test_commands_mtn.py:368:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'update',
^
./slave/buildslave/test/unit/test_commands_mtn.py:378:20: E121 continuation line indentation is not a multiple of four
+ 0,
^
./slave/buildslave/test/unit/test_commands_mtn.py:395:27: E261 at least two spaces before inline comment
progress=True, # added here for better coverage
^
./slave/buildslave/test/unit/test_commands_mtn.py:397:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = self.repourl+"?"+self.branch
^
./slave/buildslave/test/unit/test_commands_mtn.py:397:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = self.repourl+"?"+self.branch
^
./slave/buildslave/test/unit/test_commands_mtn.py:403:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'db', 'info',
^
./slave/buildslave/test/unit/test_commands_mtn.py:408:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'pull', self.repourl+"?"+self.branch,
^
./slave/buildslave/test/unit/test_commands_mtn.py:414:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'update',
^
./slave/buildslave/test/unit/test_commands_mtn.py:424:20: E121 continuation line indentation is not a multiple of four
+ 0,
^
./slave/buildslave/test/unit/test_commands_mtn.py:441:27: E261 at least two spaces before inline comment
progress=True, # added here for better coverage
^
./slave/buildslave/test/unit/test_commands_mtn.py:443:31: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = self.repourl+"?"+self.branch
^
./slave/buildslave/test/unit/test_commands_mtn.py:443:33: E251 unexpected spaces around keyword / parameter equals
initial_sourcedata = self.repourl+"?"+self.branch
^
./slave/buildslave/test/unit/test_commands_mtn.py:449:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'db', 'info',
^
./slave/buildslave/test/unit/test_commands_mtn.py:454:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'pull', self.repourl+"?"+self.branch,
^
./slave/buildslave/test/unit/test_commands_mtn.py:460:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'update',
^
./slave/buildslave/test/unit/test_commands_mtn.py:467:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:467:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_mtn.py:469:21: E201 whitespace after '['
Expect([ 'path/to/mtn', 'pull', self.repourl+"?"+self.branch,
^
./slave/buildslave/test/unit/test_commands_mtn.py:485:20: E121 continuation line indentation is not a multiple of four
+ 0,
^
./slave/buildslave/test/unit/test_commands_mtn.py:501:9: E301 expected 1 blank line, found 0
def _dovccmd(fn, dopull, callback=None, keepStdout=False):
^
./slave/buildslave/test/unit/test_commands_mtn.py:512:9: E301 expected 1 blank line, found 0
def check(res):
^
./slave/buildslave/test/unit/test_commands_mtn.py:518:80: E501 line too long (98 > 79 characters)
return self.do_test_parseGotRevision("mtn: misuse: no match for selection '1234'\n", None)
^
./slave/buildslave/test/unit/test_commands_mtn.py:525:17: E126 continuation line over-indented for hanging indent
"\n4026d33b0532b11f36b0875f63699adfa8ee8662\n",
^
./slave/buildslave/test/unit/test_commands_mtn.py:526:19: E121 continuation line indentation is not a multiple of four
"4026d33b0532b11f36b0875f63699adfa8ee8662")
^
./slave/buildslave/test/unit/test_commands_mtn.py:527:1: W391 blank line at end of file
^
./slave/buildslave/test/unit/test_commands_p4.py:23:1: E302 expected 2 blank lines, found 1
class TestP4(SourceCommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_p4.py:48:80: E501 line too long (80 > 79 characters)
# can't use textwrap.dedent here, because in 2.4 it converts \t to 8x' '
^
./slave/buildslave/test/unit/test_commands_p4.py:67:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_p4.py:67:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_p4.py:68:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_p4.py:69:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_p4.py:70:21: E201 whitespace after '['
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_p4.py:70:41: E202 whitespace before ']'
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_p4.py:71:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_p4.py:72:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_p4.py:73:69: W291 trailing whitespace
Expect(['p4', '-p', 'p4dserv:1666', '-u', 'jimmy', '-P',
^
./slave/buildslave/test/unit/test_commands_p4.py:75:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_p4.py:76:49: E127 continuation line over-indented for visual indent
# TODO: empty env?
^
./slave/buildslave/test/unit/test_commands_p4.py:77:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, environ={},
^
./slave/buildslave/test/unit/test_commands_p4.py:78:17: E128 continuation line under-indented for visual indent
initialStdin=client_spec)
^
./slave/buildslave/test/unit/test_commands_p4.py:79:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_p4.py:81:80: E501 line too long (95 > 79 characters)
Obfuscated('hushnow', 'XXXXXXXX'), '-c', 'buildbot_test_10', 'sync', '-f'],
^
./slave/buildslave/test/unit/test_commands_p4.py:82:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_p4.py:83:49: E127 continuation line over-indented for visual indent
# TODO: empty env?
^
./slave/buildslave/test/unit/test_commands_p4.py:84:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, environ={})
^
./slave/buildslave/test/unit/test_commands_p4.py:85:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_p4.py:87:80: E501 line too long (91 > 79 characters)
Obfuscated('hushnow', 'XXXXXXXX'), '-c', 'buildbot_test_10', 'changes',
^
./slave/buildslave/test/unit/test_commands_p4.py:89:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_p4.py:90:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, environ=exp_environ,
^
./slave/buildslave/test/unit/test_commands_p4.py:91:17: E128 continuation line under-indented for visual indent
keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_p4.py:92:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : 'Change 28147 on 2008/04/07 by p4user@hostname\n' }
^
./slave/buildslave/test/unit/test_commands_p4.py:92:20: E201 whitespace after '{'
+ { 'stdout' : 'Change 28147 on 2008/04/07 by p4user@hostname\n' }
^
./slave/buildslave/test/unit/test_commands_p4.py:92:29: E203 whitespace before ':'
+ { 'stdout' : 'Change 28147 on 2008/04/07 by p4user@hostname\n' }
^
./slave/buildslave/test/unit/test_commands_p4.py:92:80: E501 line too long (82 > 79 characters)
+ { 'stdout' : 'Change 28147 on 2008/04/07 by p4user@hostname\n' }
^
./slave/buildslave/test/unit/test_commands_p4.py:92:81: E202 whitespace before '}'
+ { 'stdout' : 'Change 28147 on 2008/04/07 by p4user@hostname\n' }
^
./slave/buildslave/test/unit/test_commands_p4.py:93:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_p4.py:94:21: E201 whitespace after '['
Expect([ 'copy', 'source', 'workdir'],
^
./slave/buildslave/test/unit/test_commands_p4.py:95:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_p4.py:96:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_p4.py:101:80: E501 line too long (86 > 79 characters)
d.addCallback(self.check_sourcedata, "['p4dserv:1666', 'buildbot_test_10', " +
^
./slave/buildslave/test/unit/test_commands_p4.py:102:16: E128 continuation line under-indented for visual indent
"'//mydepot/myproj/', 'mytrunk', [], None, %s, 'copy', 'workdir']"
^
./slave/buildslave/test/unit/test_commands_p4.py:102:80: E501 line too long (81 > 79 characters)
"'//mydepot/myproj/', 'mytrunk', [], None, %s, 'copy', 'workdir']"
^
./slave/buildslave/test/unit/test_commands_p4.py:103:18: W604 backticks are deprecated, use 'repr()'
% `self.basedir`)
^
./slave/buildslave/test/unit/test_commands_p4.py:123:80: E501 line too long (80 > 79 characters)
# can't use textwrap.dedent here, because in 2.4 it converts \t to 8x' '
^
./slave/buildslave/test/unit/test_commands_p4.py:142:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_p4.py:142:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_p4.py:143:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_p4.py:144:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_p4.py:145:21: E201 whitespace after '['
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_p4.py:145:41: E202 whitespace before ']'
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_p4.py:146:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_p4.py:147:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_p4.py:148:80: E501 line too long (80 > 79 characters)
Expect(['p4', '-p', u'p4dserv:1666\N{SNOWMAN}', '-u', 'jimmy', '-P',
^
./slave/buildslave/test/unit/test_commands_p4.py:148:81: W291 trailing whitespace
Expect(['p4', '-p', u'p4dserv:1666\N{SNOWMAN}', '-u', 'jimmy', '-P',
^
./slave/buildslave/test/unit/test_commands_p4.py:150:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_p4.py:151:49: E127 continuation line over-indented for visual indent
# TODO: empty env?
^
./slave/buildslave/test/unit/test_commands_p4.py:152:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, environ={},
^
./slave/buildslave/test/unit/test_commands_p4.py:153:17: E128 continuation line under-indented for visual indent
initialStdin=client_spec)
^
./slave/buildslave/test/unit/test_commands_p4.py:154:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_p4.py:155:80: E501 line too long (80 > 79 characters)
Expect(['p4', '-p', u'p4dserv:1666\N{SNOWMAN}', '-u', 'jimmy', '-P',
^
./slave/buildslave/test/unit/test_commands_p4.py:158:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_p4.py:159:49: E127 continuation line over-indented for visual indent
# TODO: empty env?
^
./slave/buildslave/test/unit/test_commands_p4.py:160:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, environ={})
^
./slave/buildslave/test/unit/test_commands_p4.py:161:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_p4.py:162:80: E501 line too long (80 > 79 characters)
Expect(['p4', '-p', u'p4dserv:1666\N{SNOWMAN}', '-u', 'jimmy', '-P',
^
./slave/buildslave/test/unit/test_commands_p4.py:166:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_p4.py:167:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, environ=exp_environ,
^
./slave/buildslave/test/unit/test_commands_p4.py:168:17: E128 continuation line under-indented for visual indent
keepStdout=True)
^
./slave/buildslave/test/unit/test_commands_p4.py:169:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : 'Change 28147 on 2008/04/07 by p4user@hostname\n' }
^
./slave/buildslave/test/unit/test_commands_p4.py:169:20: E201 whitespace after '{'
+ { 'stdout' : 'Change 28147 on 2008/04/07 by p4user@hostname\n' }
^
./slave/buildslave/test/unit/test_commands_p4.py:169:29: E203 whitespace before ':'
+ { 'stdout' : 'Change 28147 on 2008/04/07 by p4user@hostname\n' }
^
./slave/buildslave/test/unit/test_commands_p4.py:169:80: E501 line too long (82 > 79 characters)
+ { 'stdout' : 'Change 28147 on 2008/04/07 by p4user@hostname\n' }
^
./slave/buildslave/test/unit/test_commands_p4.py:169:81: E202 whitespace before '}'
+ { 'stdout' : 'Change 28147 on 2008/04/07 by p4user@hostname\n' }
^
./slave/buildslave/test/unit/test_commands_p4.py:170:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_p4.py:171:21: E201 whitespace after '['
Expect([ 'copy', 'source', 'workdir'],
^
./slave/buildslave/test/unit/test_commands_p4.py:172:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_p4.py:173:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_p4.py:179:17: E128 continuation line under-indented for visual indent
"['p4dserv:1666\\xe2\\x98\\x83', "
^
./slave/buildslave/test/unit/test_commands_p4.py:184:16: E128 continuation line under-indented for visual indent
% `self.basedir`)
^
./slave/buildslave/test/unit/test_commands_p4.py:184:18: W604 backticks are deprecated, use 'repr()'
% `self.basedir`)
^
./slave/buildslave/test/unit/test_commands_p4.py:186:1: W391 blank line at end of file
^
./slave/buildslave/test/unit/test_commands_registry.py:21:1: E302 expected 2 blank lines, found 1
class Registry(unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_registry.py:28:43: E203 whitespace before ':'
self.assertRaises(KeyError, lambda : registry.getFactory('nosuchcommand'))
^
./slave/buildslave/test/unit/test_commands_registry.py:28:80: E501 line too long (82 > 79 characters)
self.assertRaises(KeyError, lambda : registry.getFactory('nosuchcommand'))
^
./slave/buildslave/test/unit/test_commands_shell.py:22:1: E302 expected 2 blank lines, found 1
class TestSlaveShellCommand(CommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_shell.py:32:22: E201 whitespace after '['
command=[ 'echo', 'hello' ],
^
./slave/buildslave/test/unit/test_commands_shell.py:32:38: E202 whitespace before ']'
command=[ 'echo', 'hello' ],
^
./slave/buildslave/test/unit/test_commands_shell.py:37:21: E201 whitespace after '['
Expect([ 'echo', 'hello' ], self.basedir_workdir)
^
./slave/buildslave/test/unit/test_commands_shell.py:37:37: E202 whitespace before ']'
Expect([ 'echo', 'hello' ], self.basedir_workdir)
^
./slave/buildslave/test/unit/test_commands_shell.py:38:16: E201 whitespace after '{'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_commands_shell.py:38:22: E203 whitespace before ':'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_commands_shell.py:38:34: E202 whitespace before '}'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_commands_shell.py:38:40: E201 whitespace after '{'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_commands_shell.py:38:49: E203 whitespace before ':'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_commands_shell.py:38:61: E202 whitespace before '}'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_commands_shell.py:38:67: E201 whitespace after '{'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_commands_shell.py:38:72: E203 whitespace before ':'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_commands_shell.py:38:76: E202 whitespace before '}'
+ { 'hdr' : 'headers' } + { 'stdout' : 'hello\n' } + { 'rc' : 0 }
^
./slave/buildslave/test/unit/test_commands_shell.py:47:21: E126 continuation line over-indented for hanging indent
[{'hdr': 'headers'}, {'stdout': 'hello\n'}, {'rc': 0}],
^
./slave/buildslave/test/unit/test_commands_shell.py:48:21: E126 continuation line over-indented for hanging indent
self.builder.show())
^
./slave/buildslave/test/unit/test_commands_svn.py:22:1: E302 expected 2 blank lines, found 1
class TestSVN(SourceCommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_svn.py:43:21: E201 whitespace after '['
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_svn.py:43:42: E202 whitespace before ']'
Expect([ 'clobber', 'workdir' ],
^
./slave/buildslave/test/unit/test_commands_svn.py:44:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_svn.py:45:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_svn.py:46:21: E201 whitespace after '['
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_svn.py:46:41: E202 whitespace before ']'
Expect([ 'clobber', 'source' ],
^
./slave/buildslave/test/unit/test_commands_svn.py:47:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_svn.py:48:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_svn.py:49:21: E201 whitespace after '['
Expect([ 'path/to/svn', 'checkout', '--non-interactive', '--no-auth-cache',
^
./slave/buildslave/test/unit/test_commands_svn.py:49:80: E501 line too long (87 > 79 characters)
Expect([ 'path/to/svn', 'checkout', '--non-interactive', '--no-auth-cache',
^
./slave/buildslave/test/unit/test_commands_svn.py:50:80: E501 line too long (89 > 79 characters)
'--revision', 'HEAD', 'http://svn.local/app/trunk@HEAD', 'source' ],
^
./slave/buildslave/test/unit/test_commands_svn.py:50:87: E202 whitespace before ']'
'--revision', 'HEAD', 'http://svn.local/app/trunk@HEAD', 'source' ],
^
./slave/buildslave/test/unit/test_commands_svn.py:51:17: E128 continuation line under-indented for visual indent
self.basedir,
^
./slave/buildslave/test/unit/test_commands_svn.py:52:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, environ=exp_environ)
^
./slave/buildslave/test/unit/test_commands_svn.py:53:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_svn.py:54:21: E201 whitespace after '['
Expect([ 'path/to/svnversion', '.' ],
^
./slave/buildslave/test/unit/test_commands_svn.py:54:47: E202 whitespace before ']'
Expect([ 'path/to/svnversion', '.' ],
^
./slave/buildslave/test/unit/test_commands_svn.py:55:17: E128 continuation line under-indented for visual indent
self.basedir_source,
^
./slave/buildslave/test/unit/test_commands_svn.py:56:17: E128 continuation line under-indented for visual indent
sendRC=False, timeout=120, usePTY=False, keepStdout=True,
^
./slave/buildslave/test/unit/test_commands_svn.py:57:17: E128 continuation line under-indented for visual indent
environ=exp_environ, sendStderr=False, sendStdout=False)
^
./slave/buildslave/test/unit/test_commands_svn.py:58:17: E126 continuation line over-indented for hanging indent
+ { 'stdout' : '9753\n' }
^
./slave/buildslave/test/unit/test_commands_svn.py:58:20: E201 whitespace after '{'
+ { 'stdout' : '9753\n' }
^
./slave/buildslave/test/unit/test_commands_svn.py:58:29: E203 whitespace before ':'
+ { 'stdout' : '9753\n' }
^
./slave/buildslave/test/unit/test_commands_svn.py:58:40: E202 whitespace before '}'
+ { 'stdout' : '9753\n' }
^
./slave/buildslave/test/unit/test_commands_svn.py:59:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_svn.py:60:21: E201 whitespace after '['
Expect([ 'copy', 'source', 'workdir'],
^
./slave/buildslave/test/unit/test_commands_svn.py:61:17: E128 continuation line under-indented for visual indent
self.basedir)
^
./slave/buildslave/test/unit/test_commands_svn.py:62:17: E126 continuation line over-indented for hanging indent
+ 0,
^
./slave/buildslave/test/unit/test_commands_svn.py:88:80: E501 line too long (84 > 79 characters)
self.assertEquals(["svn_external_path/unversioned_file"], unversioned_files)
^
./slave/buildslave/test/unit/test_commands_svn.py:102:1: W391 blank line at end of file
^
./slave/buildslave/test/unit/test_commands_transfer.py:30:1: E302 expected 2 blank lines, found 1
class FakeMasterMethods(object):
^
./slave/buildslave/test/unit/test_commands_transfer.py:32:19: W291 trailing whitespace
# - FileWriter
^
./slave/buildslave/test/unit/test_commands_transfer.py:95:26: E231 missing whitespace after ','
def remote_utime(self,accessed_modified):
^
./slave/buildslave/test/unit/test_commands_transfer.py:97:1: W293 blank line contains whitespace
^
./slave/buildslave/test/unit/test_commands_transfer.py:101:1: E302 expected 2 blank lines, found 1
class TestUploadFile(CommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_transfer.py:115:80: E501 line too long (81 > 79 characters)
# note: use of 'wb' here ensures newlines aren't translated on the upload
^
./slave/buildslave/test/unit/test_commands_transfer.py:140:21: E126 continuation line over-indented for hanging indent
{'header': 'sending %s' % self.datafile},
^
./slave/buildslave/test/unit/test_commands_transfer.py:141:21: E126 continuation line over-indented for hanging indent
'write 64', 'write 64', 'write 52', 'close',
^
./slave/buildslave/test/unit/test_commands_transfer.py:163:21: E126 continuation line over-indented for hanging indent
{'header': 'sending %s' % self.datafile},
^
./slave/buildslave/test/unit/test_commands_transfer.py:164:21: E126 continuation line over-indented for hanging indent
'write 64', 'write 36', 'close',
^
./slave/buildslave/test/unit/test_commands_transfer.py:166:80: E501 line too long (96 > 79 characters)
'stderr': "Maximum filesize reached, truncating file '%s'" % self.datafile}
^
./slave/buildslave/test/unit/test_commands_transfer.py:186:21: E126 continuation line over-indented for hanging indent
{'header': 'sending %s' % df},
^
./slave/buildslave/test/unit/test_commands_transfer.py:187:21: E126 continuation line over-indented for hanging indent
'close',
^
./slave/buildslave/test/unit/test_commands_transfer.py:209:9: E301 expected 1 blank line, found 0
def check(_):
^
./slave/buildslave/test/unit/test_commands_transfer.py:211:21: E126 continuation line over-indented for hanging indent
{'header': 'sending %s' % self.datafile},
^
./slave/buildslave/test/unit/test_commands_transfer.py:212:21: E126 continuation line over-indented for hanging indent
'write 64', 'close',
^
./slave/buildslave/test/unit/test_commands_transfer.py:219:43: E261 at least two spaces before inline comment
self.fakemaster.delay_write = True # write veery slowly
^
./slave/buildslave/test/unit/test_commands_transfer.py:242:9: E301 expected 1 blank line, found 0
def check(_):
^
./slave/buildslave/test/unit/test_commands_transfer.py:244:21: E126 continuation line over-indented for hanging indent
{'header': 'sending %s' % self.datafile},
^
./slave/buildslave/test/unit/test_commands_transfer.py:245:21: E126 continuation line over-indented for hanging indent
'write(s)', 'close', {'rc': 1}
^
./slave/buildslave/test/unit/test_commands_transfer.py:252:22: E201 whitespace after '('
timestamp = ( os.path.getatime(self.datafile),
^
./slave/buildslave/test/unit/test_commands_transfer.py:253:54: E202 whitespace before ')'
os.path.getmtime(self.datafile) )
^
./slave/buildslave/test/unit/test_commands_transfer.py:268:21: E126 continuation line over-indented for hanging indent
{'header': 'sending %s' % self.datafile},
^
./slave/buildslave/test/unit/test_commands_transfer.py:269:21: E126 continuation line over-indented for hanging indent
'write 64', 'write 64', 'write 52',
^
./slave/buildslave/test/unit/test_commands_transfer.py:270:28: E231 missing whitespace after ','
'close','utime - %s' % timestamp[0],
^
./slave/buildslave/test/unit/test_commands_transfer.py:276:1: E302 expected 2 blank lines, found 1
class TestSlaveDirectoryUpload(CommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_transfer.py:289:80: E501 line too long (81 > 79 characters)
open(os.path.join(self.datadir, "bb"), "wb").write("and a little b" * 17)
^
./slave/buildslave/test/unit/test_commands_transfer.py:298:41: W291 trailing whitespace
self.fakemaster.keep_data = True
^
./slave/buildslave/test/unit/test_commands_transfer.py:313:21: E126 continuation line over-indented for hanging indent
{'header': 'sending %s' % self.datadir},
^
./slave/buildslave/test/unit/test_commands_transfer.py:314:21: E126 continuation line over-indented for hanging indent
'write(s)', 'unpack', # note no 'close"
^
./slave/buildslave/test/unit/test_commands_transfer.py:314:42: E261 at least two spaces before inline comment
'write(s)', 'unpack', # note no 'close"
^
./slave/buildslave/test/unit/test_commands_transfer.py:322:26: E201 whitespace after '['
exp_names = [ '.', 'aa', 'bb' ]
^
./slave/buildslave/test/unit/test_commands_transfer.py:322:42: E202 whitespace before ']'
exp_names = [ '.', 'aa', 'bb' ]
^
./slave/buildslave/test/unit/test_commands_transfer.py:323:26: E201 whitespace after '['
got_names = [ n.rstrip('/') for n in a.getnames() ]
^
./slave/buildslave/test/unit/test_commands_transfer.py:323:62: E202 whitespace before ']'
got_names = [ n.rstrip('/') for n in a.getnames() ]
^
./slave/buildslave/test/unit/test_commands_transfer.py:324:33: E201 whitespace after '['
got_names = sorted([ n or '.' for n in got_names ]) # py27 uses '' instead of '.'
^
./slave/buildslave/test/unit/test_commands_transfer.py:324:61: E202 whitespace before ']'
got_names = sorted([ n or '.' for n in got_names ]) # py27 uses '' instead of '.'
^
./slave/buildslave/test/unit/test_commands_transfer.py:324:64: E261 at least two spaces before inline comment
got_names = sorted([ n or '.' for n in got_names ]) # py27 uses '' instead of '.'
^
./slave/buildslave/test/unit/test_commands_transfer.py:324:80: E501 line too long (93 > 79 characters)
got_names = sorted([ n or '.' for n in got_names ]) # py27 uses '' instead of '.'
^
./slave/buildslave/test/unit/test_commands_transfer.py:335:5: E301 expected 1 blank line, found 0
def test_simple_gz(self):
^
./slave/buildslave/test/unit/test_commands_transfer.py:339:34: E231 missing whitespace after ','
if sys.version_info[:2] <= (2,4):
^
./slave/buildslave/test/unit/test_commands_transfer.py:340:80: E501 line too long (85 > 79 characters)
test_simple_bz2.skip = "bz2 stream decompression not supported on Python-2.4"
^
./slave/buildslave/test/unit/test_commands_transfer.py:343:41: W291 trailing whitespace
self.fakemaster.keep_data = True
^
./slave/buildslave/test/unit/test_commands_transfer.py:344:43: W291 trailing whitespace
self.fakemaster.unpack_fail = True
^
./slave/buildslave/test/unit/test_commands_transfer.py:360:21: E126 continuation line over-indented for hanging indent
{'header': 'sending %s' % self.datadir},
^
./slave/buildslave/test/unit/test_commands_transfer.py:361:21: E126 continuation line over-indented for hanging indent
'write(s)', 'unpack',
^
./slave/buildslave/test/unit/test_commands_transfer.py:371:1: E302 expected 2 blank lines, found 1
class TestDownloadFile(CommandTestMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_transfer.py:407:21: E126 continuation line over-indented for hanging indent
'read 32', 'read 32', 'read 32', 'close',
^
./slave/buildslave/test/unit/test_commands_transfer.py:434:21: E126 continuation line over-indented for hanging indent
'read(s)', 'close',
^
./slave/buildslave/test/unit/test_commands_transfer.py:449:29: E261 at least two spaces before inline comment
slavedest='dir', ## but that's a directory!
^
./slave/buildslave/test/unit/test_commands_transfer.py:449:30: E262 inline comment should start with '# '
slavedest='dir', ## but that's a directory!
^
./slave/buildslave/test/unit/test_commands_transfer.py:460:21: E126 continuation line over-indented for hanging indent
'close',
^
./slave/buildslave/test/unit/test_commands_transfer.py:463:33: E127 continuation line over-indented for visual indent
% os.path.join(self.basedir, '.', 'dir')}
^
./slave/buildslave/test/unit/test_commands_transfer.py:469:5: E303 too many blank lines (2)
def test_truncated(self):
^
./slave/buildslave/test/unit/test_commands_transfer.py:485:21: E126 continuation line over-indented for hanging indent
'read(s)', 'close',
^
./slave/buildslave/test/unit/test_commands_transfer.py:488:33: E127 continuation line over-indented for visual indent
% os.path.join(self.basedir, '.', 'data')}
^
./slave/buildslave/test/unit/test_commands_transfer.py:497:50: E261 at least two spaces before inline comment
self.fakemaster.data = 'tenchars--' * 100 # 1k
^
./slave/buildslave/test/unit/test_commands_transfer.py:498:42: E261 at least two spaces before inline comment
self.fakemaster.delay_read = True # read veery slowly
^
./slave/buildslave/test/unit/test_commands_transfer.py:521:9: E301 expected 1 blank line, found 0
def check(_):
^
./slave/buildslave/test/unit/test_commands_transfer.py:523:21: E126 continuation line over-indented for hanging indent
'read(s)', 'close', {'rc': 1}
^
./slave/buildslave/test/unit/test_commands_transfer.py:527:1: W391 blank line at end of file
^
./slave/buildslave/test/unit/test_commands_utils.py:16:10: E401 multiple imports on one line
import os, sys
^
./slave/buildslave/test/unit/test_commands_utils.py:25:1: E302 expected 2 blank lines, found 1
class GetCommand(unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_utils.py:30:9: E301 expected 1 blank line, found 0
def which(arg):
^
./slave/buildslave/test/unit/test_commands_utils.py:42:20: E203 whitespace before ':'
'xeyes' : [],
^
./slave/buildslave/test/unit/test_commands_utils.py:44:47: E203 whitespace before ':'
self.assertRaises(RuntimeError, lambda : utils.getCommand('xeyes'))
^
./slave/buildslave/test/unit/test_commands_utils.py:48:20: E203 whitespace before ':'
'xeyes' : [ '/usr/bin/xeyes' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:48:24: E201 whitespace after '['
'xeyes' : [ '/usr/bin/xeyes' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:48:41: E202 whitespace before ']'
'xeyes' : [ '/usr/bin/xeyes' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:54:20: E203 whitespace before ':'
'xeyes' : [ '/usr/bin/xeyes', '/usr/X11/bin/xeyes' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:54:24: E201 whitespace after '['
'xeyes' : [ '/usr/bin/xeyes', '/usr/X11/bin/xeyes' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:54:63: E202 whitespace before ']'
'xeyes' : [ '/usr/bin/xeyes', '/usr/X11/bin/xeyes' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:60:20: E203 whitespace before ':'
'xeyes' : [ '/usr/bin/xeyes' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:60:24: E201 whitespace after '['
'xeyes' : [ '/usr/bin/xeyes' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:60:41: E202 whitespace before ']'
'xeyes' : [ '/usr/bin/xeyes' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:63:24: E203 whitespace before ':'
'xeyes.exe' : [ r'c:\program files\xeyes.exe' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:63:28: E201 whitespace after '['
'xeyes.exe' : [ r'c:\program files\xeyes.exe' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:63:58: E202 whitespace before ']'
'xeyes.exe' : [ r'c:\program files\xeyes.exe' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:69:20: E203 whitespace before ':'
'xeyes' : [ r'c:\program files\xeyes.com', r'c:\program files\xeyes.exe' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:69:24: E201 whitespace after '['
'xeyes' : [ r'c:\program files\xeyes.com', r'c:\program files\xeyes.exe' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:69:80: E501 line too long (87 > 79 characters)
'xeyes' : [ r'c:\program files\xeyes.com', r'c:\program files\xeyes.exe' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:69:85: E202 whitespace before ']'
'xeyes' : [ r'c:\program files\xeyes.com', r'c:\program files\xeyes.exe' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:70:24: E203 whitespace before ':'
'xeyes.exe' : [ r'c:\program files\xeyes.exe' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:70:28: E201 whitespace after '['
'xeyes.exe' : [ r'c:\program files\xeyes.exe' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:70:58: E202 whitespace before ']'
'xeyes.exe' : [ r'c:\program files\xeyes.exe' ],
^
./slave/buildslave/test/unit/test_commands_utils.py:73:32: E221 multiple spaces before operator
if runtime.platformType == 'win32':
^
./slave/buildslave/test/unit/test_commands_utils.py:74:80: E501 line too long (86 > 79 characters)
self.assertEqual(utils.getCommand('xeyes'), r'c:\program files\xeyes.exe')
^
./slave/buildslave/test/unit/test_commands_utils.py:76:80: E501 line too long (86 > 79 characters)
self.assertEqual(utils.getCommand('xeyes'), r'c:\program files\xeyes.com')
^
./slave/buildslave/test/unit/test_commands_utils.py:78:1: E302 expected 2 blank lines, found 1
class RmdirRecursive(unittest.TestCase):
^
./slave/buildslave/test/unit/test_commands_utils.py:95:14: E201 whitespace after '('
open( os.path.join(self.target, "a"), "w")
^
./slave/buildslave/test/unit/test_commands_utils.py:97:14: E201 whitespace after '('
open( os.path.join(self.target, "d", "a"), "w")
^
./slave/buildslave/test/unit/test_commands_utils.py:99:14: E201 whitespace after '('
open( os.path.join(self.target, "d", "d", "a"), "w")
^
./slave/buildslave/test/unit/test_commands_utils.py:106:80: E501 line too long (90 > 79 characters)
print "\n(target directory was not removed by test, and cleanup failed too)\n"
^
./slave/buildslave/test/unit/test_commands_utils.py:116:32: E221 multiple spaces before operator
if runtime.platformType == 'win32':
^
./slave/buildslave/test/unit/test_runprocess.py:33:1: E302 expected 2 blank lines, found 1
def stdoutCommand(output):
^
./slave/buildslave/test/unit/test_runprocess.py:34:80: E501 line too long (83 > 79 characters)
return [sys.executable, '-c', 'import sys; sys.stdout.write("%s\\n")' % output]
^
./slave/buildslave/test/unit/test_runprocess.py:36:1: E302 expected 2 blank lines, found 1
def stderrCommand(output):
^
./slave/buildslave/test/unit/test_runprocess.py:37:80: E501 line too long (83 > 79 characters)
return [sys.executable, '-c', 'import sys; sys.stderr.write("%s\\n")' % output]
^
./slave/buildslave/test/unit/test_runprocess.py:39:1: E302 expected 2 blank lines, found 1
def sleepCommand(dur):
^
./slave/buildslave/test/unit/test_runprocess.py:42:1: E302 expected 2 blank lines, found 1
def scriptCommand(function, *args):
^
./slave/buildslave/test/unit/test_runprocess.py:49:24: E221 multiple spaces before operator
if runtime.platformType == 'win32':
^
./slave/buildslave/test/unit/test_runprocess.py:55:1: E302 expected 2 blank lines, found 1
class TestRunProcess(BasedirMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_runprocess.py:70:39: E201 whitespace after '['
s = runprocess.RunProcess(b, [ u'abcd', 'efg' ], self.basedir)
^
./slave/buildslave/test/unit/test_runprocess.py:70:54: E202 whitespace before ']'
s = runprocess.RunProcess(b, [ u'abcd', 'efg' ], self.basedir)
^
./slave/buildslave/test/unit/test_runprocess.py:77:25: E128 continuation line under-indented for visual indent
[ bsutil.Obfuscated(u'abcd', u'ABCD') ],
^
./slave/buildslave/test/unit/test_runprocess.py:77:26: E201 whitespace after '['
[ bsutil.Obfuscated(u'abcd', u'ABCD') ],
^
./slave/buildslave/test/unit/test_runprocess.py:77:62: E202 whitespace before ']'
[ bsutil.Obfuscated(u'abcd', u'ABCD') ],
^
./slave/buildslave/test/unit/test_runprocess.py:78:25: E126 continuation line over-indented for hanging indent
self.basedir)
^
./slave/buildslave/test/unit/test_runprocess.py:87:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:95:80: E501 line too long (92 > 79 characters)
s = runprocess.RunProcess(b, stdoutCommand('hello'), self.basedir, sendStdout=False)
^
./slave/buildslave/test/unit/test_runprocess.py:98:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:106:80: E501 line too long (91 > 79 characters)
s = runprocess.RunProcess(b, stdoutCommand('hello'), self.basedir, keepStdout=True)
^
./slave/buildslave/test/unit/test_runprocess.py:109:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:121:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:129:80: E501 line too long (92 > 79 characters)
s = runprocess.RunProcess(b, stderrCommand("hello"), self.basedir, sendStderr=False)
^
./slave/buildslave/test/unit/test_runprocess.py:132:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:140:80: E501 line too long (91 > 79 characters)
s = runprocess.RunProcess(b, stderrCommand("hello"), self.basedir, keepStderr=True)
^
./slave/buildslave/test/unit/test_runprocess.py:143:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:156:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:165:25: E128 continuation line under-indented for visual indent
[('obfuscated', 'abcd', 'ABCD')],
^
./slave/buildslave/test/unit/test_runprocess.py:166:25: E126 continuation line over-indented for hanging indent
self.basedir)
^
./slave/buildslave/test/unit/test_runprocess.py:179:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:198:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:218:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:231:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:232:80: E501 line too long (84 > 79 characters)
self.failUnless({'stdout': nl('escaped|pipe\n')} in b.updates, b.show())
^
./slave/buildslave/test/unit/test_runprocess.py:235:17: W291 trailing whitespace
return d
^
./slave/buildslave/test/unit/test_runprocess.py:242:39: E231 missing whitespace after ','
cmd[0] = cmd[0].replace(".exe","")
^
./slave/buildslave/test/unit/test_runprocess.py:243:24: E231 missing whitespace after ','
cmd.extend(['|','sort'])
^
./slave/buildslave/test/unit/test_runprocess.py:247:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:252:1: W293 blank line contains whitespace
^
./slave/buildslave/test/unit/test_runprocess.py:257:80: E501 line too long (88 > 79 characters)
cmd = sys.executable + ' -c "import sys; sys.stdout.write(\'b\\na\\n\')" | sort'
^
./slave/buildslave/test/unit/test_runprocess.py:261:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:266:1: W293 blank line contains whitespace
^
./slave/buildslave/test/unit/test_runprocess.py:273:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:274:80: E501 line too long (81 > 79 characters)
self.failUnless({'stdout': nl('hello\n')} not in b.updates, b.show())
^
./slave/buildslave/test/unit/test_runprocess.py:286:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:287:80: E501 line too long (81 > 79 characters)
self.failUnless({'stdout': nl('hello\n')} not in b.updates, b.show())
^
./slave/buildslave/test/unit/test_runprocess.py:290:25: E261 at least two spaces before inline comment
clock.advance(6) # should knock out maxTime
^
./slave/buildslave/test/unit/test_runprocess.py:297:17: E128 continuation line under-indented for visual indent
scriptCommand('assert_stdin_closed'),
^
./slave/buildslave/test/unit/test_runprocess.py:298:17: E126 continuation line over-indented for hanging indent
self.basedir,
^
./slave/buildslave/test/unit/test_runprocess.py:299:17: E126 continuation line over-indented for hanging indent
usePTY=False, # if usePTY=True, stdin is never closed
^
./slave/buildslave/test/unit/test_runprocess.py:299:30: E261 at least two spaces before inline comment
usePTY=False, # if usePTY=True, stdin is never closed
^
./slave/buildslave/test/unit/test_runprocess.py:300:17: E126 continuation line over-indented for hanging indent
logEnviron=False)
^
./slave/buildslave/test/unit/test_runprocess.py:302:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:318:9: E301 expected 1 blank line, found 0
def check(err):
^
./slave/buildslave/test/unit/test_runprocess.py:329:27: E203 whitespace before ':'
d.addBoth(lambda _ : self.flushLoggedErrors())
^
./slave/buildslave/test/unit/test_runprocess.py:335:29: E128 continuation line under-indented for visual indent
environ={"FOO": "BAR"})
^
./slave/buildslave/test/unit/test_runprocess.py:338:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:339:80: E501 line too long (107 > 79 characters)
headers = "".join([update.values()[0] for update in b.updates if update.keys() == ["header"] ])
^
./slave/buildslave/test/unit/test_runprocess.py:339:105: E202 whitespace before ']'
headers = "".join([update.values()[0] for update in b.updates if update.keys() == ["header"] ])
^
./slave/buildslave/test/unit/test_runprocess.py:347:29: E128 continuation line under-indented for visual indent
environ={"FOO": "BAR"}, logEnviron=False)
^
./slave/buildslave/test/unit/test_runprocess.py:350:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:351:80: E501 line too long (107 > 79 characters)
headers = "".join([update.values()[0] for update in b.updates if update.keys() == ["header"] ])
^
./slave/buildslave/test/unit/test_runprocess.py:351:105: E202 whitespace before ']'
headers = "".join([update.values()[0] for update in b.updates if update.keys() == ["header"] ])
^
./slave/buildslave/test/unit/test_runprocess.py:361:80: E501 line too long (91 > 79 characters)
s = runprocess.RunProcess(b, stdoutCommand('hello'), self.basedir, environ=environ)
^
./slave/buildslave/test/unit/test_runprocess.py:364:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:365:80: E501 line too long (107 > 79 characters)
headers = "".join([update.values()[0] for update in b.updates if update.keys() == ["header"] ])
^
./slave/buildslave/test/unit/test_runprocess.py:365:105: E202 whitespace before ']'
headers = "".join([update.values()[0] for update in b.updates if update.keys() == ["header"] ])
^
./slave/buildslave/test/unit/test_runprocess.py:368:53: E272 multiple spaces before keyword
self.failUnless("DOESNT_EXPAND=-${---}-" in headers, "got:\n" + headers)
^
./slave/buildslave/test/unit/test_runprocess.py:368:80: E501 line too long (85 > 79 characters)
self.failUnless("DOESNT_EXPAND=-${---}-" in headers, "got:\n" + headers)
^
./slave/buildslave/test/unit/test_runprocess.py:375:29: E128 continuation line under-indented for visual indent
environ={"PATH":None})
^
./slave/buildslave/test/unit/test_runprocess.py:375:44: E231 missing whitespace after ':'
environ={"PATH":None})
^
./slave/buildslave/test/unit/test_runprocess.py:378:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:379:80: E501 line too long (107 > 79 characters)
headers = "".join([update.values()[0] for update in b.updates if update.keys() == ["header"] ])
^
./slave/buildslave/test/unit/test_runprocess.py:379:105: E202 whitespace before ']'
headers = "".join([update.values()[0] for update in b.updates if update.keys() == ["header"] ])
^
./slave/buildslave/test/unit/test_runprocess.py:380:51: E231 missing whitespace after ','
self.failUnless(not re.match('\bPATH=',headers), "got:\n" + headers)
^
./slave/buildslave/test/unit/test_runprocess.py:380:80: E501 line too long (80 > 79 characters)
self.failUnless(not re.match('\bPATH=',headers), "got:\n" + headers)
^
./slave/buildslave/test/unit/test_runprocess.py:387:29: E128 continuation line under-indented for visual indent
environ={"PYTHONPATH":'a'})
^
./slave/buildslave/test/unit/test_runprocess.py:387:50: E231 missing whitespace after ':'
environ={"PYTHONPATH":'a'})
^
./slave/buildslave/test/unit/test_runprocess.py:390:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:391:80: E501 line too long (107 > 79 characters)
headers = "".join([update.values()[0] for update in b.updates if update.keys() == ["header"] ])
^
./slave/buildslave/test/unit/test_runprocess.py:391:105: E202 whitespace before ']'
headers = "".join([update.values()[0] for update in b.updates if update.keys() == ["header"] ])
^
./slave/buildslave/test/unit/test_runprocess.py:392:75: E231 missing whitespace after ','
self.failUnless(not re.match('\bPYTHONPATH=a%s' % (os.pathsep),headers),
^
./slave/buildslave/test/unit/test_runprocess.py:392:80: E501 line too long (84 > 79 characters)
self.failUnless(not re.match('\bPYTHONPATH=a%s' % (os.pathsep),headers),
^
./slave/buildslave/test/unit/test_runprocess.py:400:29: E128 continuation line under-indented for visual indent
environ={"FOO":['a', 'b']})
^
./slave/buildslave/test/unit/test_runprocess.py:400:43: E231 missing whitespace after ':'
environ={"FOO":['a', 'b']})
^
./slave/buildslave/test/unit/test_runprocess.py:403:9: E301 expected 1 blank line, found 0
def check(ign):
^
./slave/buildslave/test/unit/test_runprocess.py:404:80: E501 line too long (107 > 79 characters)
headers = "".join([update.values()[0] for update in b.updates if update.keys() == ["header"] ])
^
./slave/buildslave/test/unit/test_runprocess.py:404:105: E202 whitespace before ']'
headers = "".join([update.values()[0] for update in b.updates if update.keys() == ["header"] ])
^
./slave/buildslave/test/unit/test_runprocess.py:405:71: E231 missing whitespace after ','
self.failUnless(not re.match('\bFOO=a%sb\b' % (os.pathsep),headers),
^
./slave/buildslave/test/unit/test_runprocess.py:405:80: E501 line too long (80 > 79 characters)
self.failUnless(not re.match('\bFOO=a%sb\b' % (os.pathsep),headers),
^
./slave/buildslave/test/unit/test_runprocess.py:412:47: E203 whitespace before ':'
self.assertRaises(RuntimeError, lambda :
^
./slave/buildslave/test/unit/test_runprocess.py:413:13: E128 continuation line under-indented for visual indent
runprocess.RunProcess(b, stdoutCommand('hello'), self.basedir,
^
./slave/buildslave/test/unit/test_runprocess.py:414:29: E128 continuation line under-indented for visual indent
environ={"BUILD_NUMBER":13}))
^
./slave/buildslave/test/unit/test_runprocess.py:414:52: E231 missing whitespace after ':'
environ={"BUILD_NUMBER":13}))
^
./slave/buildslave/test/unit/test_runprocess.py:429:43: E701 multiple statements on one line (colon)
if not os.path.exists(pidfile): continue
^
./slave/buildslave/test/unit/test_runprocess.py:431:23: E701 multiple statements on one line (colon)
if not pid: return
^
./slave/buildslave/test/unit/test_runprocess.py:433:16: E701 multiple statements on one line (colon)
try: os.kill(pid, signal.SIGKILL)
^
./slave/buildslave/test/unit/test_runprocess.py:434:27: E701 multiple statements on one line (colon)
except OSError: pass
^
./slave/buildslave/test/unit/test_runprocess.py:454:9: E301 expected 1 blank line, found 0
def poll():
^
./slave/buildslave/test/unit/test_runprocess.py:468:15: E261 at least two spaces before inline comment
poll() # poll right away
^
./slave/buildslave/test/unit/test_runprocess.py:479:9: E301 expected 1 blank line, found 0
def check():
^
./slave/buildslave/test/unit/test_runprocess.py:483:28: E261 at least two spaces before inline comment
return True # dead
^
./slave/buildslave/test/unit/test_runprocess.py:484:25: E261 at least two spaces before inline comment
return False # alive
^
./slave/buildslave/test/unit/test_runprocess.py:487:19: E701 multiple statements on one line (colon)
if check(): return
^
./slave/buildslave/test/unit/test_runprocess.py:512:17: E128 continuation line under-indented for visual indent
scriptCommand('write_pidfile_and_sleep', pidfile),
^
./slave/buildslave/test/unit/test_runprocess.py:513:17: E126 continuation line over-indented for hanging indent
self.basedir)
^
./slave/buildslave/test/unit/test_runprocess.py:521:27: E261 at least two spaces before inline comment
self.pid = pid # for use in check_dead
^
./slave/buildslave/test/unit/test_runprocess.py:541:17: E128 continuation line under-indented for visual indent
scriptCommand('write_pidfile_and_sleep', pidfile),
^
./slave/buildslave/test/unit/test_runprocess.py:542:17: E126 continuation line over-indented for hanging indent
self.basedir, sigtermTime=1)
^
./slave/buildslave/test/unit/test_runprocess.py:550:37: E261 at least two spaces before inline comment
mock_process.pgid = None # Skips over group SIGTERM
^
./slave/buildslave/test/unit/test_runprocess.py:553:13: E301 expected 1 blank line, found 0
def _mock_signalProcess(sig):
^
./slave/buildslave/test/unit/test_runprocess.py:560:27: E261 at least two spaces before inline comment
self.pid = pid # for use in check_dead
^
./slave/buildslave/test/unit/test_runprocess.py:583:17: E128 continuation line under-indented for visual indent
expectChildSurvival=True)
^
./slave/buildslave/test/unit/test_runprocess.py:586:17: E128 continuation line under-indented for visual indent
expectChildSurvival=False):
^
./slave/buildslave/test/unit/test_runprocess.py:595:17: E128 continuation line under-indented for visual indent
scriptCommand('spawn_child', parent_pidfile, child_pidfile),
^
./slave/buildslave/test/unit/test_runprocess.py:596:17: E126 continuation line over-indented for hanging indent
self.basedir,
^
./slave/buildslave/test/unit/test_runprocess.py:597:17: E126 continuation line over-indented for hanging indent
usePTY=usePTY,
^
./slave/buildslave/test/unit/test_runprocess.py:598:17: E126 continuation line over-indented for hanging indent
useProcGroup=useProcGroup)
^
./slave/buildslave/test/unit/test_runprocess.py:605:9: E301 expected 1 blank line, found 0
def got_pids(pids):
^
./slave/buildslave/test/unit/test_runprocess.py:608:9: E301 expected 1 blank line, found 0
def kill(_):
^
./slave/buildslave/test/unit/test_runprocess.py:614:9: E301 expected 1 blank line, found 0
def check_dead(_):
^
./slave/buildslave/test/unit/test_runprocess.py:633:17: E128 continuation line under-indented for visual indent
expectChildSurvival=True)
^
./slave/buildslave/test/unit/test_runprocess.py:647:17: E128 continuation line under-indented for visual indent
scriptCommand('double_fork', parent_pidfile, child_pidfile),
^
./slave/buildslave/test/unit/test_runprocess.py:648:17: E126 continuation line over-indented for hanging indent
self.basedir,
^
./slave/buildslave/test/unit/test_runprocess.py:649:17: E126 continuation line over-indented for hanging indent
usePTY=usePTY,
^
./slave/buildslave/test/unit/test_runprocess.py:650:17: E126 continuation line over-indented for hanging indent
useProcGroup=useProcGroup)
^
./slave/buildslave/test/unit/test_runprocess.py:657:9: E301 expected 1 blank line, found 0
def got_pids(pids):
^
./slave/buildslave/test/unit/test_runprocess.py:660:9: E301 expected 1 blank line, found 0
def kill(_):
^
./slave/buildslave/test/unit/test_runprocess.py:666:9: E301 expected 1 blank line, found 0
def check_dead(_):
^
./slave/buildslave/test/unit/test_runprocess.py:675:1: E302 expected 2 blank lines, found 1
class TestLogging(BasedirMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_runprocess.py:724:1: E302 expected 2 blank lines, found 1
class TestLogFileWatcher(BasedirMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_runprocess.py:748:80: E501 line too long (84 > 79 characters)
self.assertEqual(st and st[2], 2, "statfile.log exists and size is correct")
^
./slave/buildslave/test/unit/test_scripts_base.py:38:45: E126 continuation line over-indented for hanging indent
% (self.tac_file_path, strerror)
^
./slave/buildslave/test/unit/test_scripts_create_slave.py:308:41: E127 continuation line over-indented for visual indent
_regexp_path("bdir", "info"),
^
./slave/buildslave/test/unit/test_scripts_create_slave.py:357:41: E127 continuation line over-indented for visual indent
_regexp_path("bdir", "info", "admin"),
^
./slave/buildslave/test/unit/test_scripts_create_slave.py:367:21: E126 continuation line over-indented for hanging indent
os.path.join("info", "admin"))
^
./slave/buildslave/test/unit/test_scripts_create_slave.py:417:17: E126 continuation line over-indented for hanging indent
[mock.call(os.path.join(info_path, "admin"), "wt"),
^
./slave/buildslave/test/unit/test_scripts_create_slave.py:435:21: E126 continuation line over-indented for hanging indent
(info_path, os.path.join("info", "admin"),
^
./slave/buildslave/test/unit/test_scripts_create_slave.py:472:16: E121 continuation line indentation is not a multiple of four
# flags
^
./slave/buildslave/test/unit/test_scripts_create_slave.py:491:16: E121 continuation line indentation is not a multiple of four
}
^
./slave/buildslave/test/unit/test_scripts_create_slave.py:623:13: E128 continuation line under-indented for visual indent
".tac file doesn't define \"application\" variable")
^
./slave/buildslave/test/unit/test_scripts_create_slave.py:625:13: E128 continuation line under-indented for visual indent
"defined \"application\" variable in .tac file is not "
^
./slave/buildslave/test/unit/test_scripts_create_slave.py:668:13: E128 continuation line under-indented for visual indent
" \x07 \" \\\" ' \\' ''")
^
./slave/buildslave/test/unit/test_scripts_runner.py:36:1: E302 expected 2 blank lines, found 1
class BaseDirTestsMixin:
^
./slave/buildslave/test/unit/test_scripts_runner.py:49:40: E203 whitespace before ':'
self.patch(os, "getcwd", lambda : self.GETCWD_PATH)
^
./slave/buildslave/test/unit/test_scripts_runner.py:53:35: E711 comparison to None should be 'if cond is not None:'
assert self.options_class != None
^
./slave/buildslave/test/unit/test_scripts_runner.py:182:45: E203 whitespace before ':'
{"force" : True,
^
./slave/buildslave/test/unit/test_scripts_runner.py:183:45: E203 whitespace before ':'
"relocatable" : True,
^
./slave/buildslave/test/unit/test_scripts_runner.py:184:45: E203 whitespace before ':'
"no-logrotate" : True,
^
./slave/buildslave/test/unit/test_scripts_runner.py:185:45: E203 whitespace before ':'
"usepty" : 0,
^
./slave/buildslave/test/unit/test_scripts_runner.py:186:45: E203 whitespace before ':'
"umask" : "022",
^
./slave/buildslave/test/unit/test_scripts_runner.py:187:45: E203 whitespace before ':'
"maxdelay" : 3,
^
./slave/buildslave/test/unit/test_scripts_runner.py:188:45: E203 whitespace before ':'
"log-size" : 2,
^
./slave/buildslave/test/unit/test_scripts_runner.py:189:45: E203 whitespace before ':'
"log-count" : "1",
^
./slave/buildslave/test/unit/test_scripts_runner.py:190:45: E203 whitespace before ':'
"allow-shutdown" : "file",
^
./slave/buildslave/test/unit/test_scripts_runner.py:191:45: E203 whitespace before ':'
"basedir" : "bdir",
^
./slave/buildslave/test/unit/test_scripts_runner.py:192:45: E203 whitespace before ':'
"host" : "mstr",
^
./slave/buildslave/test/unit/test_scripts_runner.py:193:45: E203 whitespace before ':'
"port" : 5678,
^
./slave/buildslave/test/unit/test_scripts_runner.py:194:45: E203 whitespace before ':'
"name" : "name",
^
./slave/buildslave/test/unit/test_scripts_runner.py:195:45: E203 whitespace before ':'
"passwd" : "pswd"})
^
./slave/buildslave/test/unit/test_scripts_runner.py:224:25: E128 continuation line under-indented for visual indent
"log-count parameter needs to be an number or None",
^
./slave/buildslave/test/unit/test_scripts_runner.py:229:25: E128 continuation line under-indented for visual indent
"umask parameter needs to be an number or None",
^
./slave/buildslave/test/unit/test_scripts_runner.py:234:21: E128 continuation line under-indented for visual indent
"allow-shutdown needs to be one of 'signal' or 'file'",
^
./slave/buildslave/test/unit/test_scripts_runner.py:274:64: E502 the backslash is redundant between brackets
"invalid master port 'apple', "\
^
./slave/buildslave/test/unit/test_scripts_runner.py:320:1: E302 expected 2 blank lines, found 1
class TestRun(misc.StdoutAssertionsMixin, unittest.TestCase):
^
./slave/buildslave/test/unit/test_scripts_runner.py:356:13: E128 continuation line under-indented for visual indent
[['test', None, self.TestSubCommand, None ]])
^
./slave/buildslave/test/unit/test_scripts_runner.py:356:54: E202 whitespace before ']'
[['test', None, self.TestSubCommand, None ]])
^
./slave/buildslave/test/unit/test_scripts_runner.py:359:49: E251 unexpected spaces around keyword / parameter equals
subcommand_func = mock.Mock(return_value = 42)
^
./slave/buildslave/test/unit/test_scripts_runner.py:359:51: E251 unexpected spaces around keyword / parameter equals
subcommand_func = mock.Mock(return_value = 42)
^
./slave/buildslave/test/unit/test_scripts_upgrade_slave.py:23:1: E122 continuation line missing indentation or outdented
"""# dummy buildbot.tac
^
./slave/buildslave/test/unit/test_scripts_upgrade_slave.py:30:1: E122 continuation line missing indentation or outdented
"""# dummy buildbot.tac
^
./slave/buildslave/test/unit/test_util.py:20:1: E302 expected 2 blank lines, found 1
class remove_userpassword(unittest.TestCase):
^
./slave/buildslave/test/unit/test_util.py:30:80: E501 line too long (90 > 79 characters)
self.assertUrl('http://myuser:mypass@myurl.com/myrepo', 'http://myurl.com/myrepo')
^
./slave/buildslave/test/unit/test_util.py:33:80: E501 line too long (80 > 79 characters)
self.assertUrl('http://myurl2.com/myrepo2', 'http://myurl2.com/myrepo2')
^
./slave/buildslave/test/unit/test_util.py:36:80: E501 line too long (96 > 79 characters)
self.assertUrl('http://myuser2:mypass2@myurl2.com/myrepo2', 'http://myurl2.com/myrepo2')
^
./slave/buildslave/test/unit/test_util.py:42:80: E501 line too long (94 > 79 characters)
self.assertUrl('ssh://myuser3:mypass3@myurl3.com/myrepo3', 'ssh://myurl3.com/myrepo3')
^
./slave/buildslave/test/unit/test_util.py:53:1: E302 expected 2 blank lines, found 1
class TestObfuscated(unittest.TestCase):
^
./slave/buildslave/test/unit/test_util.py:62:80: E501 line too long (81 > 79 characters)
self.failUnlessEqual(['echo', 'password'], util.Obfuscated.get_real(cmd))
^
./slave/buildslave/test/unit/test_util.py:63:80: E501 line too long (80 > 79 characters)
self.failUnlessEqual(['echo', '*******'], util.Obfuscated.get_fake(cmd))
^
./slave/buildslave/test/unit/test_util.py:74:1: W391 blank line at end of file
^
./slave/buildslave/test/fake/remote.py:18:1: E302 expected 2 blank lines, found 1
class FakeRemote:
^
./slave/buildslave/test/fake/remote.py:30:39: E701 multiple statements on one line (colon)
def notifyOnDisconnect(self, what): pass
^
./slave/buildslave/test/fake/remote.py:31:5: E301 expected 1 blank line, found 0
def dontNotifyOnDisconnect(self, what): pass
^
./slave/buildslave/test/fake/remote.py:31:43: E701 multiple statements on one line (colon)
def dontNotifyOnDisconnect(self, what): pass
^
./slave/buildslave/test/fake/runprocess.py:19:1: E302 expected 2 blank lines, found 1
class Expect:
^
./slave/buildslave/test/fake/runprocess.py:48:28: E201 whitespace after '('
self.result = ( 'c', other )
^
./slave/buildslave/test/fake/runprocess.py:48:39: E202 whitespace before ')'
self.result = ( 'c', other )
^
./slave/buildslave/test/fake/runprocess.py:50:28: E201 whitespace after '('
self.result = ( 'e', other )
^
./slave/buildslave/test/fake/runprocess.py:50:39: E202 whitespace before ')'
self.result = ( 'e', other )
^
./slave/buildslave/test/fake/runprocess.py:60:17: E126 continuation line over-indented for hanging indent
self.kwargs['command'], self.kwargs['workdir'],
^
./slave/buildslave/test/fake/runprocess.py:61:17: E126 continuation line over-indented for hanging indent
other_kwargs, self.result)
^
./slave/buildslave/test/fake/runprocess.py:74:80: E501 line too long (84 > 79 characters)
Note that this handles sendStderr/sendStdout and keepStderr/keepStdout properly.
^
./slave/buildslave/test/fake/runprocess.py:93:80: E501 line too long (94 > 79 characters)
raise AssertionError("%d expected instances not created" % len(cls._expectations))
^
./slave/buildslave/test/fake/runprocess.py:103:18: E128 continuation line under-indented for visual indent
sendStdout=True, sendStderr=True, sendRC=True,
^
./slave/buildslave/test/fake/runprocess.py:104:18: E128 continuation line under-indented for visual indent
timeout=None, maxTime=None, sigtermTime=None, initialStdin=None,
^
./slave/buildslave/test/fake/runprocess.py:104:80: E501 line too long (81 > 79 characters)
timeout=None, maxTime=None, sigtermTime=None, initialStdin=None,
^
./slave/buildslave/test/fake/runprocess.py:105:18: E128 continuation line under-indented for visual indent
keepStdout=False, keepStderr=False,
^
./slave/buildslave/test/fake/runprocess.py:106:18: E128 continuation line under-indented for visual indent
logEnviron=True, logfiles={}, usePTY="slave-config")
^
./slave/buildslave/test/fake/runprocess.py:112:20: E201 whitespace after '['
msg = [ ]
^
./slave/buildslave/test/fake/runprocess.py:113:80: E501 line too long (81 > 79 characters)
for key in sorted(list(set(exp.kwargs.keys()) | set(kwargs.keys()))):
^
./slave/buildslave/test/fake/runprocess.py:117:37: E261 at least two spaces before inline comment
continue # default values are expected
^
./slave/buildslave/test/fake/runprocess.py:119:37: E127 continuation line over-indented for visual indent
(key, default_values[key], kwargs[key]))
^
./slave/buildslave/test/fake/runprocess.py:121:80: E501 line too long (89 > 79 characters)
msg.append('%s: unexpected arg, value = %r' % (key, kwargs[key]))
^
./slave/buildslave/test/fake/runprocess.py:125:80: E501 line too long (98 > 79 characters)
msg.append('%s: expected %r,\n got %r' % (key, exp.kwargs[key], kwargs[key]))
^
./slave/buildslave/test/fake/runprocess.py:128:80: E501 line too long (96 > 79 characters)
+ " ".join(map(repr, kwargs.get('command', ['unknown command']))))
^
./slave/buildslave/test/fake/runprocess.py:129:43: E261 at least two spaces before inline comment
self._expectations[:] = [] # don't expect any more instances, since we're failing
^
./slave/buildslave/test/fake/runprocess.py:129:80: E501 line too long (97 > 79 characters)
self._expectations[:] = [] # don't expect any more instances, since we're failing
^
./slave/buildslave/test/fake/runprocess.py:162:25: E261 at least two spaces before inline comment
continue # don't send this update
^
./slave/buildslave/test/fake/runprocess.py:181:40: E203 whitespace before ':'
self._builder.sendUpdate({'hdr' : 'killing'})
^
./slave/buildslave/test/fake/runprocess.py:182:39: E203 whitespace before ':'
self._builder.sendUpdate({'rc' : -1})
^
./slave/buildslave/test/fake/slavebuilder.py:18:1: E302 expected 2 blank lines, found 1
class FakeSlaveBuilder:
^
./slave/buildslave/test/fake/slavebuilder.py:25:5: E301 expected 1 blank line, found 0
def __init__(self, usePTY=False, basedir="/slavebuilder/basedir"):
^
./slave/buildslave/test/fake/slavebuilder.py:38:1: W391 blank line at end of file
^
./slave/buildslave/scripts/base.py:18:1: E302 expected 2 blank lines, found 1
def isBuildslaveDir(dir):
^
./slave/buildslave/scripts/base.py:26:48: E502 the backslash is redundant between brackets
print_error("error reading '%s': %s" % \
^
./slave/buildslave/scripts/base.py:27:24: E127 continuation line over-indented for visual indent
(buildbot_tac, exception.strerror))
^
./slave/buildslave/scripts/create_slave.py:38:1: E128 continuation line under-indented for visual indent
"""
^
./slave/buildslave/scripts/create_slave.py:42:80: E501 line too long (96 > 79 characters)
logfile = LogFile.fromFullPath(os.path.join(basedir, "twistd.log"), rotateLength=rotateLength,
^
./slave/buildslave/scripts/create_slave.py:49:1: E128 continuation line under-indented for visual indent
"""
^
./slave/buildslave/scripts/create_slave.py:95:41: E127 continuation line over-indented for visual indent
(basedir, exception.strerror))
^
./slave/buildslave/scripts/create_slave.py:116:41: E127 continuation line over-indented for visual indent
(tacfile, exception.strerror))
^
./slave/buildslave/scripts/create_slave.py:136:37: E127 continuation line over-indented for visual indent
(tacfile, exception.strerror))
^
./slave/buildslave/scripts/create_slave.py:163:41: E127 continuation line over-indented for visual indent
(filepath, exception.strerror))
^
./slave/buildslave/scripts/create_slave.py:174:37: E127 continuation line over-indented for visual indent
(path, exception.strerror))
^
./slave/buildslave/scripts/create_slave.py:218:19: E121 continuation line indentation is not a multiple of four
(exception, config['basedir'])
^
./slave/buildslave/scripts/logwatcher.py:22:1: E302 expected 2 blank lines, found 1
class FakeTransport:
^
./slave/buildslave/scripts/logwatcher.py:25:1: E302 expected 2 blank lines, found 1
class BuildmasterTimeoutError(Exception):
^
./slave/buildslave/scripts/logwatcher.py:27:1: E302 expected 2 blank lines, found 0
class BuildslaveTimeoutError(Exception):
^
./slave/buildslave/scripts/logwatcher.py:29:1: E302 expected 2 blank lines, found 0
class ReconfigError(Exception):
^
./slave/buildslave/scripts/logwatcher.py:31:1: E302 expected 2 blank lines, found 0
class BuildSlaveDetectedError(Exception):
^
./slave/buildslave/scripts/logwatcher.py:34:1: E302 expected 2 blank lines, found 1
class TailProcess(protocol.ProcessProtocol):
^
./slave/buildslave/scripts/logwatcher.py:37:5: E301 expected 1 blank line, found 0
def errReceived(self, data):
^
./slave/buildslave/scripts/runner.py:181:21: E126 continuation line over-indented for hanging indent
"[options] <basedir> <master> <name> <passwd>"
^
./slave/buildslave/scripts/runner.py:201:69: E127 continuation line over-indented for visual indent
% argument)
^
./slave/buildslave/scripts/start.py:17:10: E401 multiple imports on one line
import os, sys, time
^
./slave/buildslave/scripts/start.py:20:1: E302 expected 2 blank lines, found 1
class Follower:
^
./slave/buildslave/scripts/start.py:41:14: E127 continuation line over-indented for visual indent
ReconfigError, BuildslaveTimeoutError, BuildSlaveDetectedError
^
./slave/buildslave/scripts/start.py:88:1: E302 expected 2 blank lines, found 1
def startSlave(basedir, quiet, nodaemon):
^
./slave/buildslave/scripts/start.py:126:1: E302 expected 2 blank lines, found 1
def launch(nodaemon):
^
./slave/buildslave/scripts/start.py:135:36: E261 at least two spaces before inline comment
"--logfile=twistd.log", # windows doesn't use the same default
^
./slave/buildslave/scripts/start.py:155:1: W391 blank line at end of file
^
./slave/buildslave/scripts/upgrade_slave.py:31:80: E501 line too long (80 > 79 characters)
open(os.path.join(basedir, "buildbot.tac"), "w").write(new_buildbot_tac)
^
./slave/buildslave/monkeypatches/__init__.py:20:1: E302 expected 2 blank lines, found 1
def patch_bug4881():
^
./slave/buildslave/monkeypatches/__init__.py:31:1: E302 expected 2 blank lines, found 1
def patch_bug5079():
^
./slave/buildslave/monkeypatches/__init__.py:37:1: E302 expected 2 blank lines, found 1
def patch_testcase_assert_raises_regexp():
^
./slave/buildslave/monkeypatches/__init__.py:41:33: E231 missing whitespace after ','
if sys.version_info[:2] < (2,7):
^
./slave/buildslave/monkeypatches/__init__.py:45:1: E302 expected 2 blank lines, found 1
def patch_all(for_tests=False):
^
./slave/buildslave/monkeypatches/bug4881.py:21:1: E302 expected 2 blank lines, found 1
def patch():
^
./slave/buildslave/monkeypatches/bug4881.py:70:2: W291 trailing whitespace
#
^
./slave/buildslave/monkeypatches/bug4881.py:78:2: W291 trailing whitespace
#
^
./slave/buildslave/monkeypatches/bug4881.py:81:2: W291 trailing whitespace
#
^
./slave/buildslave/monkeypatches/bug4881.py:96:1: E302 expected 2 blank lines, found 1
class _FDDetector(object):
^
./slave/buildslave/monkeypatches/bug4881.py:117:5: E303 too many blank lines (2)
def _listOpenFDs(self):
^
./slave/buildslave/monkeypatches/bug4881.py:125:5: E303 too many blank lines (2)
def _getImplementation(self):
^
./slave/buildslave/monkeypatches/bug4881.py:129:1: W293 blank line contains whitespace
^
./slave/buildslave/monkeypatches/bug4881.py:135:41: E261 at least two spaces before inline comment
if self._checkDevFDSanity(): # FreeBSD support :-)
^
./slave/buildslave/monkeypatches/bug4881.py:145:53: E261 at least two spaces before inline comment
self._resourceFDImplementation() # Imports resource
^
./slave/buildslave/monkeypatches/bug4881.py:151:5: E303 too many blank lines (2)
def _checkDevFDSanity(self):
^
./slave/buildslave/monkeypatches/bug4881.py:157:40: E261 at least two spaces before inline comment
self.openfile("/dev/null", "r") # changed in Buildbot to hush pyflakes
^
./slave/buildslave/monkeypatches/bug4881.py:162:5: E303 too many blank lines (2)
def _devFDImplementation(self):
^
./slave/buildslave/monkeypatches/bug4881.py:172:5: E303 too many blank lines (2)
def _procFDImplementation(self):
^
./slave/buildslave/monkeypatches/bug4881.py:181:5: E303 too many blank lines (2)
def _resourceFDImplementation(self):
^
./slave/buildslave/monkeypatches/bug4881.py:197:5: E303 too many blank lines (2)
def _fallbackFDImplementation(self):
^
./slave/buildslave/monkeypatches/bug4881.py:208:1: E302 expected 2 blank lines, found 1
def _listOpenFDs():
^
./slave/buildslave/monkeypatches/bug5079.py:20:1: E302 expected 2 blank lines, found 1
def patch():
^
./slave/buildslave/monkeypatches/bug5079.py:27:1: E302 expected 2 blank lines, found 1
def _fixed_cbLogin(self, (interface, avatar, logout)):
^
./slave/buildslave/monkeypatches/bug5079.py:40:15: E201 whitespace after '['
logout = [ logout ]
^
./slave/buildslave/monkeypatches/bug5079.py:40:22: E202 whitespace before ']'
logout = [ logout ]
^
./slave/buildslave/monkeypatches/bug5079.py:41:5: E301 expected 1 blank line, found 0
def maybeLogout():
^
./slave/buildslave/monkeypatches/bug5079.py:42:22: E701 multiple statements on one line (colon)
if not logout: return
^
./slave/buildslave/monkeypatches/testcase_assert.py:36:18: E711 comparison to None should be 'if cond is None:'
if exception == None:
^
./slave/buildslave/monkeypatches/testcase_assert.py:44:22: E127 continuation line over-indented for visual indent
(expected_regexp.pattern, str(exception)))
^
./slave/contrib/windows/buildbot_service.py:180:61: E128 continuation line under-indented for visual indent
"directories")
^
./slave/contrib/windows/buildbot_service.py:232:80: E501 line too long (90 > 79 characters)
cmd = '%s --spawn %d start --nodaemon %s' % (self.runner_prefix, hstop, bbdir)
^
./slave/contrib/windows/buildbot_service.py:241:54: E261 at least two spaces before inline comment
0, # bWaitAll
^
./slave/contrib/windows/buildbot_service.py:251:57: E127 continuation line over-indented for visual indent
child_infos[index]
^
./slave/contrib/windows/buildbot_service.py:274:32: E261 at least two spaces before inline comment
for i in range(10): # 30 seconds to shutdown...
^
./slave/contrib/windows/buildbot_service.py:285:50: E225 missing whitespace around operator
if win32process.GetExitCodeProcess(h)==win32con.STILL_ACTIVE:
^
./slave/contrib/windows/buildbot_service.py:357:40: E128 continuation line under-indented for visual indent
win32con.DUPLICATE_SAME_ACCESS)
^
./slave/contrib/windows/buildbot_service.py:369:22: E127 continuation line over-indented for visual indent
win32process.STARTF_USESHOWWINDOW
^
./slave/contrib/windows/buildbot_service.py:390:34: E251 unexpected spaces around keyword / parameter equals
args = (hOutRead, blocks))
^
./slave/contrib/windows/buildbot_service.py:390:36: E251 unexpected spaces around keyword / parameter equals
args = (hOutRead, blocks))
^
./slave/contrib/windows/buildbot_service.py:488:20: E261 at least two spaces before inline comment
del sys.argv[1] # The --spawn arg.
^
./slave/contrib/windows/buildbot_service.py:491:30: E251 unexpected spaces around keyword / parameter equals
args = (int(sys.argv[1]), )
^
./slave/contrib/windows/buildbot_service.py:491:32: E251 unexpected spaces around keyword / parameter equals
args = (int(sys.argv[1]), )
^
./slave/contrib/windows/buildbot_service.py:493:20: E261 at least two spaces before inline comment
del sys.argv[1] # The stop handle
^
./slave/contrib/windows/buildbot_service.py:504:22: E261 at least two spaces before inline comment
t.setDaemon(True) # we don't want to wait for this to stop!
^
./slave/contrib/windows/buildbot_service.py:522:1: E302 expected 2 blank lines, found 1
def DetermineRunner(bbdir):
^
./slave/contrib/windows/buildbot_service.py:523:4: E111 indentation is not a multiple of four
'''Checks if the given directory is a buildslave or a master and returns the
^
./slave/contrib/windows/buildbot_service.py:525:4: E111 indentation is not a multiple of four
try:
^
./slave/contrib/windows/buildbot_service.py:526:7: E111 indentation is not a multiple of four
import buildslave.scripts.runner
^
./slave/contrib/windows/buildbot_service.py:527:7: E111 indentation is not a multiple of four
tacfile = os.path.join(bbdir, 'buildbot.tac')
^
./slave/contrib/windows/buildbot_service.py:529:7: E111 indentation is not a multiple of four
if os.path.exists(tacfile):
^
./slave/contrib/windows/buildbot_service.py:530:10: E111 indentation is not a multiple of four
with open(tacfile, 'r') as f:
^
./slave/contrib/windows/buildbot_service.py:533:16: E111 indentation is not a multiple of four
return buildslave.scripts.runner.run
^
./slave/contrib/windows/buildbot_service.py:535:4: E111 indentation is not a multiple of four
except ImportError:
^
./slave/contrib/windows/buildbot_service.py:537:7: E111 indentation is not a multiple of four
pass
^
./slave/contrib/windows/buildbot_service.py:539:4: E111 indentation is not a multiple of four
import buildbot.scripts.runner
^
./slave/contrib/windows/buildbot_service.py:540:4: E111 indentation is not a multiple of four
return buildbot.scripts.runner.run
^
./slave/contrib/windows/buildbot_service.py:546:21: E225 missing whitespace around operator
if len(sys.argv)>1 and sys.argv[1] == "--spawn":
^
./master/setup.py:32:1: E302 expected 2 blank lines, found 1
def include(d, e):
^
./master/setup.py:37:1: W293 blank line contains whitespace
^
./master/setup.py:38:45: E228 missing whitespace around modulo operator
return (d, [f for f in glob.glob('%s/%s'%(d, e)) if os.path.isfile(f)])
^
./master/setup.py:40:1: E302 expected 2 blank lines, found 1
class install_data_twisted(install_data):
^
./master/setup.py:48:13: E128 continuation line under-indented for visual indent
('install_lib', 'install_dir'),
^
./master/setup.py:59:1: E302 expected 2 blank lines, found 1
class our_sdist(sdist):
^
./master/setup.py:77:17: E225 missing whitespace around operator
long_description="""
^
./master/setup.py:121:15: E128 continuation line under-indented for visual indent
"buildbot.status", "buildbot.status.web","buildbot.status.web.hooks",
^
./master/setup.py:121:55: E231 missing whitespace after ','
"buildbot.status", "buildbot.status.web","buildbot.status.web.hooks",
^
./master/setup.py:121:80: E501 line too long (83 > 79 characters)
"buildbot.status", "buildbot.status.web","buildbot.status.web.hooks",
^
./master/setup.py:144:15: E124 closing bracket does not match visual indentation
],
^
./master/setup.py:146:17: E126 continuation line over-indented for hanging indent
("buildbot", [
^
./master/setup.py:149:17: E126 continuation line over-indented for hanging indent
("buildbot/db/migrate", [
^
./master/setup.py:152:17: E126 continuation line over-indented for hanging indent
include("buildbot/db/migrate/versions", "*.py"),
^
./master/setup.py:153:17: E126 continuation line over-indented for hanging indent
("buildbot/clients", [
^
./master/setup.py:156:17: E126 continuation line over-indented for hanging indent
("buildbot/status/web/files", [
^
./master/setup.py:163:17: E126 continuation line over-indented for hanging indent
include("buildbot/status/web/files/", '*.png'),
^
./master/setup.py:164:17: E126 continuation line over-indented for hanging indent
include("buildbot/status/web/templates", '*.html'),
^
./master/setup.py:165:17: E126 continuation line over-indented for hanging indent
include("buildbot/status/web/templates", '*.xml'),
^
./master/setup.py:166:17: E126 continuation line over-indented for hanging indent
("buildbot/scripts", [
^
./master/setup.py:170:17: E126 continuation line over-indented for hanging indent
],
^
./master/setup.py:182:80: E501 line too long (90 > 79 characters)
py_26 = sys.version_info[0] > 2 or (sys.version_info[0] == 2 and sys.version_info[1] >= 6)
^
./master/setup.py:187:22: E261 at least two spaces before inline comment
import setuptools #@UnusedImport
^
./master/setup.py:187:23: E262 inline comment should start with '# '
import setuptools #@UnusedImport
^
./master/setup.py:212:80: E501 line too long (84 > 79 characters)
# sqlalchemy-0.8 betas show issues with sqlalchemy-0.7.2, so stick to 0.7.10
^
./master/docs/conf.py:6:80: E501 line too long (80 > 79 characters)
# This file is execfile()d with the current directory set to its containing dir.
^
./master/docs/conf.py:14:11: E401 multiple imports on one line
import sys, os, textwrap
^
./master/docs/conf.py:21:80: E501 line too long (80 > 79 characters)
# -- General configuration -----------------------------------------------------
^
./master/docs/conf.py:26:80: E501 line too long (80 > 79 characters)
# Add any Sphinx extension module names here, as strings. They can be extensions
^
./master/docs/conf.py:28:15: E201 whitespace after '['
extensions = [ 'sphinx.ext.todo', 'bbdocs.ext' ]
^
./master/docs/conf.py:28:47: E202 whitespace before ']'
extensions = [ 'sphinx.ext.todo', 'bbdocs.ext' ]
^
./master/docs/conf.py:82:21: E201 whitespace after '['
exclude_patterns = [ '_build', 'release-notes/*.rst' ]
^
./master/docs/conf.py:82:53: E202 whitespace before ']'
exclude_patterns = [ '_build', 'release-notes/*.rst' ]
^
./master/docs/conf.py:84:80: E501 line too long (80 > 79 characters)
# The reST default role (used for this markup: `text`) to use for all documents.
^
./master/docs/conf.py:109:80: E501 line too long (80 > 79 characters)
# -- Options for HTML output ---------------------------------------------------
^
./master/docs/conf.py:189:80: E501 line too long (80 > 79 characters)
# -- Options for LaTeX output --------------------------------------------------
^
./master/docs/conf.py:198:80: E501 line too long (80 > 79 characters)
# (source start file, target name, title, author, documentclass [howto/manual]).
^
./master/docs/conf.py:200:3: E121 continuation line indentation is not a multiple of four
('index', 'BuildBot.tex', u'BuildBot Documentation',
^
./master/docs/conf.py:228:80: E501 line too long (80 > 79 characters)
# -- Options for manual page output --------------------------------------------
^
./master/docs/conf.py:252:80: E501 line too long (80 > 79 characters)
# First behaviour is useful for testing that all code is highlighted, second ---
^
./master/docs/conf.py:256:1: E302 expected 2 blank lines, found 1
class UnhighlightedError(SphinxWarning):
^
./master/docs/conf.py:261:1: E302 expected 2 blank lines, found 1
def patched_unhighlighted(self, source):
^
./master/docs/conf.py:270:80: E501 line too long (80 > 79 characters)
If it should be unhighlighted, please specify explicitly language of
^
./master/docs/conf.py:297:1: E302 expected 2 blank lines, found 1
def patched_highlight_block(self, *args, **kwargs):
^
./master/docs/conf.py:312:80: E501 line too long (80 > 79 characters)
sphinx.highlighting.PygmentsBridge.highlight_block = patched_highlight_block
^
./master/docs/PyCon-2003/bb-slides.py:19:1: E302 expected 2 blank lines, found 1
class Raw:
^
./master/docs/PyCon-2003/bb-slides.py:23:5: E301 expected 1 blank line, found 0
def toHTML(self):
^
./master/docs/PyCon-2003/bb-slides.py:26:1: E302 expected 2 blank lines, found 1
class HTML(Raw):
^
./master/docs/PyCon-2003/bb-slides.py:66:80: E501 line too long (96 > 79 characters)
Bullet("Builds run on multiple machines to cover various platforms and environments"),
^
./master/docs/PyCon-2003/bb-slides.py:75:53: E502 the backslash is redundant between brackets
Bullet("Size leads to specialization: " + \
^
./master/docs/PyCon-2003/bb-slides.py:81:1: W293 blank line contains whitespace
^
./master/docs/PyCon-2003/bb-slides.py:87:80: E501 line too long (82 > 79 characters)
Bullet("provide (outright hostile) harassment to STOP BREAKING STUFF!"),
^
./master/docs/PyCon-2003/bb-slides.py:92:80: E501 line too long (90 > 79 characters)
Bullet("Runs builds (and tests) when code is changed, report failures quickly"),
^
./master/docs/PyCon-2003/bb-slides.py:96:80: E501 line too long (80 > 79 characters)
Bullet("Track builds in progress, provide estimated completion time"),
^
./master/docs/PyCon-2003/bb-slides.py:97:80: E501 line too long (88 > 79 characters)
Bullet("Flexible configuration by subclassing generic build process classes"),
^
./master/docs/PyCon-2003/bb-slides.py:101:1: W293 blank line contains whitespace
^
./master/docs/PyCon-2003/bb-slides.py:135:1: W293 blank line contains whitespace
^
./master/docs/PyCon-2003/bb-slides.py:139:80: E501 line too long (86 > 79 characters)
Bullet("Progress events are distributed to HTML logger and status clients"),
^
./master/docs/PyCon-2003/bb-slides.py:144:80: E501 line too long (101 > 79 characters)
<img src="../waterfall.png" alt="waterfall display" width="323" height="457" align="right" />
^
./master/docs/PyCon-2003/bb-slides.py:155:1: W293 blank line contains whitespace
^
./master/docs/PyCon-2003/bb-slides.py:158:80: E501 line too long (85 > 79 characters)
SubBullet(".. which can distribute it through arbitrary protocols"),
^
./master/docs/PyCon-2003/bb-slides.py:160:80: E501 line too long (84 > 79 characters)
Bullet("HTML logger stores events, uses them to build waterfall display"),
^
./master/docs/PyCon-2003/bb-slides.py:162:80: E501 line too long (87 > 79 characters)
SubBullet("Shows current activity, Time-Remaining for current build"),
^
./master/docs/PyCon-2003/bb-slides.py:176:1: W293 blank line contains whitespace
^
./master/docs/PyCon-2003/bb-slides.py:181:1: W293 blank line contains whitespace
^
./master/docs/PyCon-2003/bb-slides.py:206:1: W293 blank line contains whitespace
^
./master/docs/PyCon-2003/bb-slides.py:207:1: W293 blank line contains whitespace
^
./master/docs/bbdocs/ext.py:72:19: W291 trailing whitespace
return ret
^
./master/docs/bbdocs/ext.py:76:22: E127 continuation line over-indented for visual indent
contnode):
^
./master/docs/bbdocs/ext.py:116:20: E201 whitespace after '['
content = [ (l, sorted(content[l], key=lambda tup : tup[0].lower()))
^
./master/docs/bbdocs/ext.py:116:58: E203 whitespace before ':'
content = [ (l, sorted(content[l], key=lambda tup : tup[0].lower()))
^
./master/docs/bbdocs/ext.py:117:52: E202 whitespace before ']'
for l in sorted(content.keys()) ]
^
./master/docs/bbdocs/ext.py:122:22: E127 continuation line over-indented for visual indent
contnode):
^
./master/docs/bbdocs/ext.py:145:1: E302 expected 2 blank lines, found 1
class BugRole(object):
^
./master/docs/bbdocs/ext.py:157:17: E201 whitespace after '['
return [ node ], []
^
./master/docs/bbdocs/ext.py:157:22: E202 whitespace before ']'
return [ node ], []
^
./master/docs/bbdocs/ext.py:169:73: E202 whitespace before ')'
'https://github.com/buildbot/buildbot/blob/master/%s' % text )
^
./master/docs/bbdocs/ext.py:172:17: E201 whitespace after '['
return [ node ], []
^
./master/docs/bbdocs/ext.py:172:22: E202 whitespace before ']'
return [ node ], []
^
./master/docs/bbdocs/ext.py:186:17: E201 whitespace after '['
return [ node ], []
^
./master/docs/bbdocs/ext.py:186:22: E202 whitespace before ']'
return [ node ], []
^
./master/docs/bbdocs/ext.py:194:14: E203 whitespace before ':'
'cfg' : ObjType('cfg', 'cfg'),
^
./master/docs/bbdocs/ext.py:195:16: E203 whitespace before ':'
'sched' : ObjType('sched', 'sched'),
^
./master/docs/bbdocs/ext.py:196:16: E203 whitespace before ':'
'chsrc' : ObjType('chsrc', 'chsrc'),
^
./master/docs/bbdocs/ext.py:197:15: E203 whitespace before ':'
'step' : ObjType('step', 'step'),
^
./master/docs/bbdocs/ext.py:198:17: E203 whitespace before ':'
'status' : ObjType('status', 'status'),
^
./master/docs/bbdocs/ext.py:199:18: E203 whitespace before ':'
'cmdline' : ObjType('cmdline', 'cmdline'),
^
./master/docs/bbdocs/ext.py:203:14: E203 whitespace before ':'
'cfg' : make_ref_target_directive('cfg',
^
./master/docs/bbdocs/ext.py:204:17: E128 continuation line under-indented for visual indent
indextemplates=[
^
./master/docs/bbdocs/ext.py:208:16: E203 whitespace before ':'
'sched' : make_ref_target_directive('sched',
^
./master/docs/bbdocs/ext.py:209:17: E128 continuation line under-indented for visual indent
indextemplates=[
^
./master/docs/bbdocs/ext.py:213:16: E203 whitespace before ':'
'chsrc' : make_ref_target_directive('chsrc',
^
./master/docs/bbdocs/ext.py:214:17: E128 continuation line under-indented for visual indent
indextemplates=[
^
./master/docs/bbdocs/ext.py:218:15: E203 whitespace before ':'
'step' : make_ref_target_directive('step',
^
./master/docs/bbdocs/ext.py:219:17: E128 continuation line under-indented for visual indent
indextemplates=[
^
./master/docs/bbdocs/ext.py:223:17: E203 whitespace before ':'
'status' : make_ref_target_directive('status',
^
./master/docs/bbdocs/ext.py:224:17: E128 continuation line under-indented for visual indent
indextemplates=[
^
./master/docs/bbdocs/ext.py:228:18: E203 whitespace before ':'
'cmdline' : make_ref_target_directive('cmdline',
^
./master/docs/bbdocs/ext.py:229:17: E128 continuation line under-indented for visual indent
indextemplates=[
^
./master/docs/bbdocs/ext.py:236:14: E203 whitespace before ':'
'cfg' : XRefRole(),
^
./master/docs/bbdocs/ext.py:237:16: E203 whitespace before ':'
'sched' : XRefRole(),
^
./master/docs/bbdocs/ext.py:238:16: E203 whitespace before ':'
'chsrc' : XRefRole(),
^
./master/docs/bbdocs/ext.py:239:15: E203 whitespace before ':'
'step' : XRefRole(),
^
./master/docs/bbdocs/ext.py:240:17: E203 whitespace before ':'
'status' : XRefRole(),
^
./master/docs/bbdocs/ext.py:241:18: E203 whitespace before ':'
'cmdline' : XRefRole(),
^
./master/docs/bbdocs/ext.py:243:16: E203 whitespace before ':'
'index' : XRefRole(),
^
./master/docs/bbdocs/ext.py:245:14: E203 whitespace before ':'
'bug' : BugRole(),
^
./master/docs/bbdocs/ext.py:246:14: E203 whitespace before ':'
'src' : SrcRole(),
^
./master/docs/bbdocs/ext.py:247:15: E203 whitespace before ':'
'pull' : PullRole(),
^
./master/docs/bbdocs/ext.py:251:18: E203 whitespace before ':'
'targets' : {}, # type -> target -> (docname, targetname)
^
./master/docs/bbdocs/ext.py:251:24: E261 at least two spaces before inline comment
'targets' : {}, # type -> target -> (docname, targetname)
^
./master/docs/bbdocs/ext.py:272:29: E128 continuation line under-indented for visual indent
target, node, contnode)
^
./master/docs/bbdocs/ext.py:276:29: E128 continuation line under-indented for visual indent
target, node, contnode)
^
./master/buildbot/buildrequest.py:17:19: E201 whitespace after '['
_hush_pyflakes = [ BuildRequest ]
^
./master/buildbot/buildrequest.py:17:32: E202 whitespace before ']'
_hush_pyflakes = [ BuildRequest ]
^
./master/buildbot/config.py:30:1: E302 expected 2 blank lines, found 1
class ConfigErrors(Exception):
^
./master/buildbot/config.py:45:1: E302 expected 2 blank lines, found 0
def error(error):
^
./master/buildbot/config.py:51:1: E302 expected 2 blank lines, found 1
class MasterConfig(object):
^
./master/buildbot/config.py:105:80: E501 line too long (81 > 79 characters)
"change_source", "codebaseGenerator", "changeCacheSize", "changeHorizon",
^
./master/buildbot/config.py:157:80: E501 line too long (84 > 79 characters)
error("error while parsing config file: %s (traceback in logfile)" %
^
./master/buildbot/config.py:158:25: E127 continuation line over-indented for visual indent
(sys.exc_info()[1],),
^
./master/buildbot/config.py:159:17: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/config.py:168:21: E127 continuation line over-indented for visual indent
% (filename,),
^
./master/buildbot/config.py:169:13: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/config.py:178:25: E127 continuation line over-indented for visual indent
(unknown_keys.pop()))
^
./master/buildbot/config.py:181:25: E127 continuation line over-indented for visual indent
(', '.join(sorted(unknown_keys))))
^
./master/buildbot/config.py:229:33: E127 continuation line over-indented for visual indent
(name, check_type_name))
^
./master/buildbot/config.py:235:21: E128 continuation line under-indented for visual indent
check_type=int, check_type_name='an int')
^
./master/buildbot/config.py:239:21: E128 continuation line under-indented for visual indent
check_type=basestring, check_type_name='a string')
^
./master/buildbot/config.py:269:13: E125 continuation line does not distinguish itself from next logical line
and not callable(mergeRequests)):
^
./master/buildbot/config.py:276:13: E125 continuation line does not distinguish itself from next logical line
not callable(codebaseGenerator)):
^
./master/buildbot/config.py:277:80: E501 line too long (94 > 79 characters)
error("codebaseGenerator must be a callable accepting a dict and returning a str")
^
./master/buildbot/config.py:295:62: W291 trailing whitespace
if (proto == "pb" and options.get("port") and
^
./master/buildbot/config.py:296:21: E125 continuation line does not distinguish itself from next logical line
'slavePortnum' in config_dict):
^
./master/buildbot/config.py:297:80: E501 line too long (83 > 79 characters)
error("Both c['slavePortnum'] and c['protocols']['pb']['port']"
^
./master/buildbot/config.py:298:25: E128 continuation line under-indented for visual indent
" defined, recommended to remove slavePortnum and leave"
^
./master/buildbot/config.py:298:80: E501 line too long (80 > 79 characters)
" defined, recommended to remove slavePortnum and leave"
^
./master/buildbot/config.py:341:37: E127 continuation line over-indented for visual indent
(", ".join(unknown_keys)))
^
./master/buildbot/config.py:346:5: E303 too many blank lines (2)
def load_db(self, filename, config_dict):
^
./master/buildbot/config.py:357:80: E501 line too long (81 > 79 characters)
# we don't attempt to parse db URLs here - the engine strategy will do so
^
./master/buildbot/config.py:362:21: E127 continuation line over-indented for visual indent
not isinstance(db_poll_interval, int):
^
./master/buildbot/config.py:368:5: E303 too many blank lines (2)
def load_metrics(self, filename, config_dict):
^
./master/buildbot/config.py:378:5: E303 too many blank lines (2)
def load_caches(self, filename, config_dict):
^
./master/buildbot/config.py:408:5: E303 too many blank lines (2)
def load_schedulers(self, filename, config_dict):
^
./master/buildbot/config.py:421:16: E225 missing whitespace around operator
msg="c['schedulers'] must be a list of Scheduler instances"
^
./master/buildbot/config.py:429:33: E127 continuation line over-indented for visual indent
s.name)
^
./master/buildbot/config.py:435:5: E303 too many blank lines (2)
def load_builders(self, filename, config_dict):
^
./master/buildbot/config.py:452:21: E201 whitespace after '['
builders = [ mapper(b) for b in builders ]
^
./master/buildbot/config.py:452:49: E202 whitespace before ']'
builders = [ mapper(b) for b in builders ]
^
./master/buildbot/config.py:457:25: E128 continuation line under-indented for visual indent
"mayhem. Perhaps you meant to specify slavebuilddir "
^
./master/buildbot/config.py:463:5: E303 too many blank lines (2)
def load_slaves(self, filename, config_dict):
^
./master/buildbot/config.py:485:5: E303 too many blank lines (2)
def load_change_sources(self, filename, config_dict):
^
./master/buildbot/config.py:518:5: E303 too many blank lines (2)
def load_user_managers(self, filename, config_dict):
^
./master/buildbot/config.py:531:5: E303 too many blank lines (2)
def check_single_master(self):
^
./master/buildbot/config.py:544:41: E201 whitespace after '['
unscheduled_buildernames = set([ b.name for b in self.builders ])
^
./master/buildbot/config.py:544:71: E202 whitespace before ']'
unscheduled_buildernames = set([ b.name for b in self.builders ])
^
./master/buildbot/config.py:551:29: E127 continuation line over-indented for visual indent
% (', '.join(unscheduled_buildernames),))
^
./master/buildbot/config.py:554:5: E303 too many blank lines (2)
def check_schedulers(self):
^
./master/buildbot/config.py:559:33: E201 whitespace after '['
all_buildernames = set([ b.name for b in self.builders ])
^
./master/buildbot/config.py:559:63: E202 whitespace before ']'
all_buildernames = set([ b.name for b in self.builders ])
^
./master/buildbot/config.py:565:37: E127 continuation line over-indented for visual indent
% (n, s.name))
^
./master/buildbot/config.py:568:5: E303 too many blank lines (2)
def check_locks(self):
^
./master/buildbot/config.py:572:9: E301 expected 1 blank line, found 0
def check_lock(l):
^
./master/buildbot/config.py:575:25: W601 .has_key() is deprecated, use 'in'
if lock_dict.has_key(l.name):
^
./master/buildbot/config.py:590:27: E201 whitespace after '['
slavenames = set([ s.slavename for s in self.slaves ])
^
./master/buildbot/config.py:590:60: E202 whitespace before ']'
slavenames = set([ s.slavename for s in self.slaves ])
^
./master/buildbot/config.py:598:29: E127 continuation line over-indented for visual indent
(b.name, ", ".join(`u` for u in unknowns)))
^
./master/buildbot/config.py:598:48: W604 backticks are deprecated, use 'repr()'
(b.name, ", ".join(`u` for u in unknowns)))
^
./master/buildbot/config.py:608:5: E303 too many blank lines (2)
def check_status(self):
^
./master/buildbot/config.py:615:5: E303 too many blank lines (2)
def check_horizons(self):
^
./master/buildbot/config.py:645:13: E128 continuation line under-indented for visual indent
builddir=None, slavebuilddir=None, factory=None, category=None,
^
./master/buildbot/config.py:646:13: E128 continuation line under-indented for visual indent
nextSlave=None, nextBuild=None, locks=None, env=None,
^
./master/buildbot/config.py:647:13: E128 continuation line under-indented for visual indent
properties=None, mergeRequests=None, description=None,
^
./master/buildbot/config.py:648:13: E128 continuation line under-indented for visual indent
canStartBuild=None):
^
./master/buildbot/config.py:655:80: E501 line too long (81 > 79 characters)
error("builder names must not start with an underscore: '%s'" % name)
^
./master/buildbot/config.py:663:80: E501 line too long (80 > 79 characters)
error("builder '%s's factory is not a BuildFactory instance" % name)
^
./master/buildbot/config.py:669:27: E201 whitespace after '['
slavenames = [ slavenames ]
^
./master/buildbot/config.py:669:38: E202 whitespace before ']'
slavenames = [ slavenames ]
^
./master/buildbot/config.py:673:25: E127 continuation line over-indented for visual indent
(name,))
^
./master/buildbot/config.py:680:40: E201 whitespace after '['
slavenames = slavenames + [ slavename ]
^
./master/buildbot/config.py:680:50: E202 whitespace before ']'
slavenames = slavenames + [ slavename ]
^
./master/buildbot/config.py:721:5: E303 too many blank lines (2)
def getConfigDict(self):
^
./master/buildbot/config.py:760:36: E201 whitespace after '['
reconfigurable_services = [ svc
^
./master/buildbot/config.py:761:17: E128 continuation line under-indented for visual indent
for svc in self
^
./master/buildbot/config.py:762:17: E128 continuation line under-indented for visual indent
if isinstance(svc, ReconfigurableServiceMixin) ]
^
./master/buildbot/config.py:762:63: E202 whitespace before ']'
if isinstance(svc, ReconfigurableServiceMixin) ]
^
./master/buildbot/config.py:765:52: E203 whitespace before ':'
reconfigurable_services.sort(key=lambda svc : -svc.reconfig_priority)
^
./master/buildbot/ec2buildslave.py:23:9: E128 continuation line under-indented for visual indent
"It has been moved to buildbot.buildslave.ec2",
^
./master/buildbot/interfaces.py:28:1: E302 expected 2 blank lines, found 1
class NoSlaveError(Exception):
^
./master/buildbot/interfaces.py:30:1: E302 expected 2 blank lines, found 0
class BuilderInUseError(Exception):
^
./master/buildbot/interfaces.py:32:1: E302 expected 2 blank lines, found 0
class BuildSlaveTooOldError(Exception):
^
./master/buildbot/interfaces.py:34:1: E302 expected 2 blank lines, found 0
class LatentBuildSlaveFailedToSubstantiate(Exception):
^
./master/buildbot/interfaces.py:37:1: E302 expected 2 blank lines, found 1
class IChangeSource(Interface):
^
./master/buildbot/interfaces.py:48:13: E128 continuation line under-indented for visual indent
'Pointer to BuildMaster, automatically set when started.')
^
./master/buildbot/interfaces.py:53:1: E302 expected 2 blank lines, found 1
class ISourceStamp(Interface):
^
./master/buildbot/interfaces.py:96:1: E302 expected 2 blank lines, found 1
class IEmailSender(Interface):
^
./master/buildbot/interfaces.py:101:1: E302 expected 2 blank lines, found 1
class IEmailLookup(Interface):
^
./master/buildbot/interfaces.py:107:1: E302 expected 2 blank lines, found 1
class IStatus(Interface):
^
./master/buildbot/interfaces.py:203:1: E302 expected 2 blank lines, found 1
class IBuildSetStatus(Interface):
^
./master/buildbot/interfaces.py:209:5: E301 expected 1 blank line, found 0
def getID():
^
./master/buildbot/interfaces.py:214:13: E261 at least two spaces before inline comment
pass # not implemented
^
./master/buildbot/interfaces.py:215:5: E301 expected 1 blank line, found 0
def getInterestedUsers():
^
./master/buildbot/interfaces.py:216:13: E261 at least two spaces before inline comment
pass # not implemented
^
./master/buildbot/interfaces.py:217:5: E301 expected 1 blank line, found 0
def getBuilderNames():
^
./master/buildbot/interfaces.py:220:1: W293 blank line contains whitespace
^
./master/buildbot/interfaces.py:224:5: E301 expected 1 blank line, found 0
def waitUntilFinished():
^
./master/buildbot/interfaces.py:287:1: E302 expected 2 blank lines, found 1
class ISchedulerStatus(Interface):
^
./master/buildbot/interfaces.py:407:1: E302 expected 2 blank lines, found 1
class IEventSource(Interface):
^
./master/buildbot/interfaces.py:433:1: E302 expected 2 blank lines, found 1
class IBuildStatus(Interface):
^
./master/buildbot/interfaces.py:560:1: E302 expected 2 blank lines, found 1
class ITestResult(Interface):
^
./master/buildbot/interfaces.py:626:5: E303 too many blank lines (2)
def isFinished():
^
./master/buildbot/interfaces.py:673:1: E302 expected 2 blank lines, found 1
class IStatusEvent(Interface):
^
./master/buildbot/interfaces.py:695:1: E302 expected 2 blank lines, found 1
class IStatusLog(Interface):
^
./master/buildbot/interfaces.py:729:5: E303 too many blank lines (2)
def getName():
^
./master/buildbot/interfaces.py:814:1: E302 expected 2 blank lines, found 1
class IStatusLogConsumer(Interface):
^
./master/buildbot/interfaces.py:844:1: E302 expected 2 blank lines, found 1
class IStatusReceiver(Interface):
^
./master/buildbot/interfaces.py:996:1: E302 expected 2 blank lines, found 1
class IBuilderControl(Interface):
^
./master/buildbot/interfaces.py:1029:80: E501 line too long (80 > 79 characters)
implemented in terms of the timeout on the underlying TCP connection."""
^
./master/buildbot/interfaces.py:1034:1: E302 expected 2 blank lines, found 1
class IBuildRequestControl(Interface):
^
./master/buildbot/interfaces.py:1049:1: E302 expected 2 blank lines, found 1
class IBuildControl(Interface):
^
./master/buildbot/interfaces.py:1056:1: E302 expected 2 blank lines, found 1
class ILogFile(Interface):
^
./master/buildbot/interfaces.py:1062:5: E301 expected 1 blank line, found 0
def addStderr(data):
^
./master/buildbot/interfaces.py:1064:5: E301 expected 1 blank line, found 0
def addHeader(data):
^
./master/buildbot/interfaces.py:1066:5: E301 expected 1 blank line, found 0
def finish():
^
./master/buildbot/interfaces.py:1070:1: E302 expected 2 blank lines, found 1
class ILogObserver(Interface):
^
./master/buildbot/interfaces.py:1078:5: E301 expected 1 blank line, found 0
def setLog(log):
^
./master/buildbot/interfaces.py:1085:1: E302 expected 2 blank lines, found 1
class IBuildSlave(Interface):
^
./master/buildbot/interfaces.py:1089:1: E302 expected 2 blank lines, found 1
class ILatentBuildSlave(IBuildSlave):
^
./master/buildbot/interfaces.py:1118:1: E302 expected 2 blank lines, found 1
class IRenderable(Interface):
^
./master/buildbot/interfaces.py:1123:80: E501 line too long (84 > 79 characters)
"""Return a deferred that fires with interpolation with the given properties
^
./master/buildbot/interfaces.py:1127:1: E302 expected 2 blank lines, found 0
class IProperties(Interface):
^
./master/buildbot/interfaces.py:1202:1: E302 expected 2 blank lines, found 1
class IScheduler(Interface):
^
./master/buildbot/interfaces.py:1205:1: E302 expected 2 blank lines, found 1
class ITriggerableScheduler(Interface):
^
./master/buildbot/interfaces.py:1214:1: E302 expected 2 blank lines, found 1
class IBuildStepFactory(Interface):
^
./master/buildbot/libvirtbuildslave.py:25:13: E128 continuation line under-indented for visual indent
"It has been moved to buildbot.buildslave.libvirt",
^
./master/buildbot/locks.py:23:10: E261 at least two spaces before inline comment
if False: # for debugging
^
./master/buildbot/locks.py:28:1: E302 expected 2 blank lines, found 1
class BaseLock:
^
./master/buildbot/locks.py:48:62: E127 continuation line over-indented for visual indent
% (self,))
^
./master/buildbot/locks.py:62:18: E261 at least two spaces before inline comment
else: # mode == 'counting'
^
./master/buildbot/locks.py:66:17: E127 continuation line over-indented for visual indent
or (num_excl == 0 and num_counting <= self.maxCount)
^
./master/buildbot/locks.py:70:5: E303 too many blank lines (2)
def isAvailable(self, requester, access):
^
./master/buildbot/locks.py:73:39: E127 continuation line over-indented for visual indent
% (self, requester, access, self.owners))
^
./master/buildbot/locks.py:87:80: E501 line too long (80 > 79 characters)
return num_excl == 0 and num_counting + len(ahead) < self.maxCount \
^
./master/buildbot/locks.py:88:21: E126 continuation line over-indented for hanging indent
and all([w[1].mode == 'counting' for w in ahead])
^
./master/buildbot/locks.py:122:80: E501 line too long (85 > 79 characters)
# Break out of the loop when the first waiting client should not be awakened.
^
./master/buildbot/locks.py:185:1: E302 expected 2 blank lines, found 1
class RealSlaveLock:
^
./master/buildbot/locks.py:200:26: W601 .has_key() is deprecated, use 'in'
if not self.locks.has_key(slavename):
^
./master/buildbot/locks.py:222:5: E301 expected 1 blank line, found 0
def __init__(self, lockid, mode, _skipChecks=False):
^
./master/buildbot/locks.py:261:1: E303 too many blank lines (3)
class MasterLock(BaseLockId):
^
./master/buildbot/locks.py:276:5: E301 expected 1 blank line, found 0
def __init__(self, name, maxCount=1):
^
./master/buildbot/locks.py:280:1: E302 expected 2 blank lines, found 1
class SlaveLock(BaseLockId):
^
./master/buildbot/locks.py:302:5: E301 expected 1 blank line, found 0
def __init__(self, name, maxCount=1, maxCountForSlave={}):
^
./master/buildbot/manhole.py:39:38: E261 at least two spaces before inline comment
from zope.interface import implements # requires Twisted-2.0 or later
^
./master/buildbot/manhole.py:43:1: E302 expected 2 blank lines, found 1
class makeTelnetProtocol:
^
./master/buildbot/manhole.py:53:1: E302 expected 2 blank lines, found 1
class _TelnetRealm:
^
./master/buildbot/manhole.py:74:1: W293 blank line contains whitespace
^
./master/buildbot/manhole.py:93:80: E501 line too long (80 > 79 characters)
self.authorized_keys_file = os.path.expanduser(authorized_keys_file)
^
./master/buildbot/manhole.py:148:25: E261 at least two spaces before inline comment
self.port = port # for comparison later
^
./master/buildbot/manhole.py:149:31: E261 at least two spaces before inline comment
self.checker = checker # to maybe compare later
^
./master/buildbot/manhole.py:180:5: E303 too many blank lines (2)
def startService(self):
^
./master/buildbot/manhole.py:217:1: E302 expected 2 blank lines, found 1
class PasswordManhole(_BaseManhole, ComparableMixin):
^
./master/buildbot/manhole.py:247:1: E302 expected 2 blank lines, found 1
class AuthorizedKeysManhole(_BaseManhole, ComparableMixin):
^
./master/buildbot/manhole.py:278:1: E302 expected 2 blank lines, found 1
class ArbitraryCheckerManhole(_BaseManhole, ComparableMixin):
^
./master/buildbot/manhole.py:303:1: E302 expected 2 blank lines, found 1
def show(x):
^
./master/buildbot/manhole.py:309:22: E231 missing whitespace after ','
v = getattr(x,k)
^
./master/buildbot/manhole.py:311:14: E721 do not compare types, use 'isinstance()'
if t == types.MethodType: continue
^
./master/buildbot/manhole.py:311:33: E701 multiple statements on one line (colon)
if t == types.MethodType: continue
^
./master/buildbot/manhole.py:312:44: E701 multiple statements on one line (colon)
if k[:2] == '__' and k[-2:] == '__': continue
^
./master/buildbot/manhole.py:313:14: E721 do not compare types, use 'isinstance()'
if t is types.StringType or t is types.UnicodeType:
^
./master/buildbot/manhole.py:315:21: W604 backticks are deprecated, use 'repr()'
v = `v[:80 - maxlen - 5]` + "..."
^
./master/buildbot/master.py:49:1: E302 expected 2 blank lines, found 1
class LogRotation(object):
^
./master/buildbot/master.py:51:44: W291 trailing whitespace
self.rotateLength = 1 * 1000 * 1000
^
./master/buildbot/master.py:54:1: E302 expected 2 blank lines, found 1
class BuildMaster(config.ReconfigurableServiceMixin, service.MultiService):
^
./master/buildbot/master.py:100:17: E127 continuation line over-indented for visual indent
subscription.SubscriptionPoint("changes")
^
./master/buildbot/master.py:102:17: E127 continuation line over-indented for visual indent
subscription.SubscriptionPoint("buildrequest_additions")
^
./master/buildbot/master.py:104:17: E127 continuation line over-indented for visual indent
subscription.SubscriptionPoint("buildset_additions")
^
./master/buildbot/master.py:106:17: E127 continuation line over-indented for visual indent
subscription.SubscriptionPoint("buildset_completion")
^
./master/buildbot/master.py:112:5: E303 too many blank lines (2)
def create_child_services(self):
^
./master/buildbot/master.py:149:5: E301 expected 1 blank line, found 0
@defer.inlineCallbacks
^
./master/buildbot/master.py:156:1: W293 blank line contains whitespace
^
./master/buildbot/master.py:174:57: E128 continuation line under-indented for visual indent
self.configFileName)
^
./master/buildbot/master.py:188:80: E501 line too long (83 > 79 characters)
# set up services that need access to the config before everything else
^
./master/buildbot/master.py:208:45: E203 whitespace before ':'
yield defer.maybeDeferred(lambda :
^
./master/buildbot/master.py:209:21: E128 continuation line under-indented for visual indent
service.MultiService.startService(self))
^
./master/buildbot/master.py:211:80: E501 line too long (83 > 79 characters)
# give all services a chance to load the new configuration, rather than
^
./master/buildbot/master.py:230:5: E303 too many blank lines (2)
def reconfig(self):
^
./master/buildbot/master.py:243:57: E203 whitespace before ':'
self.reconfig_notifier = task.LoopingCall(lambda :
^
./master/buildbot/master.py:244:13: E128 continuation line under-indented for visual indent
log.msg("reconfig is ongoing for %d s" %
^
./master/buildbot/master.py:266:17: E261 at least two spaces before inline comment
return d # for tests
^
./master/buildbot/master.py:269:5: E303 too many blank lines (2)
@defer.inlineCallbacks
^
./master/buildbot/master.py:276:53: E128 continuation line under-indented for visual indent
self.configFileName)
^
./master/buildbot/master.py:300:5: E303 too many blank lines (2)
def reconfigService(self, new_config):
^
./master/buildbot/master.py:320:45: E128 continuation line under-indented for visual indent
new_config)
^
./master/buildbot/master.py:325:5: E303 too many blank lines (2)
def allSchedulers(self):
^
./master/buildbot/master.py:348:37: E261 at least two spaces before inline comment
hostname = os.uname()[1] # only on unix
^
./master/buildbot/master.py:354:17: E128 continuation line under-indented for visual indent
"buildbot.master.BuildMaster")
^
./master/buildbot/master.py:355:9: E301 expected 1 blank line, found 0
def keep(id):
^
./master/buildbot/master.py:364:5: E303 too many blank lines (2)
def addChange(self, who=None, files=None, comments=None, author=None,
^
./master/buildbot/master.py:365:13: E128 continuation line under-indented for visual indent
isdir=None, is_dir=None, revision=None, when=None,
^
./master/buildbot/master.py:366:13: E128 continuation line under-indented for visual indent
when_timestamp=None, branch=None, category=None, revlink='',
^
./master/buildbot/master.py:367:13: E128 continuation line under-indented for visual indent
properties={}, repository='', codebase=None, project='', src=None):
^
./master/buildbot/master.py:433:36: E251 unexpected spaces around keyword / parameter equals
converter = lambda x:x):
^
./master/buildbot/master.py:433:38: E251 unexpected spaces around keyword / parameter equals
converter = lambda x:x):
^
./master/buildbot/master.py:433:47: E231 missing whitespace after ':'
converter = lambda x:x):
^
./master/buildbot/master.py:447:33: E127 continuation line over-indented for visual indent
default=0)
^
./master/buildbot/master.py:449:33: E128 continuation line under-indented for visual indent
"when_timestamp", when_timestamp,
^
./master/buildbot/master.py:476:1: W293 blank line contains whitespace
^
./master/buildbot/master.py:480:35: E203 whitespace before ':'
d.addCallback(lambda _ : users.createUserObject(self, author, src))
^
./master/buildbot/master.py:481:1: W293 blank line contains whitespace
^
./master/buildbot/master.py:483:33: E203 whitespace before ':'
d.addCallback(lambda uid :
^
./master/buildbot/master.py:484:27: E127 continuation line over-indented for visual indent
self.db.changes.addChange(author=author, files=files,
^
./master/buildbot/master.py:485:43: E128 continuation line under-indented for visual indent
comments=comments, is_dir=is_dir,
^
./master/buildbot/master.py:486:43: E128 continuation line under-indented for visual indent
revision=revision,
^
./master/buildbot/master.py:487:43: E128 continuation line under-indented for visual indent
when_timestamp=when_timestamp,
^
./master/buildbot/master.py:488:43: E128 continuation line under-indented for visual indent
branch=branch, category=category,
^
./master/buildbot/master.py:489:43: E128 continuation line under-indented for visual indent
revlink=revlink, properties=properties,
^
./master/buildbot/master.py:489:80: E501 line too long (81 > 79 characters)
revlink=revlink, properties=properties,
^
./master/buildbot/master.py:490:43: E128 continuation line under-indented for visual indent
repository=repository, codebase=codebase,
^
./master/buildbot/master.py:490:80: E501 line too long (83 > 79 characters)
repository=repository, codebase=codebase,
^
./master/buildbot/master.py:491:43: E128 continuation line under-indented for visual indent
project=project, uid=uid))
^
./master/buildbot/master.py:494:38: E203 whitespace before ':'
d.addCallback(lambda changeid :
^
./master/buildbot/master.py:495:13: E128 continuation line under-indented for visual indent
self.db.changes.getChange(changeid))
^
./master/buildbot/master.py:496:36: E203 whitespace before ':'
d.addCallback(lambda chdict :
^
./master/buildbot/master.py:497:13: E128 continuation line under-indented for visual indent
changes.Change.fromChdict(self, chdict))
^
./master/buildbot/master.py:527:9: E301 expected 1 blank line, found 0
def notify((bsid,brids)):
^
./master/buildbot/master.py:527:25: E231 missing whitespace after ','
def notify((bsid,brids)):
^
./master/buildbot/master.py:536:25: E231 missing whitespace after ','
return (bsid,brids)
^
./master/buildbot/master.py:607:17: E126 continuation line over-indented for hanging indent
dict(bsid=bsid, brid=brid, buildername=buildername))
^
./master/buildbot/master.py:624:5: E303 too many blank lines (2)
def pollDatabase(self):
^
./master/buildbot/master.py:639:5: E301 expected 1 blank line, found 0
@defer.inlineCallbacks
^
./master/buildbot/master.py:658:21: E126 continuation line over-indented for hanging indent
yield self._getState('last_processed_change')
^
./master/buildbot/master.py:694:29: E128 continuation line under-indented for visual indent
self._last_processed_change)
^
./master/buildbot/master.py:699:5: E301 expected 1 blank line, found 0
@defer.inlineCallbacks
^
./master/buildbot/master.py:707:74: W291 trailing whitespace
since_last_cleanup = reactor.seconds() - self._last_claim_cleanup
^
./master/buildbot/master.py:710:28: E128 continuation line under-indented for visual indent
* self.UNCLAIMED_BUILD_FACTOR)
^
./master/buildbot/master.py:730:30: E201 whitespace after '['
now_unclaimed = set([ brd['brid'] for brd in now_unclaimed_brdicts ])
^
./master/buildbot/master.py:730:75: E202 whitespace before ']'
now_unclaimed = set([ brd['brid'] for brd in now_unclaimed_brdicts ])
^
./master/buildbot/master.py:750:9: E301 expected 1 blank line, found 0
def get(objectid):
^
./master/buildbot/master.py:758:9: E301 expected 1 blank line, found 0
def set(objectid):
^
./master/buildbot/master.py:763:1: E302 expected 2 blank lines, found 1
class Control:
^
./master/buildbot/pbmanager.py:25:1: E302 expected 2 blank lines, found 1
class PBManager(service.MultiService):
^
./master/buildbot/pbmanager.py:44:26: E721 do not compare types, use 'isinstance()'
if type(portstr) == type(0) or ':' not in portstr:
^
./master/buildbot/pbmanager.py:69:1: E302 expected 2 blank lines, found 1
class Registration(object):
^
./master/buildbot/pbmanager.py:80:29: E126 continuation line over-indented for hanging indent
(self.username, self.portstr)
^
./master/buildbot/pbmanager.py:102:29: E201 whitespace after '['
credentialInterfaces = [ credentials.IUsernamePassword,
^
./master/buildbot/pbmanager.py:103:65: E202 whitespace before ']'
credentials.IUsernameHashedPassword ]
^
./master/buildbot/pbmanager.py:118:29: E126 continuation line over-indented for hanging indent
(", ".join(self.users.keys()), self.portstr)
^
./master/buildbot/pbmanager.py:123:31: E203 whitespace before ':'
d.addCallback(lambda _ : service.Service.stopService(self))
^
./master/buildbot/pbmanager.py:129:17: E128 continuation line under-indented for visual indent
% (username, self.portstr, pfactory))
^
./master/buildbot/pbmanager.py:131:27: W602 deprecated form of raising exception
raise KeyError, ("username '%s' is already registered on PB port %s"
^
./master/buildbot/pbmanager.py:131:80: E501 line too long (80 > 79 characters)
raise KeyError, ("username '%s' is already registered on PB port %s"
^
./master/buildbot/pbmanager.py:146:36: E261 at least two spaces before inline comment
d = defer.succeed(None) # no perspective
^
./master/buildbot/pbmanager.py:161:35: E203 whitespace before ':'
d.addCallback(lambda _ : persp) # keep returning the perspective
^
./master/buildbot/pbmanager.py:161:44: E261 at least two spaces before inline comment
d.addCallback(lambda _ : persp) # keep returning the perspective
^
./master/buildbot/pbmanager.py:171:1: W293 blank line contains whitespace
^
./master/buildbot/pbmanager.py:178:13: E301 expected 1 blank line, found 0
def check(matched):
^
./master/buildbot/pbutil.py:26:1: E302 expected 2 blank lines, found 1
class NewCredPerspective(pb.Avatar):
^
./master/buildbot/pbutil.py:29:5: E301 expected 1 blank line, found 0
def detached(self, mind):
^
./master/buildbot/pbutil.py:32:1: E302 expected 2 blank lines, found 1
class ReconnectingPBClientFactory(PBClientFactory,
^
./master/buildbot/pbutil.py:93:27: W602 deprecated form of raising exception
raise RuntimeError, "getPerspective is one-shot: use startGettingPerspective instead"
^
./master/buildbot/pbutil.py:93:80: E501 line too long (93 > 79 characters)
raise RuntimeError, "getPerspective is one-shot: use startGettingPerspective instead"
^
./master/buildbot/pbutil.py:98:28: E711 comparison to None should be 'if cond is None:'
if perspectiveName == None:
^
./master/buildbot/pbutil.py:115:5: E303 too many blank lines (2)
def login(self, *args):
^
./master/buildbot/pbutil.py:116:27: W602 deprecated form of raising exception
raise RuntimeError, "login is one-shot: use startLogin instead"
^
./master/buildbot/pbutil.py:132:5: E303 too many blank lines (2)
def gotPerspective(self, perspective):
^
./master/buildbot/pbutil.py:154:26: E261 at least two spaces before inline comment
self.stopTrying() # logging in harder won't help
^
./master/buildbot/revlinks.py:18:1: E302 expected 2 blank lines, found 1
class RevlinkMatch(object):
^
./master/buildbot/revlinks.py:21:26: E201 whitespace after '['
repo_urls = [ repo_urls ]
^
./master/buildbot/revlinks.py:21:36: E202 whitespace before ']'
repo_urls = [ repo_urls ]
^
./master/buildbot/revlinks.py:24:5: E301 expected 1 blank line, found 0
def __call__(self, rev, repo):
^
./master/buildbot/revlinks.py:31:9: E126 continuation line over-indented for hanging indent
repo_urls = [ r'https://github.com/([^/]*)/([^/]*?)(?:\.git)?$',
^
./master/buildbot/revlinks.py:31:18: E251 unexpected spaces around keyword / parameter equals
repo_urls = [ r'https://github.com/([^/]*)/([^/]*?)(?:\.git)?$',
^
./master/buildbot/revlinks.py:31:20: E251 unexpected spaces around keyword / parameter equals
repo_urls = [ r'https://github.com/([^/]*)/([^/]*?)(?:\.git)?$',
^
./master/buildbot/revlinks.py:31:22: E201 whitespace after '['
repo_urls = [ r'https://github.com/([^/]*)/([^/]*?)(?:\.git)?$',
^
./master/buildbot/revlinks.py:32:13: E128 continuation line under-indented for visual indent
r'git://github.com/([^/]*)/([^/]*?)(?:\.git)?$',
^
./master/buildbot/revlinks.py:35:13: E124 closing bracket does not match visual indentation
],
^
./master/buildbot/revlinks.py:36:9: E126 continuation line over-indented for hanging indent
revlink = r'https://github.com/\1/\2/commit/%s')
^
./master/buildbot/revlinks.py:36:16: E251 unexpected spaces around keyword / parameter equals
revlink = r'https://github.com/\1/\2/commit/%s')
^
./master/buildbot/revlinks.py:36:18: E251 unexpected spaces around keyword / parameter equals
revlink = r'https://github.com/\1/\2/commit/%s')
^
./master/buildbot/revlinks.py:38:1: E302 expected 2 blank lines, found 1
class GitwebMatch(RevlinkMatch):
^
./master/buildbot/revlinks.py:40:46: E251 unexpected spaces around keyword / parameter equals
RevlinkMatch.__init__(self, repo_urls = repo_urls, revlink = revlink + r'?p=\g<repo>;a=commit;h=%s')
^
./master/buildbot/revlinks.py:40:48: E251 unexpected spaces around keyword / parameter equals
RevlinkMatch.__init__(self, repo_urls = repo_urls, revlink = revlink + r'?p=\g<repo>;a=commit;h=%s')
^
./master/buildbot/revlinks.py:40:67: E251 unexpected spaces around keyword / parameter equals
RevlinkMatch.__init__(self, repo_urls = repo_urls, revlink = revlink + r'?p=\g<repo>;a=commit;h=%s')
^
./master/buildbot/revlinks.py:40:69: E251 unexpected spaces around keyword / parameter equals
RevlinkMatch.__init__(self, repo_urls = repo_urls, revlink = revlink + r'?p=\g<repo>;a=commit;h=%s')
^
./master/buildbot/revlinks.py:40:80: E501 line too long (108 > 79 characters)
RevlinkMatch.__init__(self, repo_urls = repo_urls, revlink = revlink + r'?p=\g<repo>;a=commit;h=%s')
^
./master/buildbot/revlinks.py:43:9: E126 continuation line over-indented for hanging indent
repo_urls = [ r'^git://([^.]*).git.sourceforge.net/gitroot/(?P<repo>.*)$',
^
./master/buildbot/revlinks.py:43:18: E251 unexpected spaces around keyword / parameter equals
repo_urls = [ r'^git://([^.]*).git.sourceforge.net/gitroot/(?P<repo>.*)$',
^
./master/buildbot/revlinks.py:43:20: E251 unexpected spaces around keyword / parameter equals
repo_urls = [ r'^git://([^.]*).git.sourceforge.net/gitroot/(?P<repo>.*)$',
^
./master/buildbot/revlinks.py:43:22: E201 whitespace after '['
repo_urls = [ r'^git://([^.]*).git.sourceforge.net/gitroot/(?P<repo>.*)$',
^
./master/buildbot/revlinks.py:43:80: E501 line too long (82 > 79 characters)
repo_urls = [ r'^git://([^.]*).git.sourceforge.net/gitroot/(?P<repo>.*)$',
^
./master/buildbot/revlinks.py:44:13: E128 continuation line under-indented for visual indent
r'[^@]*@([^.]*).git.sourceforge.net:gitroot/(?P<repo>.*)$',
^
./master/buildbot/revlinks.py:45:80: E501 line too long (82 > 79 characters)
r'ssh://(?:[^@]*@)?([^.]*).git.sourceforge.net/gitroot/(?P<repo>.*)$',
^
./master/buildbot/revlinks.py:46:13: E124 closing bracket does not match visual indentation
],
^
./master/buildbot/revlinks.py:47:9: E126 continuation line over-indented for hanging indent
revlink = r'http://\1.git.sourceforge.net/git/gitweb.cgi')
^
./master/buildbot/revlinks.py:47:16: E251 unexpected spaces around keyword / parameter equals
revlink = r'http://\1.git.sourceforge.net/git/gitweb.cgi')
^
./master/buildbot/revlinks.py:47:18: E251 unexpected spaces around keyword / parameter equals
revlink = r'http://\1.git.sourceforge.net/git/gitweb.cgi')
^
./master/buildbot/revlinks.py:50:80: E501 line too long (110 > 79 characters)
# See introduction: https://sourceforge.net/p/forge/documentation/Classic%20vs%20New%20SourceForge%20projects/
^
./master/buildbot/revlinks.py:51:80: E501 line too long (98 > 79 characters)
# And as reference: https://sourceforge.net/p/forge/community-docs/SVN%20and%20project%20upgrades/
^
./master/buildbot/revlinks.py:53:9: E126 continuation line over-indented for hanging indent
repo_urls = [ r'git://git.code.sf.net/p/(?P<repo>.*)$',
^
./master/buildbot/revlinks.py:53:18: E251 unexpected spaces around keyword / parameter equals
repo_urls = [ r'git://git.code.sf.net/p/(?P<repo>.*)$',
^
./master/buildbot/revlinks.py:53:20: E251 unexpected spaces around keyword / parameter equals
repo_urls = [ r'git://git.code.sf.net/p/(?P<repo>.*)$',
^
./master/buildbot/revlinks.py:53:22: E201 whitespace after '['
repo_urls = [ r'git://git.code.sf.net/p/(?P<repo>.*)$',
^
./master/buildbot/revlinks.py:54:13: E128 continuation line under-indented for visual indent
r'http://git.code.sf.net/p/(?P<repo>.*)$',
^
./master/buildbot/revlinks.py:56:13: E124 closing bracket does not match visual indentation
],
^
./master/buildbot/revlinks.py:57:9: E126 continuation line over-indented for hanging indent
revlink = r'https://sourceforge.net/p/\1/ci/%s/')
^
./master/buildbot/revlinks.py:57:16: E251 unexpected spaces around keyword / parameter equals
revlink = r'https://sourceforge.net/p/\1/ci/%s/')
^
./master/buildbot/revlinks.py:57:18: E251 unexpected spaces around keyword / parameter equals
revlink = r'https://sourceforge.net/p/\1/ci/%s/')
^
./master/buildbot/revlinks.py:59:1: E302 expected 2 blank lines, found 1
class RevlinkMultiplexer(object):
^
./master/buildbot/revlinks.py:62:5: E301 expected 1 blank line, found 0
def __call__(self, rev, repo):
^
./master/buildbot/revlinks.py:69:9: E128 continuation line under-indented for visual indent
SourceforgeGitRevlink,
^
./master/buildbot/revlinks.py:70:9: E128 continuation line under-indented for visual indent
SourceforgeGitRevlink_AlluraPlatform)
^
./master/buildbot/sourcestamp.py:23:1: E302 expected 2 blank lines, found 0
class SourceStamp(util.ComparableMixin, styles.Versioned):
^
./master/buildbot/sourcestamp.py:24:80: E501 line too long (86 > 79 characters)
"""This is a tuple of (branch, revision, patchspec, changes, project, repository).
^
./master/buildbot/sourcestamp.py:62:27: E201 whitespace after '('
persistenceForgets = ( 'wasUpgraded', )
^
./master/buildbot/sourcestamp.py:76:80: E501 line too long (113 > 79 characters)
compare_attrs = ('branch', 'revision', 'patch', 'patch_info', 'changes', 'project', 'repository', 'codebase')
^
./master/buildbot/sourcestamp.py:110:17: E128 continuation line under-indented for visual indent
ssdict.get('patch_subdir'))
^
./master/buildbot/sourcestamp.py:117:13: E301 expected 1 blank line, found 0
@defer.inlineCallbacks
^
./master/buildbot/sourcestamp.py:126:38: E201 whitespace after '['
d = defer.gatherResults([ gci(id)
^
./master/buildbot/sourcestamp.py:127:33: E128 continuation line under-indented for visual indent
for id in sorted_changeids ])
^
./master/buildbot/sourcestamp.py:127:59: E202 whitespace before ']'
for id in sorted_changeids ])
^
./master/buildbot/sourcestamp.py:130:9: E301 expected 1 blank line, found 0
def got_changes(changes):
^
./master/buildbot/sourcestamp.py:136:80: E501 line too long (85 > 79 characters)
def __init__(self, branch=None, revision=None, patch=None, sourcestampsetid=None,
^
./master/buildbot/sourcestamp.py:138:26: E251 unexpected spaces around keyword / parameter equals
codebase = '', _fromSsdict=False, _ignoreChanges=False):
^
./master/buildbot/sourcestamp.py:138:28: E251 unexpected spaces around keyword / parameter equals
codebase = '', _fromSsdict=False, _ignoreChanges=False):
^
./master/buildbot/sourcestamp.py:139:67: E703 statement ends with a semicolon
self._addSourceStampToDatabase_lock = defer.DeferredLock();
^
./master/buildbot/sourcestamp.py:182:25: E261 at least two spaces before inline comment
return False # the builds are completely unrelated
^
./master/buildbot/sourcestamp.py:192:25: E261 at least two spaces before inline comment
return False # we're using changes, they aren't
^
./master/buildbot/sourcestamp.py:194:25: E261 at least two spaces before inline comment
return False # they're using changes, we aren't
^
./master/buildbot/sourcestamp.py:249:28: E201 whitespace after '['
return text + [ "latest" ]
^
./master/buildbot/sourcestamp.py:249:37: E202 whitespace before ']'
return text + [ "latest" ]
^
./master/buildbot/sourcestamp.py:282:67: E703 statement ends with a semicolon
self._addSourceStampToDatabase_lock = defer.DeferredLock();
^
./master/buildbot/sourcestamp.py:291:27: E201 whitespace after '('
self.patch = ( int(self.patch[0]), str(self.patch[1]) )
^
./master/buildbot/sourcestamp.py:291:66: E202 whitespace before ')'
self.patch = ( int(self.patch[0]), str(self.patch[1]) )
^
./master/buildbot/sourcestamp.py:295:80: E501 line too long (85 > 79 characters)
# version 1 did not have project or repository; just set them to a default ''
^
./master/buildbot/sourcestamp.py:316:5: E303 too many blank lines (2)
@util.deferredLocked('_addSourceStampToDatabase_lock')
^
./master/buildbot/sourcestamp.py:317:64: E251 unexpected spaces around keyword / parameter equals
def addSourceStampToDatabase(self, master, sourcestampsetid = None):
^
./master/buildbot/sourcestamp.py:317:66: E251 unexpected spaces around keyword / parameter equals
def addSourceStampToDatabase(self, master, sourcestampsetid = None):
^
./master/buildbot/sourcestamp.py:326:15: E111 indentation is not a multiple of four
patch_subdir = self.patch[2]
^
./master/buildbot/sourcestamp.py:335:38: E201 whitespace after '('
return defer.succeed( sourcestampsetid )
^
./master/buildbot/sourcestamp.py:335:55: E202 whitespace before ')'
return defer.succeed( sourcestampsetid )
^
./master/buildbot/sourcestamp.py:362:31: E203 whitespace before ':'
d.addCallback(lambda _ : self.sourcestampsetid)
^
./master/buildbot/process/base.py:17:19: E201 whitespace after '['
_hush_pyflakes = [ Build ]
^
./master/buildbot/process/base.py:17:25: E202 whitespace before ']'
_hush_pyflakes = [ Build ]
^
./master/buildbot/process/botmaster.py:28:1: E302 expected 2 blank lines, found 1
class BotMaster(config.ReconfigurableServiceMixin, service.MultiService):
^
./master/buildbot/process/botmaster.py:51:25: E261 at least two spaces before inline comment
self.slaves = {} # maps slavename to BuildSlave
^
./master/buildbot/process/botmaster.py:106:80: E501 line too long (101 > 79 characters)
log.msg("Not shutting down, builder %s has %i builds running" % (builder, n))
^
./master/buildbot/process/botmaster.py:134:17: E201 whitespace after '['
return [ b for b in self.builders.values()
^
./master/buildbot/process/botmaster.py:135:53: E202 whitespace before ']'
if slavename in b.config.slavenames ]
^
./master/buildbot/process/botmaster.py:163:53: E128 continuation line under-indented for visual indent
new_config)
^
./master/buildbot/process/botmaster.py:172:5: E303 too many blank lines (2)
@defer.inlineCallbacks
^
./master/buildbot/process/botmaster.py:179:29: E201 whitespace after '['
old_by_name = dict([ (s.slavename, s)
^
./master/buildbot/process/botmaster.py:180:29: E128 continuation line under-indented for visual indent
for s in list(self)
^
./master/buildbot/process/botmaster.py:181:29: E128 continuation line under-indented for visual indent
if interfaces.IBuildSlave.providedBy(s) ])
^
./master/buildbot/process/botmaster.py:181:68: E202 whitespace before ']'
if interfaces.IBuildSlave.providedBy(s) ])
^
./master/buildbot/process/botmaster.py:183:29: E201 whitespace after '['
new_by_name = dict([ (s.slavename, s)
^
./master/buildbot/process/botmaster.py:184:29: E128 continuation line under-indented for visual indent
for s in new_config.slaves ])
^
./master/buildbot/process/botmaster.py:184:55: E202 whitespace before ']'
for s in new_config.slaves ])
^
./master/buildbot/process/botmaster.py:211:49: E203 whitespace before ':'
yield defer.maybeDeferred(lambda :
^
./master/buildbot/process/botmaster.py:212:25: E128 continuation line under-indented for visual indent
slave.disownServiceParent())
^
./master/buildbot/process/botmaster.py:220:17: E128 continuation line under-indented for visual indent
len(self.slaves), absolute=True)
^
./master/buildbot/process/botmaster.py:225:5: E303 too many blank lines (2)
@defer.inlineCallbacks
^
./master/buildbot/process/botmaster.py:232:29: E201 whitespace after '['
old_by_name = dict([ (b.name, b)
^
./master/buildbot/process/botmaster.py:233:29: E128 continuation line under-indented for visual indent
for b in list(self)
^
./master/buildbot/process/botmaster.py:234:29: E128 continuation line under-indented for visual indent
if isinstance(b, Builder) ])
^
./master/buildbot/process/botmaster.py:234:54: E202 whitespace before ']'
if isinstance(b, Builder) ])
^
./master/buildbot/process/botmaster.py:236:29: E201 whitespace after '['
new_by_name = dict([ (bc.name, bc)
^
./master/buildbot/process/botmaster.py:237:29: E128 continuation line under-indented for visual indent
for bc in new_config.builders ])
^
./master/buildbot/process/botmaster.py:237:58: E202 whitespace before ']'
for bc in new_config.builders ])
^
./master/buildbot/process/botmaster.py:254:49: E203 whitespace before ':'
yield defer.maybeDeferred(lambda :
^
./master/buildbot/process/botmaster.py:255:25: E128 continuation line under-indented for visual indent
builder.disownServiceParent())
^
./master/buildbot/process/botmaster.py:268:17: E128 continuation line under-indented for visual indent
len(self.builders), absolute=True)
^
./master/buildbot/process/botmaster.py:273:5: E303 too many blank lines (2)
def stopService(self):
^
./master/buildbot/process/botmaster.py:321:38: E201 whitespace after '['
self.brd.maybeStartBuildsOn([ b.name for b in builders ])
^
./master/buildbot/process/botmaster.py:321:63: E202 whitespace before ']'
self.brd.maybeStartBuildsOn([ b.name for b in builders ])
^
./master/buildbot/process/botmaster.py:340:23: E261 at least two spaces before inline comment
_reactor = reactor # for testing
^
./master/buildbot/process/botmaster.py:392:39: E203 whitespace before ':'
d = defer.maybeDeferred(lambda :
^
./master/buildbot/process/botmaster.py:393:13: E128 continuation line under-indented for visual indent
self.new_remote.callRemote("print", "master already has a "
^
./master/buildbot/process/botmaster.py:394:25: E128 continuation line under-indented for visual indent
"connection named '%s' - checking its liveness"
^
./master/buildbot/process/botmaster.py:396:9: E301 expected 1 blank line, found 0
def done(_):
^
./master/buildbot/process/botmaster.py:414:37: E126 continuation line over-indented for hanging indent
self.PING_TIMEOUT, timeout)
^
./master/buildbot/process/botmaster.py:419:39: E203 whitespace before ':'
d = defer.maybeDeferred(lambda :
^
./master/buildbot/process/botmaster.py:420:13: E128 continuation line under-indented for visual indent
self.old_remote.callRemote("print",
^
./master/buildbot/process/botmaster.py:421:17: E128 continuation line under-indented for visual indent
"master got a duplicate connection from %s; keeping this one"
^
./master/buildbot/process/botmaster.py:422:41: E127 continuation line over-indented for visual indent
% new_peer))
^
./master/buildbot/process/botmaster.py:433:23: E261 at least two spaces before inline comment
return # ignore after timeout
^
./master/buildbot/process/botmaster.py:447:23: E261 at least two spaces before inline comment
return # ignore after timeout
^
./master/buildbot/process/botmaster.py:464:33: E261 at least two spaces before inline comment
if not self.new_slave_d: # pragma: ignore
^
./master/buildbot/process/botmaster.py:477:14: E261 at least two spaces before inline comment
else: # pragma: ignore
^
./master/buildbot/process/botmaster.py:485:33: E261 at least two spaces before inline comment
if not self.new_slave_d: # pragma: ignore
^
./master/buildbot/process/build.py:26:3: E121 continuation line indentation is not a multiple of four
RETRY, SKIPPED, worst_status
^
./master/buildbot/process/build.py:91:80: E501 line too long (84 > 79 characters)
self.locks = [(self.builder.botmaster.getLockFromLockAccess(access), access)
^
./master/buildbot/process/build.py:92:25: E127 continuation line over-indented for visual indent
for access in lockList ]
^
./master/buildbot/process/build.py:92:47: E202 whitespace before ']'
for access in lockList ]
^
./master/buildbot/process/build.py:128:34: E261 at least two spaces before inline comment
if source.patch_info: #Add patch author to blamelist
^
./master/buildbot/process/build.py:128:35: E262 inline comment should start with '# '
if source.patch_info: #Add patch author to blamelist
^
./master/buildbot/process/build.py:153:5: E301 expected 1 blank line, found 0
def getSlaveName(self):
^
./master/buildbot/process/build.py:178:1: W293 blank line contains whitespace
^
./master/buildbot/process/build.py:201:29: E126 continuation line over-indented for hanging indent
slavebuilder.slave.slave_basedir,
^
./master/buildbot/process/build.py:202:29: E126 continuation line over-indented for hanging indent
self.builder.config.slavebuilddir)
^
./master/buildbot/process/build.py:228:25: E127 continuation line over-indented for visual indent
for l, a in self.locks ]
^
./master/buildbot/process/build.py:228:47: E202 whitespace before ']'
for l, a in self.locks ]
^
./master/buildbot/process/build.py:235:9: E301 expected 1 blank line, found 0
def _uncount_build(res):
^
./master/buildbot/process/build.py:247:42: E261 at least two spaces before inline comment
self.setupBuild(expectations) # create .steps
^
./master/buildbot/process/build.py:250:51: W291 trailing whitespace
# event instead of flunking the build.
^
./master/buildbot/process/build.py:251:67: W291 trailing whitespace
# TODO: associate this failure with the build instead.
^
./master/buildbot/process/build.py:311:24: E211 whitespace before '('
if callable (self.workdir):
^
./master/buildbot/process/build.py:312:39: E211 whitespace before '('
step.setDefaultWorkdir (self.workdir (self.sources))
^
./master/buildbot/process/build.py:312:53: E211 whitespace before '('
step.setDefaultWorkdir (self.workdir (self.sources))
^
./master/buildbot/process/build.py:314:39: E211 whitespace before '('
step.setDefaultWorkdir (self.workdir)
^
./master/buildbot/process/build.py:316:25: W601 .has_key() is deprecated, use 'in'
if stepnames.has_key(name):
^
./master/buildbot/process/build.py:361:34: W601 .has_key() is deprecated, use 'in'
if r.properties.has_key('owner')]
^
./master/buildbot/process/build.py:362:18: E701 multiple statements on one line (colon)
if owners: self.setProperty('owners', owners, self.reason)
^
./master/buildbot/process/build.py:364:26: E261 at least two spaces before inline comment
self.results = [] # list of FAILURE, SUCCESS, WARNINGS, SKIPPED
^
./master/buildbot/process/build.py:365:30: E261 at least two spaces before inline comment
self.result = SUCCESS # overall result, may downgrade after each step
^
./master/buildbot/process/build.py:366:23: E261 at least two spaces before inline comment
self.text = [] # list of text string lists (text2)
^
./master/buildbot/process/build.py:402:19: E261 at least two spaces before inline comment
return # build was interrupted, don't keep building
^
./master/buildbot/process/build.py:403:49: E261 at least two spaces before inline comment
terminate = self.stepDone(results, step) # interpret/merge results
^
./master/buildbot/process/build.py:415:25: E721 do not compare types, use 'isinstance()'
if type(result) == types.TupleType:
^
./master/buildbot/process/build.py:566:9: E126 continuation line over-indented for hanging indent
lambda build : interfaces.IProperties(build.build_status),
^
./master/buildbot/process/build.py:566:21: E203 whitespace before ':'
lambda build : interfaces.IProperties(build.build_status),
^
./master/buildbot/process/build.py:567:9: E126 continuation line over-indented for hanging indent
Build, interfaces.IProperties)
^
./master/buildbot/process/builder.py:33:1: E302 expected 2 blank lines, found 1
def enforceChosenSlave(bldr, slavebuilder, breq):
^
./master/buildbot/process/builder.py:37:29: E225 missing whitespace around operator
return slavename==slavebuilder.slave.slavename
^
./master/buildbot/process/builder.py:41:1: E302 expected 2 blank lines, found 1
class Builder(config.ReconfigurableServiceMixin,
^
./master/buildbot/process/builder.py:74:45: E128 continuation line under-indented for visual indent
self.reclaimAllBuilds)
^
./master/buildbot/process/builder.py:79:45: E128 continuation line under-indented for visual indent
self.updateBigStatus)
^
./master/buildbot/process/builder.py:93:21: E126 continuation line over-indented for hanging indent
builder_config.name,
^
./master/buildbot/process/builder.py:94:21: E126 continuation line over-indented for hanging indent
builder_config.builddir,
^
./master/buildbot/process/builder.py:95:21: E126 continuation line over-indented for hanging indent
builder_config.category,
^
./master/buildbot/process/builder.py:96:21: E126 continuation line over-indented for hanging indent
builder_config.description)
^
./master/buildbot/process/builder.py:108:24: E201 whitespace after '['
self.slaves = [ s for s in self.slaves
^
./master/buildbot/process/builder.py:109:63: E202 whitespace before ']'
if s.slave.slavename in new_slavenames ]
^
./master/buildbot/process/builder.py:114:39: E203 whitespace before ':'
d = defer.maybeDeferred(lambda :
^
./master/buildbot/process/builder.py:115:17: E128 continuation line under-indented for visual indent
service.MultiService.stopService(self))
^
./master/buildbot/process/builder.py:130:25: E126 continuation line over-indented for hanging indent
buildername=self.name, claimed=False)
^
./master/buildbot/process/builder.py:133:26: E201 whitespace after '['
unclaimed = [ brd['submitted_at'] for brd in unclaimed ]
^
./master/buildbot/process/builder.py:133:67: E202 whitespace before ']'
unclaimed = [ brd['submitted_at'] for brd in unclaimed ]
^
./master/buildbot/process/builder.py:254:22: E261 at least two spaces before inline comment
sb.detached() # inform the SlaveBuilder that their slave went away
^
./master/buildbot/process/builder.py:269:80: E501 line too long (89 > 79 characters)
log.err(None, "while trying to update status of builder '%s'" % (self.name,))
^
./master/buildbot/process/builder.py:272:17: E201 whitespace after '['
return [ sb for sb in self.slaves if sb.isAvailable() ]
^
./master/buildbot/process/builder.py:272:62: E202 whitespace before ']'
return [ sb for sb in self.slaves if sb.isAvailable() ]
^
./master/buildbot/process/builder.py:276:21: E127 continuation line over-indented for visual indent
for access in self.config.locks ]
^
./master/buildbot/process/builder.py:276:52: E202 whitespace before ']'
for access in self.config.locks ]
^
./master/buildbot/process/builder.py:281:80: E501 line too long (91 > 79 characters)
return defer.maybeDeferred(self.config.canStartBuild, self, slavebuilder, breq)
^
./master/buildbot/process/builder.py:298:9: E301 expected 1 blank line, found 0
def run_cleanups():
^
./master/buildbot/process/builder.py:304:80: E501 line too long (80 > 79 characters)
log.err(failure.Failure(), "while running %r" % (run_cleanups,))
^
./master/buildbot/process/builder.py:308:31: E203 whitespace before ':'
cleanups.append(lambda : self.updateBigStatus())
^
./master/buildbot/process/builder.py:316:31: E203 whitespace before ':'
cleanups.append(lambda : slavebuilder.slave.releaseLocks())
^
./master/buildbot/process/builder.py:323:31: E203 whitespace before ':'
cleanups.append(lambda : self.building.remove(build))
^
./master/buildbot/process/builder.py:369:31: E203 whitespace before ':'
cleanups.append(lambda : slavebuilder.buildFinished())
^
./master/buildbot/process/builder.py:419:17: E128 continuation line under-indented for visual indent
bs, self.expectations, slavebuilder)
^
./master/buildbot/process/builder.py:423:13: E128 continuation line under-indented for visual indent
'serious error - please file a bug at http://buildbot.net')
^
./master/buildbot/process/builder.py:435:25: E128 continuation line under-indented for visual indent
self.config.properties[propertyname],
^
./master/buildbot/process/builder.py:436:25: E128 continuation line under-indented for visual indent
"Builder")
^
./master/buildbot/process/builder.py:461:25: E203 whitespace before ':'
lambda _ : self._maybeBuildsetsComplete(build.requests))
^
./master/buildbot/process/builder.py:513:80: E501 line too long (81 > 79 characters)
# If the build fails from here on out (e.g., because a slave has failed),
^
./master/buildbot/process/builder.py:553:9: E301 expected 1 blank line, found 0
def add_buildset(sourcestampsetid):
^
./master/buildbot/process/builder.py:555:21: E126 continuation line over-indented for hanging indent
builderNames=[self.original.name],
^
./master/buildbot/process/builder.py:556:21: E126 continuation line over-indented for hanging indent
sourcestampsetid=sourcestampsetid, reason=reason, properties=props)
^
./master/buildbot/process/builder.py:556:80: E501 line too long (87 > 79 characters)
sourcestampsetid=sourcestampsetid, reason=reason, properties=props)
^
./master/buildbot/process/builder.py:558:9: E301 expected 1 blank line, found 0
def get_brs((bsid,brids)):
^
./master/buildbot/process/builder.py:558:26: E231 missing whitespace after ','
def get_brs((bsid,brids)):
^
./master/buildbot/process/builder.py:567:80: E501 line too long (105 > 79 characters)
def rebuildBuild(self, bs, reason="<rebuild, no reason given>", extraProperties=None, absolute=True):
^
./master/buildbot/process/builder.py:578:34: E231 missing whitespace after ','
properties_dict = dict((k,(v,s)) for (k,v,s) in properties.asList())
^
./master/buildbot/process/builder.py:578:37: E231 missing whitespace after ','
properties_dict = dict((k,(v,s)) for (k,v,s) in properties.asList())
^
./master/buildbot/process/builder.py:578:48: E231 missing whitespace after ','
properties_dict = dict((k,(v,s)) for (k,v,s) in properties.asList())
^
./master/buildbot/process/builder.py:578:50: E231 missing whitespace after ','
properties_dict = dict((k,(v,s)) for (k,v,s) in properties.asList())
^
./master/buildbot/process/builder.py:580:1: W293 blank line contains whitespace
^
./master/buildbot/process/builder.py:582:37: E271 multiple spaces after keyword
sourcestampsetid = yield ssList[0].getSourceStampSetId(self.control.master)
^
./master/buildbot/process/builder.py:582:80: E501 line too long (88 > 79 characters)
sourcestampsetid = yield ssList[0].getSourceStampSetId(self.control.master)
^
./master/buildbot/process/builder.py:586:80: E501 line too long (93 > 79 characters)
dl.append(ss.addSourceStampToDatabase(self.control.master, sourcestampsetid))
^
./master/buildbot/process/builder.py:590:21: E126 continuation line over-indented for hanging indent
builderNames=[self.original.name],
^
./master/buildbot/process/builder.py:591:21: E126 continuation line over-indented for hanging indent
sourcestampsetid=sourcestampsetid,
^
./master/buildbot/process/builder.py:591:55: W291 trailing whitespace
sourcestampsetid=sourcestampsetid,
^
./master/buildbot/process/builder.py:592:21: E126 continuation line over-indented for hanging indent
reason=reason,
^
./master/buildbot/process/builder.py:592:35: W291 trailing whitespace
reason=reason,
^
./master/buildbot/process/builder.py:593:21: E126 continuation line over-indented for hanging indent
properties=properties_dict)
^
./master/buildbot/process/builder.py:596:80: E501 line too long (88 > 79 characters)
log.msg('Cannot start rebuild, rebuild has no sourcestamps for a new build')
^
./master/buildbot/process/builder.py:603:17: E126 continuation line over-indented for hanging indent
buildername=self.original.name,
^
./master/buildbot/process/builder.py:604:17: E126 continuation line over-indented for hanging indent
claimed=False)
^
./master/buildbot/process/builder.py:607:26: E201 whitespace after '['
buildrequests = [ ]
^
./master/buildbot/process/builder.py:610:21: E126 continuation line over-indented for hanging indent
self.control.master, brdict)
^
./master/buildbot/process/builder.py:614:28: E201 whitespace after '['
defer.returnValue([ buildrequest.BuildRequestControl(self.original, r)
^
./master/buildbot/process/builder.py:615:51: E202 whitespace before ']'
for r in buildrequests ])
^
./master/buildbot/process/builder.py:623:40: E261 at least two spaces before inline comment
return defer.succeed(False) # interfaces.NoSlaveError
^
./master/buildbot/process/builder.py:632:20: E231 missing whitespace after ','
for ignored,success in res:
^
./master/buildbot/process/buildrequest.py:25:1: E302 expected 2 blank lines, found 1
class BuildRequest(object):
^
./master/buildbot/process/buildrequest.py:107:24: E261 at least two spaces before inline comment
assert buildset # schema should guarantee this
^
./master/buildbot/process/buildrequest.py:111:80: E501 line too long (99 > 79 characters)
buildset_properties = yield master.db.buildsets.getBuildsetProperties(brdict['buildsetid'])
^
./master/buildbot/process/buildrequest.py:113:80: E501 line too long (85 > 79 characters)
buildrequest.properties = properties.Properties.fromDict(buildset_properties)
^
./master/buildbot/process/buildrequest.py:116:23: E271 multiple spaces after keyword
sslist = yield master.db.sourcestamps.getSourceStamps(buildset['sourcestampsetid'])
^
./master/buildbot/process/buildrequest.py:116:80: E501 line too long (92 > 79 characters)
sslist = yield master.db.sourcestamps.getSourceStamps(buildset['sourcestampsetid'])
^
./master/buildbot/process/buildrequest.py:117:80: E501 line too long (122 > 79 characters)
assert len(sslist) > 0, "Empty sourcestampset: db schema enforces set to exist but cannot enforce a non empty set"
^
./master/buildbot/process/buildrequest.py:121:9: E301 expected 1 blank line, found 0
def store_source(source):
^
./master/buildbot/process/buildrequest.py:139:56: W291 trailing whitespace
other_codebases = set(other.sources.iterkeys())
^
./master/buildbot/process/buildrequest.py:143:80: E501 line too long (81 > 79 characters)
# Merge can only be done if both requests have sourcestampsets containing
^
./master/buildbot/process/buildrequest.py:144:80: E501 line too long (82 > 79 characters)
# comparable sourcestamps, that means sourcestamps with the same codebase.
^
./master/buildbot/process/buildrequest.py:145:80: E501 line too long (81 > 79 characters)
# This means that both requests must have exact the same set of codebases
^
./master/buildbot/process/buildrequest.py:147:78: W291 trailing whitespace
# The second requirement is that both request have the changes in the
^
./master/buildbot/process/buildrequest.py:150:73: W291 trailing whitespace
# Normaly a scheduler always delivers the same set of codebases:
^
./master/buildbot/process/buildrequest.py:153:70: W291 trailing whitespace
# it delivers only a set with sourcestamps that have changes.
^
./master/buildbot/process/buildrequest.py:155:56: W291 trailing whitespace
other_codebases = set(other.sources.iterkeys())
^
./master/buildbot/process/buildrequest.py:158:1: W293 blank line contains whitespace
^
./master/buildbot/process/buildrequest.py:162:17: E125 continuation line does not distinguish itself from next logical line
!= (len(other.sources[c].changes) > 0)):
^
./master/buildbot/process/buildrequest.py:166:1: W293 blank line contains whitespace
^
./master/buildbot/process/buildrequest.py:202:36: E225 missing whitespace around operator
assert len(all_sources)>0, "each codebase should have atleast one sourcestamp"
^
./master/buildbot/process/buildrequest.py:202:80: E501 line too long (90 > 79 characters)
assert len(all_sources)>0, "each codebase should have atleast one sourcestamp"
^
./master/buildbot/process/buildrequest.py:203:80: E501 line too long (84 > 79 characters)
all_merged_sources[codebase] = all_sources[0].mergeWith(all_sources[1:])
^
./master/buildbot/process/buildrequest.py:232:65: E128 continuation line under-indented for visual indent
FAILURE)
^
./master/buildbot/process/buildrequest.py:237:1: E302 expected 2 blank lines, found 1
class BuildRequestControl:
^
./master/buildbot/process/buildrequestdistributor.py:28:1: E302 expected 2 blank lines, found 1
class BuildChooserBase(object):
^
./master/buildbot/process/buildrequestdistributor.py:70:5: E303 too many blank lines (2)
def popNextBuild(self):
^
./master/buildbot/process/buildrequestdistributor.py:85:5: E303 too many blank lines (2)
@defer.inlineCallbacks
^
./master/buildbot/process/buildrequestdistributor.py:94:25: E126 continuation line over-indented for hanging indent
buildername=self.bldr.name, claimed=False)
^
./master/buildbot/process/buildrequestdistributor.py:96:40: E203 whitespace before ':'
brdicts.sort(key=lambda brd : brd['submitted_at'])
^
./master/buildbot/process/buildrequestdistributor.py:143:15: E121 continuation line indentation is not a multiple of four
for brdict in self.unclaimedBrdicts ])
^
./master/buildbot/process/buildrequestdistributor.py:143:50: E202 whitespace before ']'
for brdict in self.unclaimedBrdicts ])
^
./master/buildbot/process/buildrequestdistributor.py:145:1: E302 expected 2 blank lines, found 1
class BasicBuildChooser(BuildChooserBase):
^
./master/buildbot/process/buildrequestdistributor.py:173:38: E231 missing whitespace after ','
self.nextSlave = lambda _,slaves: random.choice(slaves) if slaves else None
^
./master/buildbot/process/buildrequestdistributor.py:173:80: E501 line too long (87 > 79 characters)
self.nextSlave = lambda _,slaves: random.choice(slaves) if slaves else None
^
./master/buildbot/process/buildrequestdistributor.py:178:80: E501 line too long (80 > 79 characters)
# they're usable (eg, locks can be satisfied), then prefer those slaves;
^
./master/buildbot/process/buildrequestdistributor.py:230:27: E201 whitespace after '['
mergedRequests = [ breq ]
^
./master/buildbot/process/buildrequestdistributor.py:230:32: E202 whitespace before ']'
mergedRequests = [ breq ]
^
./master/buildbot/process/buildrequestdistributor.py:249:5: E303 too many blank lines (2)
@defer.inlineCallbacks
^
./master/buildbot/process/buildrequestdistributor.py:266:80: E501 line too long (93 > 79 characters)
"from _getNextUnclaimedBuildRequest for builder '%s'" % (self.bldr,))
^
./master/buildbot/process/buildrequestdistributor.py:377:9: E301 expected 1 blank line, found 0
@d.addBoth
^
./master/buildbot/process/buildrequestdistributor.py:402:29: E126 continuation line over-indented for hanging indent
list(existing_pending | new_builders))
^
./master/buildbot/process/buildrequestdistributor.py:413:17: E126 continuation line over-indented for hanging indent
resetPendingBuildersList, new_builders)
^
./master/buildbot/process/buildrequestdistributor.py:421:9: E301 expected 1 blank line, found 0
def xform(bldr):
^
./master/buildbot/process/buildrequestdistributor.py:422:43: E203 whitespace before ':'
d = defer.maybeDeferred(lambda :
^
./master/buildbot/process/buildrequestdistributor.py:423:21: E128 continuation line under-indented for visual indent
bldr.getOldestRequestTime())
^
./master/buildbot/process/buildrequestdistributor.py:424:38: E203 whitespace before ':'
d.addCallback(lambda time :
^
./master/buildbot/process/buildrequestdistributor.py:425:17: E128 continuation line under-indented for visual indent
(((time is None) and None or time),bldr))
^
./master/buildbot/process/buildrequestdistributor.py:425:51: E231 missing whitespace after ','
(((time is None) and None or time),bldr))
^
./master/buildbot/process/buildrequestdistributor.py:428:17: E126 continuation line over-indented for hanging indent
[ xform(bldr) for bldr in builders ])
^
./master/buildbot/process/buildrequestdistributor.py:428:18: E201 whitespace after '['
[ xform(bldr) for bldr in builders ])
^
./master/buildbot/process/buildrequestdistributor.py:428:51: E202 whitespace before ']'
[ xform(bldr) for bldr in builders ])
^
./master/buildbot/process/buildrequestdistributor.py:432:22: E231 missing whitespace after ','
def nonecmp(a,b):
^
./master/buildbot/process/buildrequestdistributor.py:433:28: E701 multiple statements on one line (colon)
if a[0] is None: return 1
^
./master/buildbot/process/buildrequestdistributor.py:434:28: E701 multiple statements on one line (colon)
if b[0] is None: return -1
^
./master/buildbot/process/buildrequestdistributor.py:435:25: E231 missing whitespace after ','
return cmp(a,b)
^
./master/buildbot/process/buildrequestdistributor.py:439:15: E201 whitespace after '['
rv = [ xf[1] for xf in xformed ]
^
./master/buildbot/process/buildrequestdistributor.py:439:39: E202 whitespace before ']'
rv = [ xf[1] for xf in xformed ]
^
./master/buildbot/process/buildrequestdistributor.py:451:21: E201 whitespace after '['
builders = [ builders_dict.get(n)
^
./master/buildbot/process/buildrequestdistributor.py:453:43: E202 whitespace before ']'
if n in builders_dict ]
^
./master/buildbot/process/buildrequestdistributor.py:462:56: E203 whitespace before ':'
builders = yield defer.maybeDeferred(lambda :
^
./master/buildbot/process/buildrequestdistributor.py:463:21: E128 continuation line under-indented for visual indent
sorter(self.master, builders))
^
./master/buildbot/process/buildrequestdistributor.py:468:15: E201 whitespace after '['
rv = [ b.name for b in builders ]
^
./master/buildbot/process/buildrequestdistributor.py:468:40: E202 whitespace before ']'
rv = [ b.name for b in builders ]
^
./master/buildbot/process/buildrequestdistributor.py:523:22: E201 whitespace after '['
brids = [ br.id for br in breqs ]
^
./master/buildbot/process/buildrequestdistributor.py:523:44: E202 whitespace before ']'
brids = [ br.id for br in breqs ]
^
./master/buildbot/process/buildrequestdistributor.py:536:80: E501 line too long (83 > 79 characters)
# and try starting builds again. If we still have a working slave,
^
./master/buildbot/process/buildrequestdistributor.py:546:13: E261 at least two spaces before inline comment
pass # pragma: no cover
^
./master/buildbot/process/buildstep.py:30:6: E121 continuation line indentation is not a multiple of four
EXCEPTION, RETRY, worst_status
^
./master/buildbot/process/buildstep.py:34:1: E302 expected 2 blank lines, found 1
class BuildStepFailed(Exception):
^
./master/buildbot/process/buildstep.py:37:1: E302 expected 2 blank lines, found 1
class RemoteCommand(pb.Referenceable):
^
./master/buildbot/process/buildstep.py:47:13: E128 continuation line under-indented for visual indent
collectStdout=False, collectStderr=False, decodeRC={0:SUCCESS}):
^
./master/buildbot/process/buildstep.py:47:66: E231 missing whitespace after ':'
collectStdout=False, collectStderr=False, decodeRC={0:SUCCESS}):
^
./master/buildbot/process/buildstep.py:102:80: E501 line too long (84 > 79 characters)
def useLogDelayed(self, logfileName, activateCallBack, closeWhenFinished=False):
^
./master/buildbot/process/buildstep.py:236:18: E231 missing whitespace after ','
for k,v in update.items():
^
./master/buildbot/process/buildstep.py:237:46: E231 missing whitespace after ','
log.msg("Update[%s]: %s" % (k,v))
^
./master/buildbot/process/buildstep.py:238:18: W601 .has_key() is deprecated, use 'in'
if update.has_key('stdout'):
^
./master/buildbot/process/buildstep.py:241:18: W601 .has_key() is deprecated, use 'in'
if update.has_key('stderr'):
^
./master/buildbot/process/buildstep.py:244:18: W601 .has_key() is deprecated, use 'in'
if update.has_key('header'):
^
./master/buildbot/process/buildstep.py:247:18: W601 .has_key() is deprecated, use 'in'
if update.has_key('log'):
^
./master/buildbot/process/buildstep.py:251:18: W601 .has_key() is deprecated, use 'in'
if update.has_key('rc'):
^
./master/buildbot/process/buildstep.py:255:18: W601 .has_key() is deprecated, use 'in'
if update.has_key('elapsed'):
^
./master/buildbot/process/buildstep.py:270:17: E231 missing whitespace after ','
for name,loog in self.logs.items():
^
./master/buildbot/process/buildstep.py:323:43: E261 at least two spaces before inline comment
self.stdoutParser.transport = self # for the .disconnecting attribute
^
./master/buildbot/process/buildstep.py:362:37: E231 missing whitespace after ','
collectStdout=False,collectStderr=False,
^
./master/buildbot/process/buildstep.py:364:48: E231 missing whitespace after ':'
initialStdin=None, decodeRC={0:SUCCESS}):
^
./master/buildbot/process/buildstep.py:366:31: E261 at least two spaces before inline comment
self.command = command # stash .command, set it later
^
./master/buildbot/process/buildstep.py:373:74: E225 missing whitespace around operator
if isinstance(arg, tuple) and len(arg) == 3 and arg[0] =='obfuscated':
^
./master/buildbot/process/buildstep.py:373:80: E501 line too long (86 > 79 characters)
if isinstance(arg, tuple) and len(arg) == 3 and arg[0] =='obfuscated':
^
./master/buildbot/process/buildstep.py:398:80: E501 line too long (80 > 79 characters)
RemoteCommand.__init__(self, "shell", args, collectStdout=collectStdout,
^
./master/buildbot/process/buildstep.py:419:1: E302 expected 2 blank lines, found 1
class _BuildStepFactory(util.ComparableMixin):
^
./master/buildbot/process/buildstep.py:425:49: E202 whitespace before ']'
compare_attrs = ['factory', 'args', 'kwargs' ]
^
./master/buildbot/process/buildstep.py:441:1: E302 expected 2 blank lines, found 1
class BuildStep(object, properties.PropertiesMixin):
^
./master/buildbot/process/buildstep.py:479:23: E261 at least two spaces before inline comment
description = None # set this to a list of short strings to override
^
./master/buildbot/process/buildstep.py:480:27: E261 at least two spaces before inline comment
descriptionDone = None # alternate description when the step is complete
^
./master/buildbot/process/buildstep.py:481:29: E261 at least two spaces before inline comment
descriptionSuffix = None # extra information to append to suffix
^
./master/buildbot/process/buildstep.py:483:25: E261 at least two spaces before inline comment
progressMetrics = () # 'time' is implicit
^
./master/buildbot/process/buildstep.py:484:23: E261 at least two spaces before inline comment
useProgress = True # set to False if step is really unpredictable
^
./master/buildbot/process/buildstep.py:491:22: W601 .has_key() is deprecated, use 'in'
if kwargs.has_key(p):
^
./master/buildbot/process/buildstep.py:495:78: E502 the backslash is redundant between brackets
config.error("%s.__init__ got unexpected keyword argument(s) %s" \
^
./master/buildbot/process/buildstep.py:496:19: E128 continuation line under-indented for visual indent
% (self.__class__, kwargs.keys()))
^
./master/buildbot/process/buildstep.py:558:80: E501 line too long (87 > 79 characters)
self.locks = [(self.build.builder.botmaster.getLockByID(access.lockid), access)
^
./master/buildbot/process/buildstep.py:559:25: E127 continuation line over-indented for visual indent
for access in self.locks ]
^
./master/buildbot/process/buildstep.py:559:49: E202 whitespace before ']'
for access in self.locks ]
^
./master/buildbot/process/buildstep.py:563:25: E127 continuation line over-indented for visual indent
for l, la in self.locks ]
^
./master/buildbot/process/buildstep.py:563:48: E202 whitespace before ']'
for l, la in self.locks ]
^
./master/buildbot/process/buildstep.py:621:15: E201 whitespace after '['
dl = [ doStep ]
^
./master/buildbot/process/buildstep.py:621:22: E202 whitespace before ']'
dl = [ doStep ]
^
./master/buildbot/process/buildstep.py:681:34: E128 continuation line under-indented for visual indent
["interrupted"])
^
./master/buildbot/process/buildstep.py:686:80: E501 line too long (81 > 79 characters)
# internal function to indicate that this step is done; this is separated
^
./master/buildbot/process/buildstep.py:708:80: E501 line too long (80 > 79 characters)
# should call self.finished, or it can be a real exception, which should
^
./master/buildbot/process/buildstep.py:821:9: E126 continuation line over-indented for hanging indent
BuildStep._getStepFactory,
^
./master/buildbot/process/buildstep.py:822:9: E126 continuation line over-indented for hanging indent
BuildStep, interfaces.IBuildStepFactory)
^
./master/buildbot/process/buildstep.py:824:9: E126 continuation line over-indented for hanging indent
lambda step : interfaces.IProperties(step.build),
^
./master/buildbot/process/buildstep.py:824:20: E203 whitespace before ':'
lambda step : interfaces.IProperties(step.build),
^
./master/buildbot/process/buildstep.py:825:9: E126 continuation line over-indented for hanging indent
BuildStep, interfaces.IProperties)
^
./master/buildbot/process/buildstep.py:838:1: E302 expected 2 blank lines, found 1
class LoggingBuildStep(BuildStep):
^
./master/buildbot/process/buildstep.py:846:20: E201 whitespace after '['
renderables = [ 'logfiles', 'lazylogfiles' ]
^
./master/buildbot/process/buildstep.py:846:47: E202 whitespace before ']'
renderables = [ 'logfiles', 'lazylogfiles' ]
^
./master/buildbot/process/buildstep.py:882:23: E261 at least two spaces before inline comment
self.cmd = cmd # so we can interrupt it
^
./master/buildbot/process/buildstep.py:897:33: E261 at least two spaces before inline comment
d = self.runCommand(cmd) # might raise ConnectionLost
^
./master/buildbot/process/buildstep.py:900:61: E261 at least two spaces before inline comment
d.addCallback(lambda res: self.evaluateCommand(cmd)) # returns results
^
./master/buildbot/process/buildstep.py:901:9: E301 expected 1 blank line, found 0
def _gotResults(results):
^
./master/buildbot/process/buildstep.py:904:35: E261 at least two spaces before inline comment
d.addCallback(_gotResults) # returns results
^
./master/buildbot/process/buildstep.py:909:20: E231 missing whitespace after ','
for logname,remotefilename in logfiles.items():
^
./master/buildbot/process/buildstep.py:917:80: E501 line too long (92 > 79 characters)
callback = lambda cmd_arg, local_logname=logname: self.addLog(local_logname)
^
./master/buildbot/process/buildstep.py:931:80: E501 line too long (81 > 79 characters)
self.addCompleteLog('interrupt while waiting for locks', str(reason))
^
./master/buildbot/process/buildstep.py:980:17: E125 continuation line does not distinguish itself from next logical line
or self.warnOnFailure):
^
./master/buildbot/process/buildstep.py:1017:1: W391 blank line at end of file
^
./master/buildbot/process/cache.py:20:1: E302 expected 2 blank lines, found 1
class CacheManager(config.ReconfigurableServiceMixin, service.Service):
^
./master/buildbot/process/cache.py:64:49: E128 continuation line under-indented for visual indent
self.DEFAULT_CACHE_SIZE))
^
./master/buildbot/process/cache.py:67:61: E128 continuation line under-indented for visual indent
new_config)
^
./master/buildbot/process/debug.py:24:1: E302 expected 2 blank lines, found 1
class DebugServices(config.ReconfigurableServiceMixin, service.MultiService):
^
./master/buildbot/process/debug.py:37:5: E303 too many blank lines (2)
@defer.inlineCallbacks
^
./master/buildbot/process/debug.py:53:40: E203 whitespace before ':'
factory = lambda mind, user : DebugPerspective(self.master)
^
./master/buildbot/process/debug.py:55:21: E126 continuation line over-indented for hanging indent
new_config_port, "debug", new_config.debugPassword,
^
./master/buildbot/process/debug.py:56:21: E126 continuation line over-indented for hanging indent
factory)
^
./master/buildbot/process/debug.py:67:49: E203 whitespace before ':'
yield defer.maybeDeferred(lambda :
^
./master/buildbot/process/debug.py:68:25: E128 continuation line under-indented for visual indent
self.manhole.disownServiceParent())
^
./master/buildbot/process/debug.py:79:53: E128 continuation line under-indented for visual indent
new_config)
^
./master/buildbot/process/debug.py:82:5: E303 too many blank lines (2)
@defer.inlineCallbacks
^
./master/buildbot/process/debug.py:90:41: E203 whitespace before ':'
yield defer.maybeDeferred(lambda :
^
./master/buildbot/process/debug.py:91:17: E128 continuation line under-indented for visual indent
service.MultiService.stopService(self))
^
./master/buildbot/process/debug.py:111:29: E128 continuation line under-indented for visual indent
revision, properties={}):
^
./master/buildbot/process/factory.py:27:1: E302 expected 2 blank lines, found 1
@deprecate.deprecated(versions.Version("buildbot", 0, 8, 6))
^
./master/buildbot/process/factory.py:62:80: E501 line too long (85 > 79 characters)
if kwargs or (type(step) == type(BuildStep) and issubclass(step, BuildStep)):
^
./master/buildbot/process/factory.py:64:21: E126 continuation line over-indented for hanging indent
"Passing a BuildStep subclass to factory.addStep is "
^
./master/buildbot/process/factory.py:76:1: E302 expected 2 blank lines, found 1
class GNUAutoconf(BuildFactory):
^
./master/buildbot/process/factory.py:89:48: E261 at least two spaces before inline comment
assert not " " in configure # please use list instead
^
./master/buildbot/process/factory.py:102:1: E302 expected 2 blank lines, found 1
class CPAN(BuildFactory):
^
./master/buildbot/process/factory.py:109:1: E302 expected 2 blank lines, found 1
class Distutils(BuildFactory):
^
./master/buildbot/process/factory.py:116:1: E302 expected 2 blank lines, found 1
class Trial(BuildFactory):
^
./master/buildbot/process/factory.py:163:1: E302 expected 2 blank lines, found 1
class BasicBuildFactory(GNUAutoconf):
^
./master/buildbot/process/factory.py:174:80: E501 line too long (84 > 79 characters)
source = CVS(cvsroot=cvsroot, cvsmodule=cvsmodule, mode=mode, method=method)
^
./master/buildbot/process/factory.py:180:1: E302 expected 2 blank lines, found 1
class QuickBuildFactory(BasicBuildFactory):
^
./master/buildbot/process/factory.py:194:1: E302 expected 2 blank lines, found 1
class BasicSVN(GNUAutoconf):
^
./master/buildbot/process/metrics.py:45:10: E401 multiple imports on one line
import gc, os, sys
^
./master/buildbot/process/metrics.py:53:1: E302 expected 2 blank lines, found 1
class MetricEvent(object):
^
./master/buildbot/process/metrics.py:58:1: E302 expected 2 blank lines, found 1
class MetricCountEvent(MetricEvent):
^
./master/buildbot/process/metrics.py:64:1: E302 expected 2 blank lines, found 1
class MetricTimeEvent(MetricEvent):
^
./master/buildbot/process/metrics.py:72:1: E302 expected 2 blank lines, found 1
class MetricAlarmEvent(MetricEvent):
^
./master/buildbot/process/metrics.py:78:1: E302 expected 2 blank lines, found 1
def countMethod(counter):
^
./master/buildbot/process/metrics.py:86:1: E302 expected 2 blank lines, found 1
class Timer(object):
^
./master/buildbot/process/metrics.py:117:1: E302 expected 2 blank lines, found 1
def timeMethod(name, _reactor=None):
^
./master/buildbot/process/metrics.py:120:19: E225 missing whitespace around operator
t._reactor=_reactor
^
./master/buildbot/process/metrics.py:121:9: E301 expected 1 blank line, found 0
def wrapper(*args, **kwargs):
^
./master/buildbot/process/metrics.py:130:1: E302 expected 2 blank lines, found 1
class FiniteList(deque):
^
./master/buildbot/process/metrics.py:140:1: E302 expected 2 blank lines, found 1
class AveragingFiniteList(FiniteList):
^
./master/buildbot/process/metrics.py:157:1: E302 expected 2 blank lines, found 1
class MetricHandler(object):
^
./master/buildbot/process/metrics.py:189:1: E302 expected 2 blank lines, found 1
class MetricCountHandler(MetricHandler):
^
./master/buildbot/process/metrics.py:191:5: E301 expected 1 blank line, found 0
def reset(self):
^
./master/buildbot/process/metrics.py:218:1: E302 expected 2 blank lines, found 1
class MetricTimeHandler(MetricHandler):
^
./master/buildbot/process/metrics.py:220:5: E301 expected 1 blank line, found 0
def reset(self):
^
./master/buildbot/process/metrics.py:244:1: E302 expected 2 blank lines, found 1
class MetricAlarmHandler(MetricHandler):
^
./master/buildbot/process/metrics.py:246:5: E301 expected 1 blank line, found 0
def reset(self):
^
./master/buildbot/process/metrics.py:267:1: E302 expected 2 blank lines, found 1
class PollerWatcher(object):
^
./master/buildbot/process/metrics.py:278:21: E128 continuation line under-indented for visual indent
msg="Coudln't get MetricTimeEvent handler",
^
./master/buildbot/process/metrics.py:279:21: E128 continuation line under-indented for visual indent
level=ALARM_WARN)
^
./master/buildbot/process/metrics.py:283:17: E128 continuation line under-indented for visual indent
'BuildMaster.pollDatabaseBuildRequests()'):
^
./master/buildbot/process/metrics.py:297:1: E302 expected 2 blank lines, found 1
class AttachedSlavesWatcher(object):
^
./master/buildbot/process/metrics.py:308:21: E128 continuation line under-indented for visual indent
msg="Coudln't get MetricCountEvent handler",
^
./master/buildbot/process/metrics.py:309:21: E128 continuation line under-indented for visual indent
level=ALARM_WARN)
^
./master/buildbot/process/metrics.py:322:17: E128 continuation line under-indented for visual indent
msg='%s %s' % (botmaster_count, buildslave_count),
^
./master/buildbot/process/metrics.py:323:17: E128 continuation line under-indented for visual indent
level=level)
^
./master/buildbot/process/metrics.py:325:1: E302 expected 2 blank lines, found 1
def _get_rss():
^
./master/buildbot/process/metrics.py:334:1: E302 expected 2 blank lines, found 1
def periodicCheck(_reactor=reactor):
^
./master/buildbot/process/metrics.py:347:80: E501 line too long (81 > 79 characters)
attrs = ['ru_utime', 'ru_stime', 'ru_maxrss', 'ru_ixrss', 'ru_idrss',
^
./master/buildbot/process/metrics.py:348:21: E128 continuation line under-indented for visual indent
'ru_isrss', 'ru_minflt', 'ru_majflt', 'ru_nswap',
^
./master/buildbot/process/metrics.py:351:18: E231 missing whitespace after ','
for i,a in enumerate(attrs):
^
./master/buildbot/process/metrics.py:352:80: E501 line too long (81 > 79 characters)
# Linux versions prior to 2.6.32 didn't report this value, but we
^
./master/buildbot/process/metrics.py:358:80: E501 line too long (92 > 79 characters)
MetricCountEvent.log('resource.pagesize', resource.getpagesize(), absolute=True)
^
./master/buildbot/process/metrics.py:362:9: E301 expected 1 blank line, found 0
def cb():
^
./master/buildbot/process/metrics.py:370:1: E302 expected 2 blank lines, found 1
class MetricLogObserver(config.ReconfigurableServiceMixin,
^
./master/buildbot/process/metrics.py:373:5: E301 expected 1 blank line, found 0
def __init__(self):
^
./master/buildbot/process/metrics.py:394:17: E126 continuation line over-indented for hanging indent
AttachedSlavesWatcher(self))
^
./master/buildbot/process/metrics.py:424:53: E128 continuation line under-indented for visual indent
self._reactor)
^
./master/buildbot/process/metrics.py:430:57: E128 continuation line under-indented for visual indent
new_config)
^
./master/buildbot/process/properties.py:27:1: E302 expected 2 blank lines, found 1
class Properties(util.ComparableMixin):
^
./master/buildbot/process/properties.py:54:26: E261 at least two spaces before inline comment
self.build = None # will be set by the Build when starting
^
./master/buildbot/process/properties.py:55:18: E701 multiple statements on one line (colon)
if kwargs: self.update(kwargs, "TEST")
^
./master/buildbot/process/properties.py:90:14: E201 whitespace after '['
l = [ (k, v[0], v[1]) for k,v in self.properties.iteritems() ]
^
./master/buildbot/process/properties.py:90:36: E231 missing whitespace after ','
l = [ (k, v[0], v[1]) for k,v in self.properties.iteritems() ]
^
./master/buildbot/process/properties.py:90:69: E202 whitespace before ']'
l = [ (k, v[0], v[1]) for k,v in self.properties.iteritems() ]
^
./master/buildbot/process/properties.py:100:29: E231 missing whitespace after ','
repr(dict((k,v[0]) for k,v in self.properties.iteritems())) +
^
./master/buildbot/process/properties.py:100:41: E231 missing whitespace after ','
repr(dict((k,v[0]) for k,v in self.properties.iteritems())) +
^
./master/buildbot/process/properties.py:104:80: E501 line too long (86 > 79 characters)
"""Update this object from a dictionary, with an explicit source specified."""
^
./master/buildbot/process/properties.py:116:14: E231 missing whitespace after ','
for k,v in other.properties.iteritems():
^
./master/buildbot/process/properties.py:126:31: W601 .has_key() is deprecated, use 'in'
return self.properties.has_key(name)
^
./master/buildbot/process/properties.py:135:21: E126 continuation line over-indented for hanging indent
"Non jsonable properties are not explicitly supported and" +
^
./master/buildbot/process/properties.py:135:80: E501 line too long (80 > 79 characters)
"Non jsonable properties are not explicitly supported and" +
^
./master/buildbot/process/properties.py:195:1: E303 too many blank lines (3)
class _PropertyMap(object):
^
./master/buildbot/process/properties.py:203:5: E301 expected 1 blank line, found 0
def __init__(self, properties):
^
./master/buildbot/process/properties.py:215:36: E231 missing whitespace after ','
prop, repl = mo.group(1,2)
^
./master/buildbot/process/properties.py:218:28: W601 .has_key() is deprecated, use 'in'
elif properties.has_key(prop):
^
./master/buildbot/process/properties.py:225:80: E501 line too long (80 > 79 characters)
# if prop exists and is true (nonempty), use it; otherwise, use repl
^
./master/buildbot/process/properties.py:226:36: E231 missing whitespace after ','
prop, repl = mo.group(1,2)
^
./master/buildbot/process/properties.py:229:28: W601 .has_key() is deprecated, use 'in'
elif properties.has_key(prop) and properties[prop]:
^
./master/buildbot/process/properties.py:237:36: E231 missing whitespace after ','
prop, repl = mo.group(1,2)
^
./master/buildbot/process/properties.py:238:26: W601 .has_key() is deprecated, use 'in'
if properties.has_key(prop) or prop in self.temp_vals:
^
./master/buildbot/process/properties.py:244:14: E201 whitespace after '('
( self.colon_minus_re, colon_minus ),
^
./master/buildbot/process/properties.py:244:47: E202 whitespace before ')'
( self.colon_minus_re, colon_minus ),
^
./master/buildbot/process/properties.py:245:14: E201 whitespace after '('
( self.colon_tilde_re, colon_tilde ),
^
./master/buildbot/process/properties.py:245:47: E202 whitespace before ')'
( self.colon_tilde_re, colon_tilde ),
^
./master/buildbot/process/properties.py:246:14: E201 whitespace after '('
( self.colon_plus_re, colon_plus ),
^
./master/buildbot/process/properties.py:246:45: E202 whitespace before ')'
( self.colon_plus_re, colon_plus ),
^
./master/buildbot/process/properties.py:247:13: E125 continuation line does not distinguish itself from next logical line
]:
^
./master/buildbot/process/properties.py:261:22: E701 multiple statements on one line (colon)
if rv is None: rv = ''
^
./master/buildbot/process/properties.py:265:80: E501 line too long (80 > 79 characters)
'Add a temporary value (to support keyword arguments to WithProperties)'
^
./master/buildbot/process/properties.py:268:1: E302 expected 2 blank lines, found 1
class WithProperties(util.ComparableMixin):
^
./master/buildbot/process/properties.py:284:80: E501 line too long (98 > 79 characters)
raise ValueError('Value for lambda substitution "%s" must be callable.' % key)
^
./master/buildbot/process/properties.py:286:80: E501 line too long (106 > 79 characters)
raise ValueError('WithProperties takes either positional or keyword substitutions, not both.')
^
./master/buildbot/process/properties.py:296:18: E231 missing whitespace after ','
for k,v in self.lambda_subs.iteritems():
^
./master/buildbot/process/properties.py:303:1: E303 too many blank lines (3)
_notHasKey = object() ## Marker object for _Lookup(..., hasKey=...) default
^
./master/buildbot/process/properties.py:303:22: E261 at least two spaces before inline comment
_notHasKey = object() ## Marker object for _Lookup(..., hasKey=...) default
^
./master/buildbot/process/properties.py:303:23: E262 inline comment should start with '# '
_notHasKey = object() ## Marker object for _Lookup(..., hasKey=...) default
^
./master/buildbot/process/properties.py:304:1: E302 expected 2 blank lines, found 0
class _Lookup(util.ComparableMixin, object):
^
./master/buildbot/process/properties.py:307:80: E501 line too long (94 > 79 characters)
compare_attrs = ('value', 'index', 'default', 'defaultWhenFalse', 'hasKey', 'elideNoneAs')
^
./master/buildbot/process/properties.py:310:13: E128 continuation line under-indented for visual indent
defaultWhenFalse=True, hasKey=_notHasKey,
^
./master/buildbot/process/properties.py:311:13: E128 continuation line under-indented for visual indent
elideNoneAs=None):
^
./master/buildbot/process/properties.py:321:17: E126 continuation line over-indented for hanging indent
self.value,
^
./master/buildbot/process/properties.py:322:17: E126 continuation line over-indented for hanging indent
self.index,
^
./master/buildbot/process/properties.py:323:17: E126 continuation line over-indented for hanging indent
', default=%r' % (self.default,)
^
./master/buildbot/process/properties.py:324:21: E126 continuation line over-indented for hanging indent
if self.default is not None else '',
^
./master/buildbot/process/properties.py:326:21: E126 continuation line over-indented for hanging indent
if not self.defaultWhenFalse else '',
^
./master/buildbot/process/properties.py:328:21: E126 continuation line over-indented for hanging indent
if self.hasKey is not _notHasKey else '',
^
./master/buildbot/process/properties.py:329:35: E225 missing whitespace around operator
', elideNoneAs=%r'% (self.elideNoneAs,)
^
./master/buildbot/process/properties.py:330:21: E126 continuation line over-indented for hanging indent
if self.elideNoneAs is not None else '')
^
./master/buildbot/process/properties.py:333:5: E303 too many blank lines (2)
@defer.inlineCallbacks
^
./master/buildbot/process/properties.py:338:21: W601 .has_key() is deprecated, use 'in'
if not value.has_key(index):
^
./master/buildbot/process/properties.py:339:12: E111 indentation is not a multiple of four
rv = yield build.render(self.default)
^
./master/buildbot/process/properties.py:365:5: E301 expected 1 blank line, found 0
def getRenderingFor(self, build):
^
./master/buildbot/process/properties.py:369:1: E302 expected 2 blank lines, found 1
class _SourceStampDict(util.ComparableMixin, object):
^
./master/buildbot/process/properties.py:376:5: E301 expected 1 blank line, found 0
def getRenderingFor(self, build):
^
./master/buildbot/process/properties.py:383:1: E302 expected 2 blank lines, found 1
class _Lazy(util.ComparableMixin, object):
^
./master/buildbot/process/properties.py:387:5: E301 expected 1 blank line, found 0
def __init__(self, value):
^
./master/buildbot/process/properties.py:389:5: E301 expected 1 blank line, found 0
def getRenderingFor(self, build):
^
./master/buildbot/process/properties.py:434:80: E501 line too long (96 > 79 characters)
config.error("Property name must be alphanumeric for prop Interpolation '%s'" % arg)
^
./master/buildbot/process/properties.py:445:47: E231 missing whitespace after ','
codebase, attr = arg.split(":",1)
^
./master/buildbot/process/properties.py:448:80: E501 line too long (105 > 79 characters)
config.error("Must specify both codebase and attribute for src Interpolation '%s'" % arg)
^
./master/buildbot/process/properties.py:452:80: E501 line too long (90 > 79 characters)
config.error("Codebase must be alphanumeric for src Interpolation '%s'" % arg)
^
./master/buildbot/process/properties.py:455:80: E501 line too long (91 > 79 characters)
config.error("Attribute must be alphanumeric for src Interpolation '%s'" % arg)
^
./master/buildbot/process/properties.py:465:80: E501 line too long (88 > 79 characters)
config.error("Keyword must be alphanumeric for kw Interpolation '%s'" % arg)
^
./master/buildbot/process/properties.py:473:80: E501 line too long (88 > 79 characters)
config.error("invalid Interpolate substitution without selector '%s'" % fmt)
^
./master/buildbot/process/properties.py:499:16: E128 continuation line under-indented for visual indent
default=Interpolate(repl, **self.kwargs),
^
./master/buildbot/process/properties.py:500:16: E128 continuation line under-indented for visual indent
defaultWhenFalse=False,
^
./master/buildbot/process/properties.py:501:16: E128 continuation line under-indented for visual indent
elideNoneAs='')
^
./master/buildbot/process/properties.py:505:16: E128 continuation line under-indented for visual indent
default=Interpolate(repl, **self.kwargs),
^
./master/buildbot/process/properties.py:506:16: E128 continuation line under-indented for visual indent
defaultWhenFalse=True,
^
./master/buildbot/process/properties.py:507:16: E128 continuation line under-indented for visual indent
elideNoneAs='')
^
./master/buildbot/process/properties.py:511:16: E128 continuation line under-indented for visual indent
hasKey=Interpolate(repl, **self.kwargs),
^
./master/buildbot/process/properties.py:512:16: E128 continuation line under-indented for visual indent
default='',
^
./master/buildbot/process/properties.py:513:16: E128 continuation line under-indented for visual indent
defaultWhenFalse=False,
^
./master/buildbot/process/properties.py:514:16: E128 continuation line under-indented for visual indent
elideNoneAs='')
^
./master/buildbot/process/properties.py:524:80: E501 line too long (113 > 79 characters)
config.error("invalid Interpolate ternary expression '%s' with delimiter '%s'" % (repl[1:], repl[0]))
^
./master/buildbot/process/properties.py:527:16: E128 continuation line under-indented for visual indent
hasKey=Interpolate(truePart, **self.kwargs),
^
./master/buildbot/process/properties.py:528:16: E128 continuation line under-indented for visual indent
default=Interpolate(falsePart, **self.kwargs),
^
./master/buildbot/process/properties.py:529:16: E128 continuation line under-indented for visual indent
defaultWhenFalse=defaultWhenFalse,
^
./master/buildbot/process/properties.py:530:16: E128 continuation line under-indented for visual indent
elideNoneAs='')
^
./master/buildbot/process/properties.py:538:39: W601 .has_key() is deprecated, use 'in'
if not self.interpolations.has_key(key):
^
./master/buildbot/process/properties.py:543:22: E201 whitespace after '('
( "-", self._parseColon_minus ),
^
./master/buildbot/process/properties.py:543:50: E202 whitespace before ')'
( "-", self._parseColon_minus ),
^
./master/buildbot/process/properties.py:544:22: E201 whitespace after '('
( "~", self._parseColon_tilde ),
^
./master/buildbot/process/properties.py:544:50: E202 whitespace before ')'
( "~", self._parseColon_tilde ),
^
./master/buildbot/process/properties.py:545:22: E201 whitespace after '('
( "+", self._parseColon_plus ),
^
./master/buildbot/process/properties.py:545:49: E202 whitespace before ')'
( "+", self._parseColon_plus ),
^
./master/buildbot/process/properties.py:546:22: E201 whitespace after '('
( "?", self._parseColon_ternary ),
^
./master/buildbot/process/properties.py:546:52: E202 whitespace before ')'
( "?", self._parseColon_ternary ),
^
./master/buildbot/process/properties.py:547:22: E201 whitespace after '('
( "#?", self._parseColon_ternary_hash )
^
./master/buildbot/process/properties.py:547:58: E202 whitespace before ')'
( "#?", self._parseColon_ternary_hash )
^
./master/buildbot/process/properties.py:548:21: E125 continuation line does not distinguish itself from next logical line
]:
^
./master/buildbot/process/properties.py:553:43: W601 .has_key() is deprecated, use 'in'
if not self.interpolations.has_key(key):
^
./master/buildbot/process/properties.py:554:80: E501 line too long (83 > 79 characters)
config.error("invalid Interpolate default type '%s'" % repl[0])
^
./master/buildbot/process/properties.py:561:17: E128 continuation line under-indented for visual indent
self.fmtstring % tuple(args))
^
./master/buildbot/process/properties.py:566:17: E128 continuation line under-indented for visual indent
self.fmtstring % res)
^
./master/buildbot/process/properties.py:569:1: E302 expected 2 blank lines, found 1
class Property(util.ComparableMixin):
^
./master/buildbot/process/properties.py:576:27: E231 missing whitespace after ','
compare_attrs = ('key','default', 'defaultWhenFalse')
^
./master/buildbot/process/properties.py:593:13: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/process/properties.py:606:1: E302 expected 2 blank lines, found 1
class FlattenList(util.ComparableMixin):
^
./master/buildbot/process/properties.py:624:9: E301 expected 1 blank line, found 0
def flat(r):
^
./master/buildbot/process/properties.py:629:1: E302 expected 2 blank lines, found 1
class _Renderer(util.ComparableMixin, object):
^
./master/buildbot/process/properties.py:640:1: E302 expected 2 blank lines, found 1
def renderer(fn):
^
./master/buildbot/process/properties.py:643:1: E302 expected 2 blank lines, found 1
class _DefaultRenderer(object):
^
./master/buildbot/process/properties.py:674:37: E201 whitespace after '['
return defer.gatherResults([ build.render(e) for e in self.value ])
^
./master/buildbot/process/properties.py:674:73: E202 whitespace before ']'
return defer.gatherResults([ build.render(e) for e in self.value ])
^
./master/buildbot/process/properties.py:690:34: E201 whitespace after '['
d = defer.gatherResults([ build.render(e) for e in self.value ])
^
./master/buildbot/process/properties.py:690:70: E202 whitespace before ']'
d = defer.gatherResults([ build.render(e) for e in self.value ])
^
./master/buildbot/process/properties.py:699:80: E501 line too long (85 > 79 characters)
Dict IRenderable adaptor. Maps Build.render over the keya and values in the dict.
^
./master/buildbot/process/properties.py:705:37: E201 whitespace after '['
self.value = _ListRenderer([ _TupleRenderer((k,v)) for k,v in value.iteritems() ])
^
./master/buildbot/process/properties.py:705:55: E231 missing whitespace after ','
self.value = _ListRenderer([ _TupleRenderer((k,v)) for k,v in value.iteritems() ])
^
./master/buildbot/process/properties.py:705:65: E231 missing whitespace after ','
self.value = _ListRenderer([ _TupleRenderer((k,v)) for k,v in value.iteritems() ])
^
./master/buildbot/process/properties.py:705:80: E501 line too long (90 > 79 characters)
self.value = _ListRenderer([ _TupleRenderer((k,v)) for k,v in value.iteritems() ])
^
./master/buildbot/process/properties.py:705:88: E202 whitespace before ']'
self.value = _ListRenderer([ _TupleRenderer((k,v)) for k,v in value.iteritems() ])
^
./master/buildbot/process/slavebuilder.py:20:12: E261 at least two spaces before inline comment
(ATTACHING, # slave attached, still checking hostinfo/etc
^
./master/buildbot/process/slavebuilder.py:21:7: E261 at least two spaces before inline comment
IDLE, # idle, available for use
^
./master/buildbot/process/slavebuilder.py:22:10: E261 at least two spaces before inline comment
PINGING, # build about to start, making sure it is still alive
^
./master/buildbot/process/slavebuilder.py:23:11: E261 at least two spaces before inline comment
BUILDING, # build is running
^
./master/buildbot/process/slavebuilder.py:24:9: E261 at least two spaces before inline comment
LATENT, # latent slave is not substantiated; similar to idle
^
./master/buildbot/process/slavebuilder.py:28:1: E302 expected 2 blank lines, found 1
class AbstractSlaveBuilder(pb.Referenceable):
^
./master/buildbot/process/slavebuilder.py:36:26: E261 at least two spaces before inline comment
self.state = None # set in subclass
^
./master/buildbot/process/slavebuilder.py:96:39: E261 at least two spaces before inline comment
self.remoteCommands = commands # maps command name to version
^
./master/buildbot/process/slavebuilder.py:107:13: E128 continuation line under-indented for visual indent
self.remote.callRemote("setMaster", self))
^
./master/buildbot/process/slavebuilder.py:110:13: E128 continuation line under-indented for visual indent
self.remote.callRemote("print", "attached"))
^
./master/buildbot/process/slavebuilder.py:222:1: E302 expected 2 blank lines, found 1
class LatentSlaveBuilder(AbstractSlaveBuilder):
^
./master/buildbot/process/slavebuilder.py:239:9: E301 expected 1 blank line, found 0
def substantiation_failed(f):
^
./master/buildbot/process/slavebuilder.py:245:9: E301 expected 1 blank line, found 0
def substantiation_cancelled(res):
^
./master/buildbot/process/slavebuilder.py:260:13: E301 expected 1 blank line, found 0
def substantiated(res):
^
./master/buildbot/process/slavebuilder.py:269:13: E301 expected 1 blank line, found 0
def substantiation_failed(res):
^
./master/buildbot/process/slavebuilder.py:297:1: W391 blank line at end of file
^
./master/buildbot/process/subunitlogobserver.py:24:1: E302 expected 2 blank lines, found 1
class SubunitLogObserver(buildstep.LogLineObserver, TestResult):
^
./master/buildbot/process/subunitlogobserver.py:39:17: E128 continuation line under-indented for visual indent
"SubunitLogObserver support.")
^
./master/buildbot/process/subunitlogobserver.py:47:31: E261 at least two spaces before inline comment
self.seen_tags = set() #don't yet know what tags does in subunit
^
./master/buildbot/process/subunitlogobserver.py:47:32: E262 inline comment should start with '# '
self.seen_tags = set() #don't yet know what tags does in subunit
^
./master/buildbot/process/subunitlogobserver.py:67:30: E231 missing whitespace after ','
if hasattr(TestResult,'addSkip'):
^
./master/buildbot/process/subunitlogobserver.py:88:67: W291 trailing whitespace
self.step.setProgress('tests failed', len(self.failures) +
^
./master/buildbot/process/subunitlogobserver.py:89:13: E128 continuation line under-indented for visual indent
len(self.errors))
^
./master/buildbot/process/subunitlogobserver.py:93:5: E301 expected 1 blank line, found 0
def progress(self, offset, whence):
^
./master/buildbot/process/users/manager.py:20:1: E302 expected 2 blank lines, found 1
class UserManagerManager(config.ReconfigurableServiceMixin,
^
./master/buildbot/process/users/manager.py:35:45: E203 whitespace before ':'
yield defer.maybeDeferred(lambda :
^
./master/buildbot/process/users/manager.py:36:21: E128 continuation line under-indented for visual indent
mgr.disownServiceParent())
^
./master/buildbot/process/users/manager.py:45:61: E128 continuation line under-indented for visual indent
new_config)
^
./master/buildbot/process/users/manual.py:24:1: E302 expected 2 blank lines, found 1
class UsersBase(service.MultiService):
^
./master/buildbot/process/users/manual.py:41:1: E302 expected 2 blank lines, found 1
class CommandlineUserManagerPerspective(pbutil.NewCredPerspective):
^
./master/buildbot/process/users/manual.py:133:45: E126 continuation line over-indented for hanging indent
identifier=user)
^
./master/buildbot/process/users/manual.py:155:50: E121 continuation line indentation is not a multiple of four
identifier=ident)
^
./master/buildbot/process/users/manual.py:162:56: E121 continuation line indentation is not a multiple of four
uid=uid,
^
./master/buildbot/process/users/manual.py:163:56: E121 continuation line indentation is not a multiple of four
identifier=ident,
^
./master/buildbot/process/users/manual.py:164:56: E121 continuation line indentation is not a multiple of four
bb_username=bb_username,
^
./master/buildbot/process/users/manual.py:165:56: E121 continuation line indentation is not a multiple of four
bb_password=bb_password)
^
./master/buildbot/process/users/manual.py:177:55: E121 continuation line indentation is not a multiple of four
uid=uid,
^
./master/buildbot/process/users/manual.py:178:55: E121 continuation line indentation is not a multiple of four
identifier=ident,
^
./master/buildbot/process/users/manual.py:179:55: E121 continuation line indentation is not a multiple of four
bb_username=bb_username,
^
./master/buildbot/process/users/manual.py:180:55: E121 continuation line indentation is not a multiple of four
bb_password=bb_password,
^
./master/buildbot/process/users/manual.py:181:55: E121 continuation line indentation is not a multiple of four
attr_type=attr,
^
./master/buildbot/process/users/manual.py:182:55: E121 continuation line indentation is not a multiple of four
attr_data=user[attr])
^
./master/buildbot/process/users/manual.py:188:55: E121 continuation line indentation is not a multiple of four
identifier=ident,
^
./master/buildbot/process/users/manual.py:189:55: E121 continuation line indentation is not a multiple of four
attr_type=attr,
^
./master/buildbot/process/users/manual.py:190:55: E121 continuation line indentation is not a multiple of four
attr_data=user[attr])
^
./master/buildbot/process/users/manual.py:201:1: E302 expected 2 blank lines, found 1
class CommandlineUserManager(UsersBase):
^
./master/buildbot/process/users/manual.py:209:80: E501 line too long (82 > 79 characters)
assert username and passwd, ("A username and password pair must be given "
^
./master/buildbot/process/users/manual.py:221:9: E301 expected 1 blank line, found 0
def factory(mind, username):
^
./master/buildbot/process/users/manual.py:230:9: E301 expected 1 blank line, found 0
def unreg(_):
^
./master/buildbot/process/users/users.py:32:1: E302 expected 2 blank lines, found 1
def createUserObject(master, author, src=None):
^
./master/buildbot/process/users/users.py:59:13: E126 continuation line over-indented for hanging indent
identifier=usdict['identifier'],
^
./master/buildbot/process/users/users.py:60:13: E126 continuation line over-indented for hanging indent
attr_type=usdict['attr_type'],
^
./master/buildbot/process/users/users.py:61:13: E126 continuation line over-indented for hanging indent
attr_data=usdict['attr_data'])
^
./master/buildbot/process/users/users.py:73:80: E501 line too long (82 > 79 characters)
log.msg(format="Unable to find any of %(contact_types)r for uid: %(uid)r",
^
./master/buildbot/process/users/users.py:77:1: E302 expected 2 blank lines, found 1
def getUserContact(master, contact_types, uid):
^
./master/buildbot/process/users/users.py:99:1: E302 expected 2 blank lines, found 1
def _filter(contacts):
^
./master/buildbot/process/users/users.py:104:1: E302 expected 2 blank lines, found 1
def getUsersContacts(master, contact_types, uids):
^
./master/buildbot/process/users/users.py:105:80: E501 line too long (89 > 79 characters)
d = defer.gatherResults([getUserContact(master, contact_types, uid) for uid in uids])
^
./master/buildbot/process/users/users.py:109:1: E302 expected 2 blank lines, found 1
def getChangeContacts(master, change, contact_types):
^
./master/buildbot/process/users/users.py:114:1: E302 expected 2 blank lines, found 1
def getSourceStampContacts(master, ss, contact_types):
^
./master/buildbot/process/users/users.py:115:80: E501 line too long (84 > 79 characters)
dl = [getChangeContacts(master, change, contact_types) for change in ss.changes]
^
./master/buildbot/process/users/users.py:125:1: E302 expected 2 blank lines, found 1
def getBuildContacts(master, build, contact_types):
^
./master/buildbot/process/users/users.py:132:5: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/process/users/users.py:145:1: E302 expected 2 blank lines, found 1
def encrypt(passwd):
^
./master/buildbot/process/users/users.py:165:1: E302 expected 2 blank lines, found 1
def check_passwd(guess, passwd):
^
./master/buildbot/db/base.py:16:1: E302 expected 2 blank lines, found 1
class DBConnectorComponent(object):
^
./master/buildbot/db/base.py:35:5: E301 expected 1 blank line, found 0
def check_length(self, col, value):
^
./master/buildbot/db/base.py:47:54: E203 whitespace before ':'
self.check_length = lambda col, value : None
^
./master/buildbot/db/base.py:54:21: E126 continuation line over-indented for hanging indent
% (col, col.type.length, value))
^
./master/buildbot/db/base.py:67:17: E128 continuation line under-indented for visual indent
lambda key : meth(component, key))
^
./master/buildbot/db/base.py:67:27: E203 whitespace before ':'
lambda key : meth(component, key))
^
./master/buildbot/db/base.py:68:9: E301 expected 1 blank line, found 0
def wrap(key, no_cache=0):
^
./master/buildbot/db/base.py:78:1: E302 expected 2 blank lines, found 1
def cached(cache_name):
^
./master/buildbot/db/base.py:79:25: E203 whitespace before ':'
return lambda method : CachedMethod(cache_name, method)
^
./master/buildbot/db/buildrequests.py:23:1: E302 expected 2 blank lines, found 1
class AlreadyClaimedError(Exception):
^
./master/buildbot/db/buildrequests.py:26:1: E302 expected 2 blank lines, found 1
class NotClaimedError(Exception):
^
./master/buildbot/db/buildrequests.py:29:1: E302 expected 2 blank lines, found 1
class BrDict(dict):
^
./master/buildbot/db/buildrequests.py:34:1: E302 expected 2 blank lines, found 1
def with_master_objectid(fn):
^
./master/buildbot/db/buildrequests.py:37:45: E203 whitespace before ':'
d.addCallback(lambda master_objectid :
^
./master/buildbot/db/buildrequests.py:38:17: E128 continuation line under-indented for visual indent
fn(self, _master_objectid=master_objectid, *args, **kwargs))
^
./master/buildbot/db/buildrequests.py:44:1: E302 expected 2 blank lines, found 1
class BuildRequestsConnectorComponent(base.DBConnectorComponent):
^
./master/buildbot/db/buildrequests.py:54:73: E202 whitespace before ']'
(reqs_tbl.c.id == claims_tbl.c.brid)) ],
^
./master/buildbot/db/buildrequests.py:67:13: E128 continuation line under-indented for visual indent
bsid=None, _master_objectid=None, branch=None, repository=None):
^
./master/buildbot/db/buildrequests.py:75:80: E501 line too long (80 > 79 characters)
reqs_tbl.c.id == claims_tbl.c.brid)
^
./master/buildbot/db/buildrequests.py:78:15: E111 indentation is not a multiple of four
from_clause = from_clause.join(bsets_tbl,
^
./master/buildbot/db/buildrequests.py:81:15: E111 indentation is not a multiple of four
from_clause = from_clause.join(sstamps_tbls,
^
./master/buildbot/db/buildrequests.py:85:28: E201 whitespace after '['
q = sa.select([ reqs_tbl, claims_tbl ]).select_from(from_clause)
^
./master/buildbot/db/buildrequests.py:85:49: E202 whitespace before ']'
q = sa.select([ reqs_tbl, claims_tbl ]).select_from(from_clause)
^
./master/buildbot/db/buildrequests.py:89:50: E711 comparison to None should be 'if cond is None:'
(claims_tbl.c.claimed_at == None) &
^
./master/buildbot/db/buildrequests.py:96:50: E711 comparison to None should be 'if cond is not None:'
(claims_tbl.c.claimed_at != None))
^
./master/buildbot/db/buildrequests.py:108:15: E111 indentation is not a multiple of four
q = q.where(sstamps_tbls.c.branch == branch)
^
./master/buildbot/db/buildrequests.py:110:15: E111 indentation is not a multiple of four
q = q.where(sstamps_tbls.c.repository == repository)
^
./master/buildbot/db/buildrequests.py:114:21: E201 whitespace after '['
return [ self._brdictFromRow(row, _master_objectid)
^
./master/buildbot/db/buildrequests.py:115:47: E202 whitespace before ']'
for row in res.fetchall() ]
^
./master/buildbot/db/buildrequests.py:120:29: E127 continuation line over-indented for visual indent
_master_objectid=None):
^
./master/buildbot/db/buildrequests.py:132:34: E201 whitespace after '['
conn.execute(q, [ dict(brid=id, objectid=_master_objectid,
^
./master/buildbot/db/buildrequests.py:133:37: E128 continuation line under-indented for visual indent
claimed_at=claimed_at)
^
./master/buildbot/db/buildrequests.py:134:50: E202 whitespace before ']'
for id in brids ])
^
./master/buildbot/db/buildrequests.py:145:29: E128 continuation line under-indented for visual indent
_master_objectid=None):
^
./master/buildbot/db/buildrequests.py:158:26: E261 at least two spaces before inline comment
break # success!
^
./master/buildbot/db/buildrequests.py:161:33: E127 continuation line over-indented for visual indent
& (tbl.c.objectid==_master_objectid))
^
./master/buildbot/db/buildrequests.py:161:50: E225 missing whitespace around operator
& (tbl.c.objectid==_master_objectid))
^
./master/buildbot/db/buildrequests.py:186:26: E261 at least two spaces before inline comment
break # success!
^
./master/buildbot/db/buildrequests.py:190:29: E126 continuation line over-indented for hanging indent
(claims_tbl.c.brid.in_(batch))
^
./master/buildbot/db/buildrequests.py:191:29: E126 continuation line over-indented for hanging indent
& (claims_tbl.c.objectid == _master_objectid))
^
./master/buildbot/db/buildrequests.py:202:29: E128 continuation line under-indented for visual indent
_reactor=reactor, _master_objectid=None):
^
./master/buildbot/db/buildrequests.py:225:26: E261 at least two spaces before inline comment
break # success!
^
./master/buildbot/db/buildrequests.py:231:21: E128 continuation line under-indented for visual indent
complete=1,
^
./master/buildbot/db/buildrequests.py:232:21: E128 continuation line under-indented for visual indent
results=results,
^
./master/buildbot/db/buildrequests.py:233:21: E128 continuation line under-indented for visual indent
complete_at=complete_at)
^
./master/buildbot/db/buildrequests.py:238:25: E128 continuation line under-indented for visual indent
"but only completed %d" % (len(batch), res.rowcount))
^
./master/buildbot/db/buildrequests.py:251:40: E201 whitespace after '['
expired_brids = sa.select([ reqs_tbl.c.id ],
^
./master/buildbot/db/buildrequests.py:251:54: E202 whitespace before ']'
expired_brids = sa.select([ reqs_tbl.c.id ],
^
./master/buildbot/db/buildrequests.py:252:25: E128 continuation line under-indented for visual indent
whereclause=(reqs_tbl.c.complete != 1))
^
./master/buildbot/db/buildrequests.py:254:25: E126 continuation line over-indented for hanging indent
(claims_tbl.c.claimed_at < old_epoch) &
^
./master/buildbot/db/buildrequests.py:255:25: E126 continuation line over-indented for hanging indent
claims_tbl.c.brid.in_(expired_brids)))
^
./master/buildbot/db/buildrequests.py:258:9: E301 expected 1 blank line, found 0
def log_nonzero_count(count):
^
./master/buildbot/db/buildrequests.py:281:17: E128 continuation line under-indented for visual indent
buildername=row.buildername, priority=row.priority,
^
./master/buildbot/db/buildrequests.py:282:17: E128 continuation line under-indented for visual indent
claimed=claimed, claimed_at=claimed_at, mine=mine,
^
./master/buildbot/db/buildrequests.py:283:17: E128 continuation line under-indented for visual indent
complete=bool(row.complete), results=row.results,
^
./master/buildbot/db/buildrequests.py:284:17: E128 continuation line under-indented for visual indent
submitted_at=submitted_at, complete_at=complete_at)
^
./master/buildbot/db/builds.py:20:1: E302 expected 2 blank lines, found 1
class BuildsConnectorComponent(base.DBConnectorComponent):
^
./master/buildbot/db/builds.py:41:21: E201 whitespace after '['
return [ self._bdictFromRow(row) for row in res.fetchall() ]
^
./master/buildbot/db/builds.py:41:71: E202 whitespace before ']'
return [ self._bdictFromRow(row) for row in res.fetchall() ]
^
./master/buildbot/db/builds.py:48:21: E128 continuation line under-indented for visual indent
dict(number=number, brid=brid, start_time=start_time,
^
./master/buildbot/db/builds.py:49:25: E128 continuation line under-indented for visual indent
finish_time=None))
^
./master/buildbot/db/buildsets.py:26:1: E302 expected 2 blank lines, found 1
class BsDict(dict):
^
./master/buildbot/db/buildsets.py:29:1: E302 expected 2 blank lines, found 1
class BuildsetsConnectorComponent(base.DBConnectorComponent):
^
./master/buildbot/db/buildsets.py:33:20: E128 continuation line under-indented for visual indent
external_idstring=None, _reactor=reactor):
^
./master/buildbot/db/buildsets.py:40:21: E128 continuation line under-indented for visual indent
external_idstring)
^
./master/buildbot/db/buildsets.py:57:54: E231 missing whitespace after ','
property_value=json.dumps([v,s]))
^
./master/buildbot/db/buildsets.py:58:26: E231 missing whitespace after ','
for k,(v,s) in properties.iteritems() ]
^
./master/buildbot/db/buildsets.py:58:29: E231 missing whitespace after ','
for k,(v,s) in properties.iteritems() ]
^
./master/buildbot/db/buildsets.py:58:58: E202 whitespace before ']'
for k,(v,s) in properties.iteritems() ]
^
./master/buildbot/db/buildsets.py:75:21: E128 continuation line under-indented for visual indent
dict(buildsetid=bsid, buildername=buildername, priority=0,
^
./master/buildbot/db/buildsets.py:76:25: E128 continuation line under-indented for visual indent
claimed_at=0, claimed_by_name=None,
^
./master/buildbot/db/buildsets.py:77:25: E128 continuation line under-indented for visual indent
claimed_by_incarnation=None, complete=0, results=-1,
^
./master/buildbot/db/buildsets.py:78:25: E128 continuation line under-indented for visual indent
submitted_at=submitted_at, complete_at=None))
^
./master/buildbot/db/buildsets.py:88:33: E127 continuation line over-indented for visual indent
_reactor=reactor):
^
./master/buildbot/db/buildsets.py:99:34: E711 comparison to None should be 'if cond is None:'
((tbl.c.complete == None) | (tbl.c.complete != 1))))
^
./master/buildbot/db/buildsets.py:101:17: E128 continuation line under-indented for visual indent
complete=1,
^
./master/buildbot/db/buildsets.py:102:17: E128 continuation line under-indented for visual indent
results=results,
^
./master/buildbot/db/buildsets.py:103:17: E128 continuation line under-indented for visual indent
complete_at=complete_at)
^
./master/buildbot/db/buildsets.py:129:52: E711 comparison to None should be 'if cond is None:'
(bs_tbl.c.complete == None))
^
./master/buildbot/db/buildsets.py:131:21: E201 whitespace after '['
return [ self._row2dict(row) for row in res.fetchall() ]
^
./master/buildbot/db/buildsets.py:131:67: E202 whitespace before ']'
return [ self._row2dict(row) for row in res.fetchall() ]
^
./master/buildbot/db/buildsets.py:140:32: E127 continuation line over-indented for visual indent
self.db.model.sourcestampsets)
^
./master/buildbot/db/buildsets.py:143:42: E127 continuation line over-indented for visual indent
distinct=True)
^
./master/buildbot/db/buildsets.py:152:52: E711 comparison to None should be 'if cond is None:'
(bs_tbl.c.complete == None))
^
./master/buildbot/db/buildsets.py:154:15: E111 indentation is not a multiple of four
q = q.where(ss_tbl.c.branch == branch)
^
./master/buildbot/db/buildsets.py:156:15: E111 indentation is not a multiple of four
q = q.where(ss_tbl.c.repository == repository)
^
./master/buildbot/db/buildsets.py:158:35: E201 whitespace after '['
return list(reversed([ self._row2dict(row)
^
./master/buildbot/db/buildsets.py:159:35: E128 continuation line under-indented for visual indent
for row in res.fetchall() ]))
^
./master/buildbot/db/buildsets.py:159:60: E202 whitespace before ']'
for row in res.fetchall() ]))
^
./master/buildbot/db/buildsets.py:178:18: E201 whitespace after '['
[ bsp_tbl.c.property_name, bsp_tbl.c.property_value ],
^
./master/buildbot/db/buildsets.py:178:68: E202 whitespace before ']'
[ bsp_tbl.c.property_name, bsp_tbl.c.property_value ],
^
./master/buildbot/db/buildsets.py:185:28: E128 continuation line under-indented for visual indent
tuple(properties)))
^
./master/buildbot/db/buildsets.py:196:17: E128 continuation line under-indented for visual indent
reason=row.reason, sourcestampsetid=row.sourcestampsetid,
^
./master/buildbot/db/buildsets.py:197:17: E128 continuation line under-indented for visual indent
submitted_at=mkdt(row.submitted_at),
^
./master/buildbot/db/buildsets.py:198:17: E128 continuation line under-indented for visual indent
complete=bool(row.complete),
^
./master/buildbot/db/buildsets.py:199:17: E128 continuation line under-indented for visual indent
complete_at=mkdt(row.complete_at), results=row.results,
^
./master/buildbot/db/buildsets.py:200:17: E128 continuation line under-indented for visual indent
bsid=row.id)
^
./master/buildbot/db/buildslaves.py:19:1: E302 expected 2 blank lines, found 1
class BuildslavesConnectorComponent(base.DBConnectorComponent):
^
./master/buildbot/db/buildslaves.py:31:43: W291 trailing whitespace
'slaveid': row.id,
^
./master/buildbot/db/buildslaves.py:68:29: E128 continuation line under-indented for visual indent
name=name,
^
./master/buildbot/db/buildslaves.py:69:29: E128 continuation line under-indented for visual indent
info=slaveinfo)
^
./master/buildbot/db/buildslaves.py:81:31: W291 trailing whitespace
'slaveid': row.id,
^
./master/buildbot/db/changes.py:26:1: E302 expected 2 blank lines, found 1
class ChDict(dict):
^
./master/buildbot/db/changes.py:29:1: E302 expected 2 blank lines, found 1
class ChangesConnectorComponent(base.DBConnectorComponent):
^
./master/buildbot/db/changes.py:33:13: E128 continuation line under-indented for visual indent
revision=None, when_timestamp=None, branch=None,
^
./master/buildbot/db/changes.py:34:13: E128 continuation line under-indented for visual indent
category=None, revlink='', properties={}, repository='', codebase='',
^
./master/buildbot/db/changes.py:34:80: E501 line too long (81 > 79 characters)
category=None, revlink='', properties={}, repository='', codebase='',
^
./master/buildbot/db/changes.py:35:13: E128 continuation line under-indented for visual indent
project='', uid=None, _reactor=reactor):
^
./master/buildbot/db/changes.py:85:25: E126 continuation line over-indented for hanging indent
for f in files
^
./master/buildbot/db/changes.py:91:25: E128 continuation line under-indented for visual indent
property_name=k,
^
./master/buildbot/db/changes.py:92:25: E128 continuation line under-indented for visual indent
property_value=json.dumps(v))
^
./master/buildbot/db/changes.py:93:26: E231 missing whitespace after ','
for k,v in properties.iteritems()
^
./master/buildbot/db/changes.py:97:29: E128 continuation line under-indented for visual indent
i['property_name'])
^
./master/buildbot/db/changes.py:99:29: E128 continuation line under-indented for visual indent
i['property_value'])
^
./master/buildbot/db/changes.py:115:9: E301 expected 1 blank line, found 0
def thd(conn):
^
./master/buildbot/db/changes.py:118:80: E501 line too long (84 > 79 characters)
q = changes_tbl.select(whereclause=(changes_tbl.c.changeid == changeid))
^
./master/buildbot/db/changes.py:130:9: E301 expected 1 blank line, found 0
def thd(conn):
^
./master/buildbot/db/changes.py:135:25: E201 whitespace after '['
row_uids = [ row.uid for row in rows ]
^
./master/buildbot/db/changes.py:135:49: E202 whitespace before ']'
row_uids = [ row.uid for row in rows ]
^
./master/buildbot/db/changes.py:145:21: E128 continuation line under-indented for visual indent
order_by=[sa.desc(changes_tbl.c.changeid)],
^
./master/buildbot/db/changes.py:146:21: E128 continuation line under-indented for visual indent
limit=count)
^
./master/buildbot/db/changes.py:148:26: E201 whitespace after '['
changeids = [ row.changeid for row in rp ]
^
./master/buildbot/db/changes.py:148:53: E202 whitespace before ']'
changeids = [ row.changeid for row in rp ]
^
./master/buildbot/db/changes.py:155:41: E201 whitespace after '['
return defer.gatherResults([ self.getChange(changeid)
^
./master/buildbot/db/changes.py:156:67: E202 whitespace before ']'
for changeid in changeids ])
^
./master/buildbot/db/changes.py:163:28: E201 whitespace after '['
q = sa.select([ changes_tbl.c.changeid ],
^
./master/buildbot/db/changes.py:163:51: E202 whitespace before ']'
q = sa.select([ changes_tbl.c.changeid ],
^
./master/buildbot/db/changes.py:164:21: E128 continuation line under-indented for visual indent
order_by=sa.desc(changes_tbl.c.changeid),
^
./master/buildbot/db/changes.py:165:21: E128 continuation line under-indented for visual indent
limit=1)
^
./master/buildbot/db/changes.py:180:9: E301 expected 1 blank line, found 0
def thd(conn):
^
./master/buildbot/db/changes.py:192:30: E201 whitespace after '['
ids_to_delete = [ r.changeid for r in res ]
^
./master/buildbot/db/changes.py:192:54: E202 whitespace before ']'
ids_to_delete = [ r.changeid for r in res ]
^
./master/buildbot/db/changes.py:213:17: E126 continuation line over-indented for hanging indent
changeid=ch_row.changeid,
^
./master/buildbot/db/changes.py:214:17: E126 continuation line over-indented for hanging indent
author=ch_row.author,
^
./master/buildbot/db/changes.py:215:17: E126 continuation line over-indented for hanging indent
files=[], # see below
^
./master/buildbot/db/changes.py:215:26: E261 at least two spaces before inline comment
files=[], # see below
^
./master/buildbot/db/changes.py:216:17: E126 continuation line over-indented for hanging indent
comments=ch_row.comments,
^
./master/buildbot/db/changes.py:217:17: E126 continuation line over-indented for hanging indent
is_dir=ch_row.is_dir,
^
./master/buildbot/db/changes.py:218:17: E126 continuation line over-indented for hanging indent
revision=ch_row.revision,
^
./master/buildbot/db/changes.py:219:17: E126 continuation line over-indented for hanging indent
when_timestamp=epoch2datetime(ch_row.when_timestamp),
^
./master/buildbot/db/changes.py:220:17: E126 continuation line over-indented for hanging indent
branch=ch_row.branch,
^
./master/buildbot/db/changes.py:221:17: E126 continuation line over-indented for hanging indent
category=ch_row.category,
^
./master/buildbot/db/changes.py:222:17: E126 continuation line over-indented for hanging indent
revlink=ch_row.revlink,
^
./master/buildbot/db/changes.py:223:17: E126 continuation line over-indented for hanging indent
properties={}, # see below
^
./master/buildbot/db/changes.py:223:31: E261 at least two spaces before inline comment
properties={}, # see below
^
./master/buildbot/db/changes.py:224:17: E126 continuation line over-indented for hanging indent
repository=ch_row.repository,
^
./master/buildbot/db/changes.py:225:17: E126 continuation line over-indented for hanging indent
codebase=ch_row.codebase,
^
./master/buildbot/db/changes.py:226:17: E126 continuation line over-indented for hanging indent
project=ch_row.project)
^
./master/buildbot/db/changes.py:229:17: E126 continuation line over-indented for hanging indent
whereclause=(change_files_tbl.c.changeid == ch_row.changeid))
^
./master/buildbot/db/changes.py:239:18: E231 missing whitespace after ','
v,s = vs
^
./master/buildbot/db/changes.py:241:22: E231 missing whitespace after ','
v,s = vs, "Change"
^
./master/buildbot/db/changes.py:243:18: E231 missing whitespace after ','
v,s = vs, "Change"
^
./master/buildbot/db/changes.py:247:17: E126 continuation line over-indented for hanging indent
whereclause=(change_properties_tbl.c.changeid == ch_row.changeid))
^
./master/buildbot/db/changes.py:247:80: E501 line too long (82 > 79 characters)
whereclause=(change_properties_tbl.c.changeid == ch_row.changeid))
^
./master/buildbot/db/changes.py:252:59: E231 missing whitespace after ','
chdict['properties'][r.property_name] = (v,s)
^
./master/buildbot/db/connector.py:22:80: E501 line too long (87 > 79 characters)
from buildbot.db import pool, model, changes, schedulers, sourcestamps, sourcestampsets
^
./master/buildbot/db/connector.py:23:80: E501 line too long (83 > 79 characters)
from buildbot.db import state, buildsets, buildrequests, builds, buildslaves, users
^
./master/buildbot/db/connector.py:25:1: E302 expected 2 blank lines, found 1
class DatabaseNotReadyError(Exception):
^
./master/buildbot/db/connector.py:39:1: E302 expected 2 blank lines, found 1
class DBConnector(config.ReconfigurableServiceMixin, service.MultiService):
^
./master/buildbot/db/connector.py:62:28: E261 at least two spaces before inline comment
self._engine = None # set up in reconfigService
^
./master/buildbot/db/connector.py:63:25: E261 at least two spaces before inline comment
self.pool = None # set up in reconfigService
^
./master/buildbot/db/connector.py:68:80: E501 line too long (86 > 79 characters)
self.sourcestampsets = sourcestampsets.SourceStampSetsConnectorComponent(self)
^
./master/buildbot/db/connector.py:70:80: E501 line too long (80 > 79 characters)
self.buildrequests = buildrequests.BuildRequestsConnectorComponent(self)
^
./master/buildbot/db/connector.py:77:17: E128 continuation line under-indented for visual indent
self._doCleanup)
^
./master/buildbot/db/connector.py:81:5: E303 too many blank lines (2)
def setup(self, check_version=True, verbose=True):
^
./master/buildbot/db/connector.py:88:33: E128 continuation line under-indented for visual indent
basedir=self.basedir)
^
./master/buildbot/db/connector.py:94:13: E301 expected 1 blank line, found 0
def check_current(res):
^
./master/buildbot/db/connector.py:106:5: E303 too many blank lines (2)
def reconfigService(self, new_config):
^
./master/buildbot/db/connector.py:111:61: E128 continuation line under-indented for visual indent
new_config)
^
./master/buildbot/db/connector.py:114:5: E303 too many blank lines (2)
def _doCleanup(self):
^
./master/buildbot/db/enginestrategy.py:34:1: E302 expected 2 blank lines, found 1
class ReconnectingListener(object):
^
./master/buildbot/db/enginestrategy.py:38:1: E302 expected 2 blank lines, found 1
class BuildbotEngineStrategy(strategies.ThreadLocalEngineStrategy):
^
./master/buildbot/db/enginestrategy.py:41:6: W291 trailing whitespace
#
^
./master/buildbot/db/enginestrategy.py:64:51: E251 unexpected spaces around keyword / parameter equals
u.database = u.database % dict(basedir = kwargs['basedir'])
^
./master/buildbot/db/enginestrategy.py:64:53: E251 unexpected spaces around keyword / parameter equals
u.database = u.database % dict(basedir = kwargs['basedir'])
^
./master/buildbot/db/enginestrategy.py:87:41: E231 missing whitespace after ','
if sautils.sa_version() < (0,7,0):
^
./master/buildbot/db/enginestrategy.py:87:43: E231 missing whitespace after ','
if sautils.sa_version() < (0,7,0):
^
./master/buildbot/db/enginestrategy.py:113:27: E203 whitespace before ':'
'init_command' : 'SET storage_engine=%s' % storage_engine,
^
./master/buildbot/db/enginestrategy.py:119:34: E127 continuation line over-indented for visual indent
"(and adds it automatically)")
^
./master/buildbot/db/enginestrategy.py:126:34: E127 continuation line over-indented for visual indent
"(and adds it automatically)")
^
./master/buildbot/db/enginestrategy.py:151:37: E231 missing whitespace after ','
if sautils.sa_version() < (0,7,0):
^
./master/buildbot/db/enginestrategy.py:151:39: E231 missing whitespace after ','
if sautils.sa_version() < (0,7,0):
^
./master/buildbot/db/enginestrategy.py:179:80: E501 line too long (83 > 79 characters)
max_conns = kwargs.get('pool_size', 5) + kwargs.get('max_overflow', 10)
^
./master/buildbot/db/enginestrategy.py:182:45: E128 continuation line under-indented for visual indent
u, **kwargs)
^
./master/buildbot/db/enginestrategy.py:203:1: E302 expected 2 blank lines, found 1
def create_engine(*args, **kwargs):
^
./master/buildbot/db/exceptions.py:16:1: E302 expected 2 blank lines, found 1
class DatabaseNotReadyError(Exception):
^
./master/buildbot/db/model.py:30:1: E302 expected 2 blank lines, found 1
class Model(base.DBConnectorComponent):
^
./master/buildbot/db/model.py:56:9: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, primary_key=True),
^
./master/buildbot/db/model.py:58:13: E128 continuation line under-indented for visual indent
nullable=False),
^
./master/buildbot/db/model.py:61:13: E128 continuation line under-indented for visual indent
server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/model.py:65:13: E128 continuation line under-indented for visual indent
server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/model.py:81:9: E128 continuation line under-indented for visual indent
sa.Column('brid', sa.Integer, sa.ForeignKey('buildrequests.id'),
^
./master/buildbot/db/model.py:82:13: E128 continuation line under-indented for visual indent
index=True, unique=True),
^
./master/buildbot/db/model.py:84:13: E128 continuation line under-indented for visual indent
index=True, nullable=True),
^
./master/buildbot/db/model.py:93:9: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, primary_key=True),
^
./master/buildbot/db/model.py:96:13: E128 continuation line under-indented for visual indent
nullable=False),
^
./master/buildbot/db/model.py:105:9: E128 continuation line under-indented for visual indent
sa.Column('buildsetid', sa.Integer, sa.ForeignKey('buildsets.id'),
^
./master/buildbot/db/model.py:106:13: E128 continuation line under-indented for visual indent
nullable=False),
^
./master/buildbot/db/model.py:115:9: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, primary_key=True),
^
./master/buildbot/db/model.py:127:13: E128 continuation line under-indented for visual indent
server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/model.py:136:13: E128 continuation line under-indented for visual indent
sa.ForeignKey('sourcestampsets.id')),
^
./master/buildbot/db/model.py:141:9: E128 continuation line under-indented for visual indent
sa.Column("id", sa.Integer, primary_key=True),
^
./master/buildbot/db/model.py:150:9: E128 continuation line under-indented for visual indent
sa.Column('changeid', sa.Integer, sa.ForeignKey('changes.changeid'),
^
./master/buildbot/db/model.py:151:13: E128 continuation line under-indented for visual indent
nullable=False),
^
./master/buildbot/db/model.py:157:9: E128 continuation line under-indented for visual indent
sa.Column('changeid', sa.Integer, sa.ForeignKey('changes.changeid'),
^
./master/buildbot/db/model.py:158:13: E128 continuation line under-indented for visual indent
nullable=False),
^
./master/buildbot/db/model.py:168:9: E128 continuation line under-indented for visual indent
sa.Column("changeid", sa.Integer, sa.ForeignKey('changes.changeid'),
^
./master/buildbot/db/model.py:169:13: E128 continuation line under-indented for visual indent
nullable=False),
^
./master/buildbot/db/model.py:172:13: E128 continuation line under-indented for visual indent
nullable=False)
^
./master/buildbot/db/model.py:177:9: E128 continuation line under-indented for visual indent
# changeid also serves as 'change number'
^
./master/buildbot/db/model.py:187:62: E261 at least two spaces before inline comment
sa.Column('is_dir', sa.SmallInteger, nullable=False), # old, for CVS
^
./master/buildbot/db/model.py:194:47: E261 at least two spaces before inline comment
sa.Column('revision', sa.String(256)), # CVS uses NULL
^
./master/buildbot/db/model.py:209:13: E128 continuation line under-indented for visual indent
server_default=''),
^
./master/buildbot/db/model.py:213:13: E128 continuation line under-indented for visual indent
server_default=sa.DefaultClause("")),
^
./master/buildbot/db/model.py:218:13: E128 continuation line under-indented for visual indent
server_default=''),
^
./master/buildbot/db/model.py:225:9: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, primary_key=True),
^
./master/buildbot/db/model.py:245:9: E128 continuation line under-indented for visual indent
sa.Column('sourcestampid', sa.Integer,
^
./master/buildbot/db/model.py:246:13: E128 continuation line under-indented for visual indent
sa.ForeignKey('sourcestamps.id'), nullable=False),
^
./master/buildbot/db/model.py:248:13: E128 continuation line under-indented for visual indent
nullable=False),
^
./master/buildbot/db/model.py:254:9: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, primary_key=True),
^
./master/buildbot/db/model.py:262:9: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, primary_key=True),
^
./master/buildbot/db/model.py:276:13: E128 continuation line under-indented for visual indent
server_default=''),
^
./master/buildbot/db/model.py:280:13: E128 continuation line under-indented for visual indent
server_default=sa.DefaultClause("")),
^
./master/buildbot/db/model.py:284:13: E128 continuation line under-indented for visual indent
server_default=''),
^
./master/buildbot/db/model.py:288:13: E128 continuation line under-indented for visual indent
sa.ForeignKey('sourcestampsets.id')),
^
./master/buildbot/db/model.py:299:9: E128 continuation line under-indented for visual indent
sa.Column('objectid', sa.Integer, sa.ForeignKey('objects.id')),
^
./master/buildbot/db/model.py:310:9: E128 continuation line under-indented for visual indent
# unique ID for this object
^
./master/buildbot/db/model.py:321:9: E128 continuation line under-indented for visual indent
# object for which this value is set
^
./master/buildbot/db/model.py:323:13: E128 continuation line under-indented for visual indent
nullable=False),
^
./master/buildbot/db/model.py:335:9: E128 continuation line under-indented for visual indent
# unique user id number
^
./master/buildbot/db/model.py:351:9: E128 continuation line under-indented for visual indent
# unique user id number
^
./master/buildbot/db/model.py:365:5: E303 too many blank lines (2)
sa.Index('buildrequests_buildsetid', buildrequests.c.buildsetid)
^
./master/buildbot/db/model.py:373:13: E128 continuation line under-indented for visual indent
buildset_properties.c.buildsetid)
^
./master/buildbot/db/model.py:385:13: E128 continuation line under-indented for visual indent
scheduler_changes.c.changeid, unique=True)
^
./master/buildbot/db/model.py:387:13: E128 continuation line under-indented for visual indent
sourcestamp_changes.c.sourcestampid)
^
./master/buildbot/db/model.py:389:13: E128 continuation line under-indented for visual indent
unique=False)
^
./master/buildbot/db/model.py:393:13: E128 continuation line under-indented for visual indent
users_info.c.attr_type, unique=True)
^
./master/buildbot/db/model.py:395:13: E128 continuation line under-indented for visual indent
users_info.c.attr_data, unique=True)
^
./master/buildbot/db/model.py:399:13: E128 continuation line under-indented for visual indent
unique=True)
^
./master/buildbot/db/model.py:401:13: E128 continuation line under-indented for visual indent
unique=True)
^
./master/buildbot/db/model.py:408:25: W291 trailing whitespace
('change_users',
^
./master/buildbot/db/model.py:416:32: E127 continuation line over-indented for visual indent
name='buildsets_sourcestampsetid_fkey')),
^
./master/buildbot/db/model.py:440:65: E128 continuation line under-indented for visual indent
self.repo_path)
^
./master/buildbot/db/model.py:470:21: E128 continuation line under-indented for visual indent
self.repo_path)
^
./master/buildbot/db/model.py:493:32: E231 missing whitespace after ','
if version_tup < (0,6,1):
^
./master/buildbot/db/model.py:493:34: E231 missing whitespace after ','
if version_tup < (0,6,1):
^
./master/buildbot/db/model.py:495:21: E128 continuation line under-indented for visual indent
"The minimum version is 0.6.1." % (version,))
^
./master/buildbot/db/model.py:499:21: E128 continuation line under-indented for visual indent
self.repo_path, version)
^
./master/buildbot/db/model.py:547:20: E231 missing whitespace after ','
except (ImportError,AttributeError):
^
./master/buildbot/db/pool.py:34:1: E302 expected 2 blank lines, found 1
def timed_do_fn(f):
^
./master/buildbot/db/pool.py:81:1: E302 expected 2 blank lines, found 1
class DBThreadPool(threadpool.ThreadPool):
^
./master/buildbot/db/pool.py:112:25: E128 continuation line under-indented for visual indent
minthreads=1,
^
./master/buildbot/db/pool.py:113:25: E128 continuation line under-indented for visual indent
maxthreads=pool_size,
^
./master/buildbot/db/pool.py:114:25: E128 continuation line under-indented for visual indent
name='DBThreadPool')
^
./master/buildbot/db/pool.py:118:25: E231 missing whitespace after ','
if vers < (3,7):
^
./master/buildbot/db/pool.py:123:29: E231 missing whitespace after ','
if vers < (3,4):
^
./master/buildbot/db/pool.py:144:21: E126 continuation line over-indented for hanging indent
'during', 'shutdown', self._stop)
^
./master/buildbot/db/pool.py:158:19: E261 at least two spaces before inline comment
return # pool is already stopped
^
./master/buildbot/db/pool.py:168:40: E261 at least two spaces before inline comment
MAX_OPERATIONALERROR_TIME = 3600*24 # one day
^
./master/buildbot/db/pool.py:169:5: E301 expected 1 blank line, found 0
def __thd(self, with_engine, callable, args, kwargs):
^
./master/buildbot/db/pool.py:181:37: E261 at least two spaces before inline comment
if self.__broken_sqlite: # see bug #1810
^
./master/buildbot/db/pool.py:187:29: E127 continuation line over-indented for visual indent
"do not return ResultProxy objects!"
^
./master/buildbot/db/pool.py:193:25: E125 continuation line does not distinguish itself from next logical line
or "database is locked" in text:
^
./master/buildbot/db/pool.py:201:33: E126 continuation line over-indented for hanging indent
"DBThreadPool.retry-on-OperationalError")
^
./master/buildbot/db/pool.py:221:17: E128 continuation line under-indented for visual indent
self.__thd, False, callable, args, kwargs)
^
./master/buildbot/db/pool.py:225:17: E128 continuation line under-indented for visual indent
self.__thd, True, callable, args, kwargs)
^
./master/buildbot/db/pool.py:238:9: E301 expected 1 blank line, found 0
def test(select_from_sqlite_master=False):
^
./master/buildbot/db/pool.py:270:21: E261 at least two spaces before inline comment
return False # not broken - no workaround required
^
./master/buildbot/db/schedulers.py:20:1: E302 expected 2 blank lines, found 1
class SchedulersConnectorComponent(base.DBConnectorComponent):
^
./master/buildbot/db/schedulers.py:29:21: E126 continuation line over-indented for hanging indent
((tbl.c.objectid == objectid)
^
./master/buildbot/db/schedulers.py:30:21: E128 continuation line under-indented for visual indent
& (tbl.c.changeid == sa.bindparam('wc_changeid'))))
^
./master/buildbot/db/schedulers.py:37:29: E128 continuation line under-indented for visual indent
objectid=objectid,
^
./master/buildbot/db/schedulers.py:38:29: E128 continuation line under-indented for visual indent
changeid=changeid,
^
./master/buildbot/db/schedulers.py:39:29: E128 continuation line under-indented for visual indent
important=imp_int)
^
./master/buildbot/db/schedulers.py:44:29: E128 continuation line under-indented for visual indent
wc_changeid=changeid,
^
./master/buildbot/db/schedulers.py:45:29: E128 continuation line under-indented for visual indent
important=imp_int)
^
./master/buildbot/db/schedulers.py:60:16: E701 multiple statements on one line (colon)
class Thunk: pass
^
./master/buildbot/db/schedulers.py:61:5: E301 expected 1 blank line, found 0
def getChangeClassifications(self, objectid, branch=Thunk,
^
./master/buildbot/db/schedulers.py:89:18: E201 whitespace after '['
[ sch_ch_tbl.c.changeid, sch_ch_tbl.c.important ],
^
./master/buildbot/db/schedulers.py:89:64: E202 whitespace before ']'
[ sch_ch_tbl.c.changeid, sch_ch_tbl.c.important ],
^
./master/buildbot/db/schedulers.py:91:26: E201 whitespace after '['
return dict([ (r.changeid, [False,True][r.important])
^
./master/buildbot/db/schedulers.py:91:46: E231 missing whitespace after ','
return dict([ (r.changeid, [False,True][r.important])
^
./master/buildbot/db/schedulers.py:92:51: E202 whitespace before ']'
for r in conn.execute(q) ])
^
./master/buildbot/db/sourcestamps.py:22:1: E302 expected 2 blank lines, found 1
class SsDict(dict):
^
./master/buildbot/db/sourcestamps.py:25:1: E302 expected 2 blank lines, found 1
class SsList(list):
^
./master/buildbot/db/sourcestamps.py:28:1: E302 expected 2 blank lines, found 1
class SourceStampsConnectorComponent(base.DBConnectorComponent):
^
./master/buildbot/db/sourcestamps.py:32:27: E127 continuation line over-indented for visual indent
project, sourcestampsetid, codebase='',
^
./master/buildbot/db/sourcestamps.py:33:27: E127 continuation line over-indented for visual indent
patch_body=None, patch_level=0, patch_author="",
^
./master/buildbot/db/sourcestamps.py:34:27: E127 continuation line over-indented for visual indent
patch_comment="", patch_subdir=None, changeids=[]):
^
./master/buildbot/db/sourcestamps.py:72:46: E202 whitespace before ']'
for changeid in changeids ])
^
./master/buildbot/db/sourcestamps.py:82:29: E231 missing whitespace after ','
def getSourceStamps(self,sourcestampsetid):
^
./master/buildbot/db/sourcestamps.py:87:24: E128 continuation line under-indented for visual indent
whereclause=(tbl.c.sourcestampsetid == sourcestampsetid))
^
./master/buildbot/db/sourcestamps.py:87:80: E501 line too long (80 > 79 characters)
whereclause=(tbl.c.sourcestampsetid == sourcestampsetid))
^
./master/buildbot/db/sourcestamps.py:89:25: E201 whitespace after '['
return [ row.id for row in res.fetchall() ]
^
./master/buildbot/db/sourcestamps.py:89:58: E202 whitespace before ']'
return [ row.id for row in res.fetchall() ]
^
./master/buildbot/db/sourcestamps.py:93:15: E225 missing whitespace around operator
sslist=SsList()
^
./master/buildbot/db/sourcestamps.py:108:80: E501 line too long (96 > 79 characters)
ssdict = SsDict(ssid=ssid, branch=row.branch, sourcestampsetid=row.sourcestampsetid,
^
./master/buildbot/db/sourcestamps.py:109:21: E128 continuation line under-indented for visual indent
revision=row.revision, patch_body=None, patch_level=None,
^
./master/buildbot/db/sourcestamps.py:110:21: E128 continuation line under-indented for visual indent
patch_author=None, patch_comment=None, patch_subdir=None,
^
./master/buildbot/db/sourcestamps.py:111:21: E128 continuation line under-indented for visual indent
repository=row.repository, codebase=row.codebase,
^
./master/buildbot/db/sourcestamps.py:112:21: E128 continuation line under-indented for visual indent
project=row.project,
^
./master/buildbot/db/sourcestamps.py:113:21: E128 continuation line under-indented for visual indent
changeids=set([]))
^
./master/buildbot/db/sourcestampsets.py:18:1: E302 expected 2 blank lines, found 1
class SourceStampSetsConnectorComponent(base.DBConnectorComponent):
^
./master/buildbot/db/state.py:21:1: E302 expected 2 blank lines, found 1
class _IdNotFoundError(Exception):
^
./master/buildbot/db/state.py:22:9: E261 at least two spaces before inline comment
pass # used internally
^
./master/buildbot/db/state.py:24:1: E302 expected 2 blank lines, found 1
class ObjDict(dict):
^
./master/buildbot/db/state.py:27:1: E302 expected 2 blank lines, found 1
class StateConnectorComponent(base.DBConnectorComponent):
^
./master/buildbot/db/state.py:33:17: E124 closing bracket does not match visual indentation
).addCallback(lambda objdict : objdict['id'])
^
./master/buildbot/db/state.py:33:45: E203 whitespace before ':'
).addCallback(lambda objdict : objdict['id'])
^
./master/buildbot/db/state.py:38:9: E301 expected 1 blank line, found 0
def thd(conn):
^
./master/buildbot/db/state.py:45:32: E201 whitespace after '['
q = sa.select([ objects_tbl.c.id ],
^
./master/buildbot/db/state.py:45:49: E202 whitespace before ']'
q = sa.select([ objects_tbl.c.id ],
^
./master/buildbot/db/state.py:46:25: E128 continuation line under-indented for visual indent
whereclause=((objects_tbl.c.name == name)
^
./master/buildbot/db/state.py:47:36: E128 continuation line under-indented for visual indent
& (objects_tbl.c.class_name == class_name)))
^
./master/buildbot/db/state.py:81:16: E701 multiple statements on one line (colon)
class Thunk: pass
^
./master/buildbot/db/state.py:82:5: E301 expected 1 blank line, found 0
def getState(self, objectid, name, default=Thunk):
^
./master/buildbot/db/state.py:86:28: E201 whitespace after '['
q = sa.select([ object_state_tbl.c.value_json ],
^
./master/buildbot/db/state.py:86:58: E202 whitespace before ']'
q = sa.select([ object_state_tbl.c.value_json ],
^
./master/buildbot/db/state.py:87:21: E128 continuation line under-indented for visual indent
whereclause=((object_state_tbl.c.objectid == objectid)
^
./master/buildbot/db/state.py:88:32: E128 continuation line under-indented for visual indent
& (object_state_tbl.c.name == name)))
^
./master/buildbot/db/state.py:96:37: E127 continuation line over-indented for visual indent
(name, objectid))
^
./master/buildbot/db/state.py:118:25: E126 continuation line over-indented for hanging indent
whereclause=((object_state_tbl.c.objectid == objectid)
^
./master/buildbot/db/state.py:119:33: E128 continuation line under-indented for visual indent
& (object_state_tbl.c.name == name)))
^
./master/buildbot/db/state.py:127:36: E127 continuation line over-indented for visual indent
objectid=objectid,
^
./master/buildbot/db/state.py:128:36: E127 continuation line over-indented for visual indent
name=name,
^
./master/buildbot/db/state.py:129:36: E127 continuation line over-indented for visual indent
value_json=value_json)
^
./master/buildbot/db/state.py:142:80: E501 line too long (84 > 79 characters)
except (sqlalchemy.exc.IntegrityError, sqlalchemy.exc.ProgrammingError):
^
./master/buildbot/db/state.py:143:21: E261 at least two spaces before inline comment
pass # someone beat us to it - oh well
^
./master/buildbot/db/state.py:151:1: W391 blank line at end of file
^
./master/buildbot/db/users.py:21:1: E302 expected 2 blank lines, found 1
class UsDict(dict):
^
./master/buildbot/db/users.py:24:1: E302 expected 2 blank lines, found 1
class UsersConnectorComponent(base.DBConnectorComponent):
^
./master/buildbot/db/users.py:27:80: E501 line too long (80 > 79 characters)
def findUserByAttr(self, identifier, attr_type, attr_data, _race_hook=None):
^
./master/buildbot/db/users.py:37:28: E201 whitespace after '['
q = sa.select([ tbl_info.c.uid ],
^
./master/buildbot/db/users.py:37:43: E202 whitespace before ']'
q = sa.select([ tbl_info.c.uid ],
^
./master/buildbot/db/users.py:38:25: E128 continuation line under-indented for visual indent
whereclause=and_(tbl_info.c.attr_type == attr_type,
^
./master/buildbot/db/users.py:39:33: E128 continuation line under-indented for visual indent
tbl_info.c.attr_data == attr_data))
^
./master/buildbot/db/users.py:56:25: E128 continuation line under-indented for visual indent
dict(uid=uid, attr_type=attr_type,
^
./master/buildbot/db/users.py:187:25: E126 continuation line over-indented for hanging indent
whereclause=(tbl_info.c.uid == uid)
^
./master/buildbot/db/users.py:188:37: E126 continuation line over-indented for hanging indent
& (tbl_info.c.attr_type == attr_type))
^
./master/buildbot/db/users.py:197:33: E128 continuation line under-indented for visual indent
uid=uid,
^
./master/buildbot/db/users.py:198:33: E128 continuation line under-indented for visual indent
attr_type=attr_type,
^
./master/buildbot/db/users.py:199:33: E128 continuation line under-indented for visual indent
attr_data=attr_data)
^
./master/buildbot/db/users.py:218:63: E225 missing whitespace around operator
conn.execute(tbl.delete(whereclause=(tbl.c.uid==uid)))
^
./master/buildbot/db/migrate/versions/001_initial.py:27:5: E128 continuation line under-indented for visual indent
sa.Column('who', sa.String(256), nullable=False),
^
./master/buildbot/db/migrate/versions/001_initial.py:33:5: E128 continuation line under-indented for visual indent
sa.Column('next_changeid', sa.Integer),
^
./master/buildbot/db/migrate/versions/001_initial.py:37:5: E128 continuation line under-indented for visual indent
sa.Column('changeid', sa.Integer, autoincrement=False, primary_key=True),
^
./master/buildbot/db/migrate/versions/001_initial.py:49:5: E128 continuation line under-indented for visual indent
sa.Column('changeid', sa.Integer, sa.ForeignKey('changes.changeid'), nullable=False),
^
./master/buildbot/db/migrate/versions/001_initial.py:49:80: E501 line too long (89 > 79 characters)
sa.Column('changeid', sa.Integer, sa.ForeignKey('changes.changeid'), nullable=False),
^
./master/buildbot/db/migrate/versions/001_initial.py:54:5: E128 continuation line under-indented for visual indent
sa.Column('changeid', sa.Integer, sa.ForeignKey('changes.changeid'), nullable=False),
^
./master/buildbot/db/migrate/versions/001_initial.py:54:80: E501 line too long (89 > 79 characters)
sa.Column('changeid', sa.Integer, sa.ForeignKey('changes.changeid'), nullable=False),
^
./master/buildbot/db/migrate/versions/001_initial.py:59:5: E128 continuation line under-indented for visual indent
sa.Column('changeid', sa.Integer, sa.ForeignKey('changes.changeid'), nullable=False),
^
./master/buildbot/db/migrate/versions/001_initial.py:59:80: E501 line too long (89 > 79 characters)
sa.Column('changeid', sa.Integer, sa.ForeignKey('changes.changeid'), nullable=False),
^
./master/buildbot/db/migrate/versions/001_initial.py:65:5: E128 continuation line under-indented for visual indent
sa.Column('schedulerid', sa.Integer, autoincrement=False, primary_key=True),
^
./master/buildbot/db/migrate/versions/001_initial.py:65:80: E501 line too long (80 > 79 characters)
sa.Column('schedulerid', sa.Integer, autoincrement=False, primary_key=True),
^
./master/buildbot/db/migrate/versions/001_initial.py:71:5: E128 continuation line under-indented for visual indent
sa.Column('schedulerid', sa.Integer, sa.ForeignKey('schedulers.schedulerid')),
^
./master/buildbot/db/migrate/versions/001_initial.py:71:80: E501 line too long (82 > 79 characters)
sa.Column('schedulerid', sa.Integer, sa.ForeignKey('schedulers.schedulerid')),
^
./master/buildbot/db/migrate/versions/001_initial.py:76:80: E501 line too long (81 > 79 characters)
scheduler_upstream_buildsets = sa.Table('scheduler_upstream_buildsets', metadata,
^
./master/buildbot/db/migrate/versions/001_initial.py:77:5: E128 continuation line under-indented for visual indent
sa.Column('buildsetid', sa.Integer, sa.ForeignKey('buildsets.id')),
^
./master/buildbot/db/migrate/versions/001_initial.py:78:80: E501 line too long (82 > 79 characters)
sa.Column('schedulerid', sa.Integer, sa.ForeignKey('schedulers.schedulerid')),
^
./master/buildbot/db/migrate/versions/001_initial.py:83:5: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, autoincrement=False, primary_key=True),
^
./master/buildbot/db/migrate/versions/001_initial.py:90:5: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, autoincrement=False, primary_key=True),
^
./master/buildbot/db/migrate/versions/001_initial.py:97:5: E128 continuation line under-indented for visual indent
sa.Column('sourcestampid', sa.Integer, sa.ForeignKey('sourcestamps.id'), nullable=False),
^
./master/buildbot/db/migrate/versions/001_initial.py:97:80: E501 line too long (93 > 79 characters)
sa.Column('sourcestampid', sa.Integer, sa.ForeignKey('sourcestamps.id'), nullable=False),
^
./master/buildbot/db/migrate/versions/001_initial.py:98:80: E501 line too long (89 > 79 characters)
sa.Column('changeid', sa.Integer, sa.ForeignKey('changes.changeid'), nullable=False),
^
./master/buildbot/db/migrate/versions/001_initial.py:102:5: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, autoincrement=False, primary_key=True),
^
./master/buildbot/db/migrate/versions/001_initial.py:105:80: E501 line too long (93 > 79 characters)
sa.Column('sourcestampid', sa.Integer, sa.ForeignKey('sourcestamps.id'), nullable=False),
^
./master/buildbot/db/migrate/versions/001_initial.py:107:80: E501 line too long (97 > 79 characters)
sa.Column('complete', sa.SmallInteger, nullable=False, server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/migrate/versions/001_initial.py:113:5: E128 continuation line under-indented for visual indent
sa.Column('buildsetid', sa.Integer, sa.ForeignKey('buildsets.id'), nullable=False),
^
./master/buildbot/db/migrate/versions/001_initial.py:113:80: E501 line too long (87 > 79 characters)
sa.Column('buildsetid', sa.Integer, sa.ForeignKey('buildsets.id'), nullable=False),
^
./master/buildbot/db/migrate/versions/001_initial.py:119:5: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, autoincrement=False, primary_key=True),
^
./master/buildbot/db/migrate/versions/001_initial.py:120:80: E501 line too long (87 > 79 characters)
sa.Column('buildsetid', sa.Integer, sa.ForeignKey("buildsets.id"), nullable=False),
^
./master/buildbot/db/migrate/versions/001_initial.py:122:80: E501 line too long (92 > 79 characters)
sa.Column('priority', sa.Integer, nullable=False, server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/migrate/versions/001_initial.py:133:5: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, autoincrement=False, primary_key=True),
^
./master/buildbot/db/migrate/versions/001_initial.py:135:80: E501 line too long (85 > 79 characters)
sa.Column('brid', sa.Integer, sa.ForeignKey('buildrequests.id'), nullable=False),
^
./master/buildbot/db/migrate/versions/001_initial.py:140:1: E302 expected 2 blank lines, found 1
def test_unicode(migrate_engine):
^
./master/buildbot/db/migrate/versions/001_initial.py:147:9: E128 continuation line under-indented for visual indent
sa.Column('u', sa.Unicode(length=100)),
^
./master/buildbot/db/migrate/versions/001_initial.py:154:6: E225 missing whitespace around operator
b='\xff\xff\x00'
^
./master/buildbot/db/migrate/versions/001_initial.py:168:1: E302 expected 2 blank lines, found 1
def import_changes(migrate_engine):
^
./master/buildbot/db/migrate/versions/001_initial.py:175:21: E701 multiple statements on one line (colon)
if x is None: return u""
^
./master/buildbot/db/migrate/versions/001_initial.py:185:17: E128 continuation line under-indented for visual indent
next_changeid=1)
^
./master/buildbot/db/migrate/versions/001_initial.py:194:29: E231 missing whitespace after ','
with open(changes_pickle,"r") as f:
^
./master/buildbot/db/migrate/versions/001_initial.py:220:21: E126 continuation line over-indented for hanging indent
changeid=c.number,
^
./master/buildbot/db/migrate/versions/001_initial.py:221:21: E126 continuation line over-indented for hanging indent
author=c.who,
^
./master/buildbot/db/migrate/versions/001_initial.py:222:21: E126 continuation line over-indented for hanging indent
comments=c.comments,
^
./master/buildbot/db/migrate/versions/001_initial.py:223:21: E126 continuation line over-indented for hanging indent
is_dir=c.isdir,
^
./master/buildbot/db/migrate/versions/001_initial.py:224:21: E126 continuation line over-indented for hanging indent
branch=c.branch,
^
./master/buildbot/db/migrate/versions/001_initial.py:225:21: E126 continuation line over-indented for hanging indent
revision=c.revision,
^
./master/buildbot/db/migrate/versions/001_initial.py:226:21: E126 continuation line over-indented for hanging indent
revlink=c.revlink,
^
./master/buildbot/db/migrate/versions/001_initial.py:227:21: E126 continuation line over-indented for hanging indent
when_timestamp=c.when,
^
./master/buildbot/db/migrate/versions/001_initial.py:228:21: E126 continuation line over-indented for hanging indent
category=c.category)
^
./master/buildbot/db/migrate/versions/001_initial.py:229:28: E201 whitespace after '['
values = dict([ (k, remove_none(v)) for k, v in values.iteritems() ])
^
./master/buildbot/db/migrate/versions/001_initial.py:229:79: E202 whitespace before ']'
values = dict([ (k, remove_none(v)) for k, v in values.iteritems() ])
^
./master/buildbot/db/migrate/versions/001_initial.py:229:80: E501 line too long (81 > 79 characters)
values = dict([ (k, remove_none(v)) for k, v in values.iteritems() ])
^
./master/buildbot/db/migrate/versions/001_initial.py:231:80: E501 line too long (147 > 79 characters)
raise UnicodeError("Trying to import change data as UTF-8 failed. Please look at contrib/fix_changes_pickle_encoding.py: %s" % str(e))
^
./master/buildbot/db/migrate/versions/001_initial.py:238:80: E501 line too long (90 > 79 characters)
# sometimes c.files contains nested lists -- why, I do not know! But we deal with
^
./master/buildbot/db/migrate/versions/001_initial.py:239:80: E501 line too long (93 > 79 characters)
# it all the same - see bug #915. We'll assume for now that c.files contains *either*
^
./master/buildbot/db/migrate/versions/001_initial.py:254:21: E128 continuation line under-indented for visual indent
changeid=c.number,
^
./master/buildbot/db/migrate/versions/001_initial.py:255:21: E128 continuation line under-indented for visual indent
filename=filename)
^
./master/buildbot/db/migrate/versions/001_initial.py:257:21: E231 missing whitespace after ','
for propname,propvalue in c.properties.properties.items():
^
./master/buildbot/db/migrate/versions/001_initial.py:260:21: E128 continuation line under-indented for visual indent
changeid=c.number,
^
./master/buildbot/db/migrate/versions/001_initial.py:261:21: E128 continuation line under-indented for visual indent
property_name=propname,
^
./master/buildbot/db/migrate/versions/001_initial.py:262:21: E128 continuation line under-indented for visual indent
property_value=encoded_value)
^
./master/buildbot/db/migrate/versions/001_initial.py:265:25: E201 whitespace after '['
max_changeid = max([ c.number for c in source.changes if c.revision ] + [ 0 ])
^
./master/buildbot/db/migrate/versions/001_initial.py:265:72: E202 whitespace before ']'
max_changeid = max([ c.number for c in source.changes if c.revision ] + [ 0 ])
^
./master/buildbot/db/migrate/versions/001_initial.py:265:78: E201 whitespace after '['
max_changeid = max([ c.number for c in source.changes if c.revision ] + [ 0 ])
^
./master/buildbot/db/migrate/versions/001_initial.py:265:80: E202 whitespace before ']'
max_changeid = max([ c.number for c in source.changes if c.revision ] + [ 0 ])
^
./master/buildbot/db/migrate/versions/001_initial.py:265:80: E501 line too long (82 > 79 characters)
max_changeid = max([ c.number for c in source.changes if c.revision ] + [ 0 ])
^
./master/buildbot/db/migrate/versions/001_initial.py:267:13: E128 continuation line under-indented for visual indent
next_changeid=max_changeid+1)
^
./master/buildbot/db/migrate/versions/001_initial.py:270:80: E501 line too long (88 > 79 characters)
# print "moving changes.pck to changes.pck.old; delete it or keep it as a backup"
^
./master/buildbot/db/migrate/versions/001_initial.py:273:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/002_add_proj_repo.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/002_add_proj_repo.py:24:80: E501 line too long (113 > 79 characters)
repository = sa.Column('repository', sa.String(512), nullable=False, server_default=sa.DefaultClause(''))
^
./master/buildbot/db/migrate/versions/002_add_proj_repo.py:26:80: E501 line too long (107 > 79 characters)
project = sa.Column('project', sa.String(512), nullable=False, server_default=sa.DefaultClause(''))
^
./master/buildbot/db/migrate/versions/003_scheduler_class_name.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/003_scheduler_class_name.py:24:80: E501 line too long (116 > 79 characters)
class_name = sa.Column('class_name', sa.String(length=128), nullable=False, server_default=sa.DefaultClause(''))
^
./master/buildbot/db/migrate/versions/003_scheduler_class_name.py:28:80: E501 line too long (80 > 79 characters)
idx = sa.Index('name_and_class', schedulers.c.name, schedulers.c.class_name)
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:28:9: E128 continuation line under-indented for visual indent
sa.Column('schedulerid', sa.Integer, autoincrement=False,
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:29:13: E128 continuation line under-indented for visual indent
primary_key=True),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:30:9: E128 continuation line under-indented for visual indent
sa.Column('name', sa.String(128), nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:31:9: E128 continuation line under-indented for visual indent
sa.Column('state', sa.String(1024), nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:32:9: E128 continuation line under-indented for visual indent
sa.Column('class_name', sa.String(128), nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:33:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:36:9: E128 continuation line under-indented for visual indent
sa.Column('changeid', sa.Integer, autoincrement=False,
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:37:13: E128 continuation line under-indented for visual indent
primary_key=True),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:38:9: E128 continuation line under-indented for visual indent
sa.Column('author', sa.String(256), nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:39:9: E128 continuation line under-indented for visual indent
sa.Column('comments', sa.String(1024), nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:40:9: E128 continuation line under-indented for visual indent
sa.Column('is_dir', sa.SmallInteger, nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:41:9: E128 continuation line under-indented for visual indent
sa.Column('branch', sa.String(256)),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:42:9: E128 continuation line under-indented for visual indent
sa.Column('revision', sa.String(256)),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:43:9: E128 continuation line under-indented for visual indent
sa.Column('revlink', sa.String(256)),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:44:9: E128 continuation line under-indented for visual indent
sa.Column('when_timestamp', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:45:9: E128 continuation line under-indented for visual indent
sa.Column('category', sa.String(256)),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:46:9: E128 continuation line under-indented for visual indent
sa.Column('repository', sa.Text, nullable=False, server_default=''),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:47:9: E128 continuation line under-indented for visual indent
sa.Column('project', sa.Text, nullable=False, server_default=''),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:48:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:51:9: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, primary_key=True),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:52:9: E128 continuation line under-indented for visual indent
sa.Column('patchlevel', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:53:9: E128 continuation line under-indented for visual indent
sa.Column('patch_base64', sa.Text, nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:54:9: E128 continuation line under-indented for visual indent
sa.Column('subdir', sa.Text),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:55:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:58:9: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, autoincrement=True, primary_key=True),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:59:9: E128 continuation line under-indented for visual indent
sa.Column('branch', sa.String(256)),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:60:9: E128 continuation line under-indented for visual indent
sa.Column('revision', sa.String(256)),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:61:9: E128 continuation line under-indented for visual indent
sa.Column('patchid', sa.Integer, sa.ForeignKey('patches.id')),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:62:9: E128 continuation line under-indented for visual indent
sa.Column('repository', sa.Text(length=None), nullable=False,
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:63:13: E128 continuation line under-indented for visual indent
server_default=''),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:64:9: E128 continuation line under-indented for visual indent
sa.Column('project', sa.Text(length=None), nullable=False,
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:65:13: E128 continuation line under-indented for visual indent
server_default=''),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:66:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:69:9: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, primary_key=True),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:70:9: E128 continuation line under-indented for visual indent
sa.Column('external_idstring', sa.String(256)),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:71:9: E128 continuation line under-indented for visual indent
sa.Column('reason', sa.String(256)),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:72:9: E128 continuation line under-indented for visual indent
sa.Column('sourcestampid', sa.Integer,
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:73:13: E128 continuation line under-indented for visual indent
sa.ForeignKey('sourcestamps.id'), nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:74:9: E128 continuation line under-indented for visual indent
sa.Column('submitted_at', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:75:9: E128 continuation line under-indented for visual indent
sa.Column('complete', sa.SmallInteger, nullable=False,
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:76:13: E128 continuation line under-indented for visual indent
server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:77:9: E128 continuation line under-indented for visual indent
sa.Column('complete_at', sa.Integer),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:78:9: E128 continuation line under-indented for visual indent
sa.Column('results', sa.SmallInteger),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:79:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:82:9: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, primary_key=True),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:83:9: E128 continuation line under-indented for visual indent
sa.Column('buildsetid', sa.Integer, sa.ForeignKey("buildsets.id"),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:84:13: E128 continuation line under-indented for visual indent
nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:85:9: E128 continuation line under-indented for visual indent
sa.Column('buildername', sa.String(length=None), nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:86:9: E128 continuation line under-indented for visual indent
sa.Column('priority', sa.Integer, nullable=False,
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:87:13: E128 continuation line under-indented for visual indent
server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:88:9: E128 continuation line under-indented for visual indent
sa.Column('claimed_at', sa.Integer,
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:89:13: E128 continuation line under-indented for visual indent
server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:90:9: E128 continuation line under-indented for visual indent
sa.Column('claimed_by_name', sa.String(length=None)),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:91:9: E128 continuation line under-indented for visual indent
sa.Column('claimed_by_incarnation', sa.String(length=None)),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:92:9: E128 continuation line under-indented for visual indent
sa.Column('complete', sa.Integer,
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:93:13: E128 continuation line under-indented for visual indent
server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:94:9: E128 continuation line under-indented for visual indent
sa.Column('results', sa.SmallInteger),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:95:9: E128 continuation line under-indented for visual indent
sa.Column('submitted_at', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:96:9: E128 continuation line under-indented for visual indent
sa.Column('complete_at', sa.Integer),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:97:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:100:9: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, primary_key=True),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:101:9: E128 continuation line under-indented for visual indent
sa.Column('number', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:102:9: E128 continuation line under-indented for visual indent
sa.Column('brid', sa.Integer, sa.ForeignKey('buildrequests.id'),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:103:13: E128 continuation line under-indented for visual indent
nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:104:9: E128 continuation line under-indented for visual indent
sa.Column('start_time', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:105:9: E128 continuation line under-indented for visual indent
sa.Column('finish_time', sa.Integer),
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:106:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:108:19: E201 whitespace after '['
to_autoinc = [ s.split(".") for s in
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:109:9: E128 continuation line under-indented for visual indent
"schedulers.schedulerid",
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:116:5: E124 closing bracket does not match visual indentation
]
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:125:80: E501 line too long (110 > 79 characters)
migrate_engine.execute("ALTER TABLE %s ALTER COLUMN %s SET DEFAULT nextval('%s_%s_seq'::regclass)"
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:126:80: E501 line too long (82 > 79 characters)
% (table_name, col_name, table_name, col_name))
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:128:80: E501 line too long (82 > 79 characters)
% (table_name, col_name, table_name, col_name))
^
./master/buildbot/db/migrate/versions/004_add_autoincrement.py:138:5: E303 too many blank lines (2)
table = sa.Table('changes_nextid', metadata, autoload=True)
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:33:9: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, primary_key=True),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:34:9: E128 continuation line under-indented for visual indent
sa.Column('buildsetid', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:35:9: E128 continuation line under-indented for visual indent
sa.Column('buildername', sa.String(length=None), nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:36:9: E128 continuation line under-indented for visual indent
sa.Column('priority', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:37:9: E128 continuation line under-indented for visual indent
sa.Column('claimed_at', sa.Integer, server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:37:80: E501 line too long (82 > 79 characters)
sa.Column('claimed_at', sa.Integer, server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:38:9: E128 continuation line under-indented for visual indent
sa.Column('claimed_by_name', sa.String(length=None)),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:39:9: E128 continuation line under-indented for visual indent
sa.Column('claimed_by_incarnation', sa.String(length=None)),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:40:9: E128 continuation line under-indented for visual indent
sa.Column('complete', sa.Integer, server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:40:80: E501 line too long (80 > 79 characters)
sa.Column('complete', sa.Integer, server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:41:9: E128 continuation line under-indented for visual indent
sa.Column('results', sa.SmallInteger),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:42:9: E128 continuation line under-indented for visual indent
sa.Column('submitted_at', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:43:9: E128 continuation line under-indented for visual indent
sa.Column('complete_at', sa.Integer),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:44:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:52:9: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, primary_key=True),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:53:9: E128 continuation line under-indented for visual indent
sa.Column('number', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:54:9: E128 continuation line under-indented for visual indent
sa.Column('brid', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:55:9: E128 continuation line under-indented for visual indent
sa.Column('start_time', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:56:9: E128 continuation line under-indented for visual indent
sa.Column('finish_time', sa.Integer),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:57:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:62:9: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, primary_key=True),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:63:9: E128 continuation line under-indented for visual indent
sa.Column('external_idstring', sa.String(256)),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:64:9: E128 continuation line under-indented for visual indent
sa.Column('reason', sa.String(256)),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:65:9: E128 continuation line under-indented for visual indent
sa.Column('sourcestampid', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:66:9: E128 continuation line under-indented for visual indent
sa.Column('submitted_at', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:67:9: E128 continuation line under-indented for visual indent
sa.Column('complete', sa.SmallInteger, nullable=False, server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:67:80: E501 line too long (101 > 79 characters)
sa.Column('complete', sa.SmallInteger, nullable=False, server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:68:9: E128 continuation line under-indented for visual indent
sa.Column('complete_at', sa.Integer),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:69:9: E128 continuation line under-indented for visual indent
sa.Column('results', sa.SmallInteger),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:70:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:75:9: E128 continuation line under-indented for visual indent
sa.Column('buildsetid', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:76:9: E128 continuation line under-indented for visual indent
sa.Column('property_name', sa.String(256), nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:77:9: E128 continuation line under-indented for visual indent
sa.Column('property_value', sa.String(1024), nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:78:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:82:9: E128 continuation line under-indented for visual indent
sa.Column('changeid', sa.Integer, primary_key=True),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:83:9: E128 continuation line under-indented for visual indent
sa.Column('author', sa.String(256), nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:84:9: E128 continuation line under-indented for visual indent
sa.Column('comments', sa.String(1024), nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:85:9: E128 continuation line under-indented for visual indent
sa.Column('is_dir', sa.SmallInteger, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:86:9: E128 continuation line under-indented for visual indent
sa.Column('branch', sa.String(256)),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:87:9: E128 continuation line under-indented for visual indent
sa.Column('revision', sa.String(256)),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:88:9: E128 continuation line under-indented for visual indent
sa.Column('revlink', sa.String(256)),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:89:9: E128 continuation line under-indented for visual indent
sa.Column('when_timestamp', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:90:9: E128 continuation line under-indented for visual indent
sa.Column('category', sa.String(256)),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:91:9: E128 continuation line under-indented for visual indent
sa.Column('repository', sa.Text, nullable=False, server_default=''),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:92:9: E128 continuation line under-indented for visual indent
sa.Column('project', sa.Text, nullable=False, server_default=''),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:93:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:101:9: E128 continuation line under-indented for visual indent
sa.Column('changeid', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:102:9: E128 continuation line under-indented for visual indent
sa.Column('filename', sa.String(1024), nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:103:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:107:9: E128 continuation line under-indented for visual indent
sa.Column('changeid', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:108:9: E128 continuation line under-indented for visual indent
sa.Column('link', sa.String(1024), nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:109:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:113:9: E128 continuation line under-indented for visual indent
sa.Column('changeid', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:114:9: E128 continuation line under-indented for visual indent
sa.Column('property_name', sa.String(256), nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:115:9: E128 continuation line under-indented for visual indent
sa.Column('property_value', sa.String(1024), nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:116:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:122:9: E128 continuation line under-indented for visual indent
sa.Column('schedulerid', sa.Integer),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:123:9: E128 continuation line under-indented for visual indent
sa.Column('changeid', sa.Integer),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:124:9: E128 continuation line under-indented for visual indent
sa.Column('important', sa.SmallInteger),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:125:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:130:9: E128 continuation line under-indented for visual indent
sa.Column('buildsetid', sa.Integer),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:131:9: E128 continuation line under-indented for visual indent
sa.Column('schedulerid', sa.Integer),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:132:9: E128 continuation line under-indented for visual indent
sa.Column('active', sa.SmallInteger),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:133:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:141:9: E128 continuation line under-indented for visual indent
sa.Column('sourcestampid', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:142:9: E128 continuation line under-indented for visual indent
sa.Column('changeid', sa.Integer, nullable=False),
^
./master/buildbot/db/migrate/versions/005_add_indexes.py:143:5: E124 closing bracket does not match visual indentation
)
^
./master/buildbot/db/migrate/versions/006_drop_last_access.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/007_add_object_tables.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/007_add_object_tables.py:23:9: E128 continuation line under-indented for visual indent
sa.Column("id", sa.Integer, primary_key=True),
^
./master/buildbot/db/migrate/versions/007_add_object_tables.py:31:9: E128 continuation line under-indented for visual indent
sa.Column("objectid", sa.Integer, sa.ForeignKey('objects.id'),
^
./master/buildbot/db/migrate/versions/007_add_object_tables.py:32:31: E127 continuation line over-indented for visual indent
nullable=False),
^
./master/buildbot/db/migrate/versions/008_add_scheduler_changes_index.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/008_add_scheduler_changes_index.py:23:9: E128 continuation line under-indented for visual indent
sa.Column('schedulerid', sa.Integer),
^
./master/buildbot/db/migrate/versions/009_add_patch_author.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/009_add_patch_author.py:30:17: E225 missing whitespace around operator
patch_author= sa.Column('patch_author', sa.Text, nullable=False,
^
./master/buildbot/db/migrate/versions/009_add_patch_author.py:33:1: W293 blank line contains whitespace
^
./master/buildbot/db/migrate/versions/009_add_patch_author.py:34:17: E225 missing whitespace around operator
patch_author= sa.Column('patch_comment', sa.Text, nullable=False,
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:19:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:26:13: E126 continuation line over-indented for hanging indent
sa.Column('class_name', sa.String(128), nullable=False),
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:27:13: E126 continuation line over-indented for hanging indent
table="schedulers",
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:28:13: E126 continuation line over-indented for hanging indent
metadata=metadata,
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:29:13: E126 continuation line over-indented for hanging indent
engine=migrate_engine)
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:32:13: E126 continuation line over-indented for hanging indent
sa.Column('name', sa.String(128), nullable=False),
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:33:13: E126 continuation line over-indented for hanging indent
table="schedulers",
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:34:13: E126 continuation line over-indented for hanging indent
metadata=metadata,
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:35:13: E126 continuation line over-indented for hanging indent
engine=migrate_engine)
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:40:9: E128 continuation line under-indented for visual indent
sa.Column('changeid', sa.Integer, primary_key=True),
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:50:13: E128 continuation line under-indented for visual indent
server_default=''),
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:52:13: E128 continuation line under-indented for visual indent
server_default=''),
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:55:13: E126 continuation line over-indented for hanging indent
sa.Column('author', sa.String(256), nullable=False),
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:56:13: E126 continuation line over-indented for hanging indent
table=changes,
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:57:13: E126 continuation line over-indented for hanging indent
metadata=metadata,
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:58:13: E126 continuation line over-indented for hanging indent
engine=migrate_engine)
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:60:13: E126 continuation line over-indented for hanging indent
sa.Column('branch', sa.String(256)),
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:61:13: E126 continuation line over-indented for hanging indent
table=changes,
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:62:13: E126 continuation line over-indented for hanging indent
metadata=metadata,
^
./master/buildbot/db/migrate/versions/010_fix_column_lengths.py:63:13: E126 continuation line over-indented for hanging indent
engine=migrate_engine)
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:20:1: E302 expected 2 blank lines, found 1
def migrate_claims(migrate_engine, metadata, buildrequests, objects,
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:29:13: E126 continuation line over-indented for hanging indent
null_id,
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:30:13: E126 continuation line over-indented for hanging indent
buildrequests.c.claimed_by_name.label("name"),
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:31:13: E126 continuation line over-indented for hanging indent
sa.literal_column("'BuildMaster'").label("class_name"),
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:33:53: E711 comparison to None should be 'if cond is not None:'
whereclause=buildrequests.c.claimed_by_name != None,
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:38:13: E126 continuation line over-indented for hanging indent
str(sautils.InsertFromSelect(objects, new_objects)))
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:42:13: E128 continuation line under-indented for visual indent
(buildrequests.c.claimed_by_name == objects.c.name)
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:43:13: E126 continuation line over-indented for hanging indent
# (have to use sa.text because str, below, doesn't work
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:47:13: E126 continuation line over-indented for hanging indent
buildrequests.c.id.label('brid'),
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:48:13: E126 continuation line over-indented for hanging indent
objects.c.id.label('objectid'),
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:49:13: E126 continuation line over-indented for hanging indent
buildrequests.c.claimed_at,
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:50:22: E201 whitespace after '['
], from_obj=[ join ],
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:50:27: E202 whitespace before ']'
], from_obj=[ join ],
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:51:53: E711 comparison to None should be 'if cond is not None:'
whereclause=buildrequests.c.claimed_by_name != None)
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:53:13: E126 continuation line over-indented for hanging indent
str(sautils.InsertFromSelect(buildrequest_claims, claims)))
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:55:1: E302 expected 2 blank lines, found 1
def drop_columns(metadata, buildrequests):
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:60:48: E261 at least two spaces before inline comment
if not hasattr(migrate, '__version__'): # that is, older than 0.7
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:67:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:73:9: E128 continuation line under-indented for visual indent
sa.Column('id', sa.Integer, primary_key=True),
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:77:13: E128 continuation line under-indented for visual indent
server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:79:13: E128 continuation line under-indented for visual indent
server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:83:13: E128 continuation line under-indented for visual indent
server_default=sa.DefaultClause("0")),
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:91:9: E128 continuation line under-indented for visual indent
# unique ID for this object
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:104:9: E128 continuation line under-indented for visual indent
sa.Column('brid', sa.Integer, sa.ForeignKey('buildrequests.id'),
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:105:13: E128 continuation line under-indented for visual indent
index=True, unique=True),
^
./master/buildbot/db/migrate/versions/011_add_buildrequest_claims.py:107:13: E128 continuation line under-indented for visual indent
index=True, nullable=True),
^
./master/buildbot/db/migrate/versions/012_add_users_table.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/012_add_users_table.py:25:9: E128 continuation line under-indented for visual indent
sa.Column("uid", sa.Integer, primary_key=True),
^
./master/buildbot/db/migrate/versions/012_add_users_table.py:35:9: E128 continuation line under-indented for visual indent
sa.Column("uid", sa.Integer, sa.ForeignKey('users.uid'),
^
./master/buildbot/db/migrate/versions/012_add_users_table.py:45:13: E128 continuation line under-indented for visual indent
users_info.c.attr_type, unique=True)
^
./master/buildbot/db/migrate/versions/012_add_users_table.py:48:13: E128 continuation line under-indented for visual indent
users_info.c.attr_data, unique=True)
^
./master/buildbot/db/migrate/versions/012_add_users_table.py:54:9: E128 continuation line under-indented for visual indent
sa.Column("changeid", sa.Integer, sa.ForeignKey('changes.changeid'),
^
./master/buildbot/db/migrate/versions/013_remove_schedulers_state_column.py:19:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/013_remove_schedulers_state_column.py:25:9: E128 continuation line under-indented for visual indent
# unique ID for scheduler
^
./master/buildbot/db/migrate/versions/013_remove_schedulers_state_column.py:26:64: E261 at least two spaces before inline comment
sa.Column('schedulerid', sa.Integer, primary_key=True), # TODO: rename to id
^
./master/buildbot/db/migrate/versions/013_remove_schedulers_state_column.py:26:80: E501 line too long (84 > 79 characters)
sa.Column('schedulerid', sa.Integer, primary_key=True), # TODO: rename to id
^
./master/buildbot/db/migrate/versions/013_remove_schedulers_state_column.py:35:13: E126 continuation line over-indented for hanging indent
sa.Column('state', sa.String(128), nullable=False),
^
./master/buildbot/db/migrate/versions/013_remove_schedulers_state_column.py:36:13: E126 continuation line over-indented for hanging indent
table=schedulers,
^
./master/buildbot/db/migrate/versions/013_remove_schedulers_state_column.py:37:13: E126 continuation line over-indented for hanging indent
metadata=metadata,
^
./master/buildbot/db/migrate/versions/013_remove_schedulers_state_column.py:38:13: E126 continuation line over-indented for hanging indent
engine=migrate_engine)
^
./master/buildbot/db/migrate/versions/013_remove_schedulers_state_column.py:40:1: W391 blank line at end of file
^
./master/buildbot/db/migrate/versions/014_add_users_userpass_columns.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/015_remove_bad_master_objectid.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/015_remove_bad_master_objectid.py:31:20: E201 whitespace after '['
q = sa.select([ objects_table.c.id ],
^
./master/buildbot/db/migrate/versions/015_remove_bad_master_objectid.py:31:39: E202 whitespace before ']'
q = sa.select([ objects_table.c.id ],
^
./master/buildbot/db/migrate/versions/015_remove_bad_master_objectid.py:32:9: E128 continuation line under-indented for visual indent
whereclause=(objects_table.c.name=='master')
^
./master/buildbot/db/migrate/versions/015_remove_bad_master_objectid.py:32:42: E225 missing whitespace around operator
whereclause=(objects_table.c.name=='master')
^
./master/buildbot/db/migrate/versions/015_remove_bad_master_objectid.py:33:14: E128 continuation line under-indented for visual indent
& (objects_table.c.class_name == 'buildbot.master.BuildMaster'))
^
./master/buildbot/db/migrate/versions/015_remove_bad_master_objectid.py:41:24: E201 whitespace after '['
q = sa.select([ objects_table.c.id ],
^
./master/buildbot/db/migrate/versions/015_remove_bad_master_objectid.py:41:43: E202 whitespace before ']'
q = sa.select([ objects_table.c.id ],
^
./master/buildbot/db/migrate/versions/015_remove_bad_master_objectid.py:42:13: E128 continuation line under-indented for visual indent
whereclause=objects_table.c.class_name == 'BuildMaster')
^
./master/buildbot/db/migrate/versions/015_remove_bad_master_objectid.py:56:21: E126 continuation line over-indented for hanging indent
whereclause=(object_state_table.c.objectid == old_id))
^
./master/buildbot/db/migrate/versions/015_remove_bad_master_objectid.py:60:21: E126 continuation line over-indented for hanging indent
whereclause=(object_state_table.c.objectid == old_id))
^
./master/buildbot/db/migrate/versions/015_remove_bad_master_objectid.py:65:17: E126 continuation line over-indented for hanging indent
whereclause=(objects_table.c.id == old_id))
^
./master/buildbot/db/migrate/versions/015_remove_bad_master_objectid.py:70:13: E126 continuation line over-indented for hanging indent
whereclause=(objects_table.c.class_name == 'BuildMaster'))
^
./master/buildbot/db/migrate/versions/016_restore_buildrequest_indices.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/017_restore_other_indices.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/017_restore_other_indices.py:34:17: E128 continuation line under-indented for visual indent
schedulers.c.name, schedulers.c.class_name).create()
^
./master/buildbot/db/migrate/versions/017_restore_other_indices.py:50:17: E128 continuation line under-indented for visual indent
unique=True).create()
^
./master/buildbot/db/migrate/versions/017_restore_other_indices.py:54:17: E128 continuation line under-indented for visual indent
object_state.c.name, unique=True).create()
^
./master/buildbot/db/migrate/versions/018_add_sourcestampset.py:20:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/018_add_sourcestampset.py:31:9: E128 continuation line under-indented for visual indent
sa.Column("id", sa.Integer, primary_key=True),
^
./master/buildbot/db/migrate/versions/018_add_sourcestampset.py:39:80: E501 line too long (99 > 79 characters)
migrate_engine.execute(str(sautils.InsertFromSelect(sourcestampsets_table, sourcestampsetids)))
^
./master/buildbot/db/migrate/versions/018_add_sourcestampset.py:47:80: E501 line too long (110 > 79 characters)
cons = constraint.ForeignKeyConstraint([buildsets_table.c.sourcestampsetid], [sourcestampsets_table.c.id])
^
./master/buildbot/db/migrate/versions/018_add_sourcestampset.py:55:80: E501 line too long (109 > 79 characters)
migrate_engine.execute(str(sourcestamps_table.update().values(sourcestampsetid=sourcestamps_table.c.id)))
^
./master/buildbot/db/migrate/versions/018_add_sourcestampset.py:59:80: E501 line too long (113 > 79 characters)
cons = constraint.ForeignKeyConstraint([sourcestamps_table.c.sourcestampsetid], [sourcestampsets_table.c.id])
^
./master/buildbot/db/migrate/versions/018_add_sourcestampset.py:62:80: E501 line too long (81 > 79 characters)
# Add index for performance reasons to find all sourcestamps in a set quickly
^
./master/buildbot/db/migrate/versions/018_add_sourcestampset.py:63:80: E501 line too long (104 > 79 characters)
idx = sa.Index('sourcestamps_sourcestampsetid', sourcestamps_table.c.sourcestampsetid, unique=False)
^
./master/buildbot/db/migrate/versions/019_merge_schedulers_to_objects.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/019_merge_schedulers_to_objects.py:30:9: E128 continuation line under-indented for visual indent
sa.Column('schedulerid', sa.Integer),
^
./master/buildbot/db/migrate/versions/019_merge_schedulers_to_objects.py:37:45: E128 continuation line under-indented for visual indent
metadata,
^
./master/buildbot/db/migrate/versions/019_merge_schedulers_to_objects.py:38:9: E128 continuation line under-indented for visual indent
sa.Column('buildsetid', sa.Integer),
^
./master/buildbot/db/migrate/versions/019_merge_schedulers_to_objects.py:45:9: E128 continuation line under-indented for visual indent
sa.Column('schedulerid', sa.Integer),
^
./master/buildbot/db/migrate/versions/019_merge_schedulers_to_objects.py:55:9: E128 continuation line under-indented for visual indent
sa.Column('objectid', sa.Integer,
^
./master/buildbot/db/migrate/versions/019_merge_schedulers_to_objects.py:56:13: E128 continuation line under-indented for visual indent
sa.ForeignKey('objects.id')),
^
./master/buildbot/db/migrate/versions/019_merge_schedulers_to_objects.py:58:13: E128 continuation line under-indented for visual indent
sa.ForeignKey('changes.changeid')),
^
./master/buildbot/db/migrate/versions/019_merge_schedulers_to_objects.py:64:13: E128 continuation line under-indented for visual indent
scheduler_changes_tbl.c.objectid)
^
./master/buildbot/db/migrate/versions/019_merge_schedulers_to_objects.py:68:13: E128 continuation line under-indented for visual indent
scheduler_changes_tbl.c.changeid)
^
./master/buildbot/db/migrate/versions/019_merge_schedulers_to_objects.py:72:13: E128 continuation line under-indented for visual indent
scheduler_changes_tbl.c.objectid,
^
./master/buildbot/db/migrate/versions/019_merge_schedulers_to_objects.py:73:13: E128 continuation line under-indented for visual indent
scheduler_changes_tbl.c.changeid, unique=True)
^
./master/buildbot/db/migrate/versions/019_merge_schedulers_to_objects.py:75:1: W391 blank line at end of file
^
./master/buildbot/db/migrate/versions/020_remove_change_links.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/021_fix_postgres_sequences.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/021_fix_postgres_sequences.py:45:49: E201 whitespace after '['
res = migrate_engine.execute(sa.select([ sa.func.max(col) ]))
^
./master/buildbot/db/migrate/versions/021_fix_postgres_sequences.py:45:66: E202 whitespace before ']'
res = migrate_engine.execute(sa.select([ sa.func.max(col) ]))
^
./master/buildbot/db/migrate/versions/021_fix_postgres_sequences.py:51:29: E128 continuation line under-indented for visual indent
% (seq_name, max))
^
./master/buildbot/db/migrate/versions/022_add_codebase.py:18:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/022_add_codebase.py:26:1: W293 blank line contains whitespace
^
./master/buildbot/db/migrate/versions/022_add_codebase.py:28:5: E303 too many blank lines (2)
ss_codebase = sa.Column('codebase', sa.String(length=256), nullable=False,
^
./master/buildbot/db/migrate/versions/022_add_codebase.py:28:79: W291 trailing whitespace
ss_codebase = sa.Column('codebase', sa.String(length=256), nullable=False,
^
./master/buildbot/db/migrate/versions/022_add_codebase.py:29:9: E128 continuation line under-indented for visual indent
server_default=sa.DefaultClause(""))
^
./master/buildbot/db/migrate/versions/022_add_codebase.py:33:9: E128 continuation line under-indented for visual indent
server_default=sa.DefaultClause(""))
^
./master/buildbot/db/migrate/versions/023_increase_comments_property_lengths.py:19:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/023_increase_comments_property_lengths.py:35:37: E127 continuation line over-indented for visual indent
% (table, column))
^
./master/buildbot/db/migrate/versions/023_increase_comments_property_lengths.py:38:17: E126 continuation line over-indented for hanging indent
sa.Column('property_value', sa.Text, nullable=False),
^
./master/buildbot/db/migrate/versions/023_increase_comments_property_lengths.py:39:17: E126 continuation line over-indented for hanging indent
table='buildset_properties',
^
./master/buildbot/db/migrate/versions/023_increase_comments_property_lengths.py:40:17: E126 continuation line over-indented for hanging indent
metadata=metadata,
^
./master/buildbot/db/migrate/versions/023_increase_comments_property_lengths.py:41:17: E126 continuation line over-indented for hanging indent
engine=migrate_engine)
^
./master/buildbot/db/migrate/versions/023_increase_comments_property_lengths.py:43:17: E126 continuation line over-indented for hanging indent
sa.Column('comments', sa.Text, nullable=False),
^
./master/buildbot/db/migrate/versions/023_increase_comments_property_lengths.py:44:17: E126 continuation line over-indented for hanging indent
table='changes',
^
./master/buildbot/db/migrate/versions/023_increase_comments_property_lengths.py:45:17: E126 continuation line over-indented for hanging indent
metadata=metadata,
^
./master/buildbot/db/migrate/versions/023_increase_comments_property_lengths.py:46:17: E126 continuation line over-indented for hanging indent
engine=migrate_engine)
^
./master/buildbot/db/migrate/versions/024_add_buildslaves_table.py:19:1: E302 expected 2 blank lines, found 1
def upgrade(migrate_engine):
^
./master/buildbot/db/migrate/versions/024_add_buildslaves_table.py:25:9: E128 continuation line under-indented for visual indent
sa.Column("id", sa.Integer, primary_key=True),
^
./master/buildbot/db/migrate/versions/024_add_buildslaves_table.py:33:1: W391 blank line at end of file
^
./master/buildbot/db/types/json.py:19:1: E302 expected 2 blank lines, found 1
class JsonObject(TypeDecorator):
^
./master/buildbot/test/__init__.py:30:13: E128 continuation line under-indented for visual indent
"try 'pip install mock'")
^
./master/buildbot/test/test_extra_coverage.py:20:13: E261 at least two spaces before inline comment
modules = [] # for the benefit of pyflakes
^
./master/buildbot/test/test_extra_coverage.py:42:80: E501 line too long (88 > 79 characters)
from buildbot.steps import master, maxq, python, python_twisted, subunit, mtrlogobserver
^
./master/buildbot/test/integration/test_configs.py:25:1: E302 expected 2 blank lines, found 1
class RealConfigs(dirs.DirsMixin, unittest.TestCase):
^
./master/buildbot/test/integration/test_master.py:24:1: E302 expected 2 blank lines, found 1
class RunMaster(dirs.DirsMixin, unittest.TestCase):
^
./master/buildbot/test/integration/test_master.py:42:37: E126 continuation line over-indented for hanging indent
self.basedir, self.configfile)
^
./master/buildbot/test/integration/test_master.py:49:28: E203 whitespace before ':'
m.db.setup = lambda : None
^
./master/buildbot/test/integration/test_master.py:59:13: E128 continuation line under-indented for visual indent
"startService tried to stop the reactor; check logs")
^
./master/buildbot/test/integration/test_master.py:100:26: E211 whitespace before '('
c['slaves'] = [BuildSlave ("local1", "localpw")]
^
./master/buildbot/test/integration/test_master.py:106:29: E128 continuation line under-indented for visual indent
change_filter=ChangeFilter(project_re='^testy/'),
^
./master/buildbot/test/integration/test_master.py:107:29: E128 continuation line under-indented for visual indent
treeStableTimer=1*60,
^
./master/buildbot/test/integration/test_master.py:108:29: E128 continuation line under-indented for visual indent
builderNames=[ 'testy', ]))
^
./master/buildbot/test/integration/test_master.py:108:43: E201 whitespace after '['
builderNames=[ 'testy', ]))
^
./master/buildbot/test/integration/test_master.py:110:29: E126 continuation line over-indented for hanging indent
name="force",
^
./master/buildbot/test/integration/test_master.py:111:29: E126 continuation line over-indented for hanging indent
builderNames=["testy"]))
^
./master/buildbot/test/integration/test_master.py:117:7: E128 continuation line under-indented for visual indent
slavenames=["local1"],
^
./master/buildbot/test/integration/test_master.py:118:7: E128 continuation line under-indented for visual indent
factory=f1))
^
./master/buildbot/test/integration/test_master.py:125:13: E203 whitespace before ':'
'db_url' : "sqlite:///state.sqlite"
^
./master/buildbot/test/integration/test_slave_comm.py:30:1: E302 expected 2 blank lines, found 1
class FakeSlaveBuilder(pb.Referenceable):
^
./master/buildbot/test/integration/test_slave_comm.py:35:1: E302 expected 2 blank lines, found 1
class FakeSlaveBuildSlave(pb.Referenceable):
^
./master/buildbot/test/integration/test_slave_comm.py:49:9: E301 expected 1 blank line, found 0
def clear_persp():
^
./master/buildbot/test/integration/test_slave_comm.py:57:17: E201 whitespace after '{'
return { 'info' : 'here' }
^
./master/buildbot/test/integration/test_slave_comm.py:57:24: E203 whitespace before ':'
return { 'info' : 'here' }
^
./master/buildbot/test/integration/test_slave_comm.py:57:33: E202 whitespace before '}'
return { 'info' : 'here' }
^
./master/buildbot/test/integration/test_slave_comm.py:63:17: E201 whitespace after '{'
return { 'x' : 1 }
^
./master/buildbot/test/integration/test_slave_comm.py:63:21: E203 whitespace before ':'
return { 'x' : 1 }
^
./master/buildbot/test/integration/test_slave_comm.py:63:25: E202 whitespace before '}'
return { 'x' : 1 }
^
./master/buildbot/test/integration/test_slave_comm.py:66:26: E201 whitespace after '['
builder_names = [ n for n, dir in builder_info ]
^
./master/buildbot/test/integration/test_slave_comm.py:66:55: E202 whitespace before ']'
builder_names = [ n for n, dir in builder_info ]
^
./master/buildbot/test/integration/test_slave_comm.py:67:23: E201 whitespace after '['
slbuilders = [ FakeSlaveBuilder() for n in builder_names ]
^
./master/buildbot/test/integration/test_slave_comm.py:67:65: E202 whitespace before ']'
slbuilders = [ FakeSlaveBuilder() for n in builder_names ]
^
./master/buildbot/test/integration/test_slave_comm.py:79:29: E201 whitespace after '{'
assert commands == { 'x' : 1 }
^
./master/buildbot/test/integration/test_slave_comm.py:79:33: E203 whitespace before ':'
assert commands == { 'x' : 1 }
^
./master/buildbot/test/integration/test_slave_comm.py:79:37: E202 whitespace before '}'
assert commands == { 'x' : 1 }
^
./master/buildbot/test/integration/test_slave_comm.py:151:30: E201 whitespace after '['
new_config.slaves = [ self.buildslave ]
^
./master/buildbot/test/integration/test_slave_comm.py:151:46: E202 whitespace before ']'
new_config.slaves = [ self.buildslave ]
^
./master/buildbot/test/integration/test_slave_comm.py:152:32: E201 whitespace after '['
new_config.builders = [ config.BuilderConfig(name='bldr',
^
./master/buildbot/test/integration/test_slave_comm.py:153:17: E128 continuation line under-indented for visual indent
slavename='testslave', factory=factory.BuildFactory()) ]
^
./master/buildbot/test/integration/test_slave_comm.py:153:71: E202 whitespace before ']'
slavename='testslave', factory=factory.BuildFactory()) ]
^
./master/buildbot/test/integration/test_slave_comm.py:174:17: E126 continuation line over-indented for hanging indent
lambda : setBuilderList_d.callback(None))
^
./master/buildbot/test/integration/test_slave_comm.py:174:23: E203 whitespace before ':'
lambda : setBuilderList_d.callback(None))
^
./master/buildbot/test/integration/test_slave_comm.py:177:9: E301 expected 1 blank line, found 0
def logged_in(persp):
^
./master/buildbot/test/integration/test_slave_comm.py:181:53: E203 whitespace before ':'
self.buildslave.subscribeToDetach(lambda :
^
./master/buildbot/test/integration/test_slave_comm.py:182:25: E128 continuation line under-indented for visual indent
self.detach_d.callback(None))
^
./master/buildbot/test/integration/test_slave_comm.py:194:35: E203 whitespace before ':'
d.addCallback(lambda _ : slavebuildslave)
^
./master/buildbot/test/integration/test_upgrade.py:38:1: E302 expected 2 blank lines, found 1
def getDiffMonkeyPatch(metadata, engine, excludeTables=None):
^
./master/buildbot/test/integration/test_upgrade.py:55:23: E128 continuation line under-indented for visual indent
labelA='model',
^
./master/buildbot/test/integration/test_upgrade.py:56:23: E128 continuation line under-indented for visual indent
labelB='database',
^
./master/buildbot/test/integration/test_upgrade.py:57:23: E128 continuation line under-indented for visual indent
excludeTables=excludeTables)
^
./master/buildbot/test/integration/test_upgrade.py:59:1: E302 expected 2 blank lines, found 1
class UpgradeTestMixin(db.RealDatabaseMixin):
^
./master/buildbot/test/integration/test_upgrade.py:139:13: E125 continuation line does not distinguish itself from next logical line
or not migrate.__version__.startswith('0.7.')):
^
./master/buildbot/test/integration/test_upgrade.py:143:33: E127 continuation line over-indented for visual indent
getDiffMonkeyPatch)
^
./master/buildbot/test/integration/test_upgrade.py:144:9: E301 expected 1 blank line, found 0
def comp(engine):
^
./master/buildbot/test/integration/test_upgrade.py:162:47: E201 whitespace after '['
column_names=sorted([ c.name for c in idx.columns ]))
^
./master/buildbot/test/integration/test_upgrade.py:162:75: E202 whitespace before ']'
column_names=sorted([ c.name for c in idx.columns ]))
^
./master/buildbot/test/integration/test_upgrade.py:163:43: E202 whitespace before ']'
for idx in tbl.indexes ])
^
./master/buildbot/test/integration/test_upgrade.py:167:32: E201 whitespace after '['
implied = [ idx for (tname, idx)
^
./master/buildbot/test/integration/test_upgrade.py:169:53: E202 whitespace before ']'
if tname == tbl.name ]
^
./master/buildbot/test/integration/test_upgrade.py:174:38: E201 whitespace after '['
got_names = set([ idx['name'] for idx in got ])
^
./master/buildbot/test/integration/test_upgrade.py:174:65: E202 whitespace before ']'
got_names = set([ idx['name'] for idx in got ])
^
./master/buildbot/test/integration/test_upgrade.py:175:38: E201 whitespace after '['
exp_names = set([ idx['name'] for idx in exp ])
^
./master/buildbot/test/integration/test_upgrade.py:175:65: E202 whitespace before ']'
exp_names = set([ idx['name'] for idx in exp ])
^
./master/buildbot/test/integration/test_upgrade.py:176:37: E201 whitespace after '('
got_info = dict( (idx['name'],idx) for idx in got )
^
./master/buildbot/test/integration/test_upgrade.py:176:50: E231 missing whitespace after ','
got_info = dict( (idx['name'],idx) for idx in got )
^
./master/buildbot/test/integration/test_upgrade.py:176:70: E202 whitespace before ')'
got_info = dict( (idx['name'],idx) for idx in got )
^
./master/buildbot/test/integration/test_upgrade.py:177:37: E201 whitespace after '('
exp_info = dict( (idx['name'],idx) for idx in exp )
^
./master/buildbot/test/integration/test_upgrade.py:177:50: E231 missing whitespace after ','
exp_info = dict( (idx['name'],idx) for idx in exp )
^
./master/buildbot/test/integration/test_upgrade.py:177:70: E202 whitespace before ')'
exp_info = dict( (idx['name'],idx) for idx in exp )
^
./master/buildbot/test/integration/test_upgrade.py:180:33: E128 continuation line under-indented for visual indent
% (name, tbl.name, got_info[name]))
^
./master/buildbot/test/integration/test_upgrade.py:183:33: E128 continuation line under-indented for visual indent
% (name, tbl.name))
^
./master/buildbot/test/integration/test_upgrade.py:186:29: E128 continuation line under-indented for visual indent
unique=got_info[name]['unique'] and 1 or 0,
^
./master/buildbot/test/integration/test_upgrade.py:187:29: E128 continuation line under-indented for visual indent
column_names=sorted(got_info[name]['column_names']))
^
./master/buildbot/test/integration/test_upgrade.py:187:80: E501 line too long (80 > 79 characters)
column_names=sorted(got_info[name]['column_names']))
^
./master/buildbot/test/integration/test_upgrade.py:218:31: E203 whitespace before ':'
d.addCallback(lambda _ : self.db.model.upgrade())
^
./master/buildbot/test/integration/test_upgrade.py:219:31: E203 whitespace before ':'
d.addCallback(lambda _ : self.db.pool.do(self.verify_thd))
^
./master/buildbot/test/integration/test_upgrade.py:220:31: E203 whitespace before ':'
d.addCallback(lambda _ : self.assertModelMatches())
^
./master/buildbot/test/integration/test_upgrade.py:230:31: E203 whitespace before ':'
d.addCallback(lambda r : self.assertModelMatches())
^
./master/buildbot/test/integration/test_upgrade.py:233:1: E302 expected 2 blank lines, found 1
class UpgradeTestV075(UpgradeTestMixin,
^
./master/buildbot/test/integration/test_upgrade.py:234:22: E128 continuation line under-indented for visual indent
unittest.TestCase):
^
./master/buildbot/test/integration/test_upgrade.py:251:80: E501 line too long (81 > 79 characters)
self.failUnlessEqual(ch.author, u'the snowman <\N{SNOWMAN}@norpole.net>')
^
./master/buildbot/test/integration/test_upgrade.py:260:45: E261 at least two spaces before inline comment
self.failUnlessEqual(ch.branch, u'') # arguably a bug - should be None?
^
./master/buildbot/test/integration/test_upgrade.py:265:26: E201 whitespace after '['
filenames = set([ row.filename for row in r ])
^
./master/buildbot/test/integration/test_upgrade.py:265:52: E202 whitespace before ']'
filenames = set([ row.filename for row in r ])
^
./master/buildbot/test/integration/test_upgrade.py:277:17: E128 continuation line under-indented for visual indent
dict(author='foo', comments='foo', is_dir=0,
^
./master/buildbot/test/integration/test_upgrade.py:278:21: E128 continuation line under-indented for visual indent
when_timestamp=123, repository='', project=''))
^
./master/buildbot/test/integration/test_upgrade.py:294:21: E203 whitespace before ':'
lambda _ : self.fix_pickle_encoding('utf8'),
^
./master/buildbot/test/integration/test_upgrade.py:306:80: E501 line too long (80 > 79 characters)
# this is a big db, so we only spot-check things -- hopefully any errors
^
./master/buildbot/test/integration/test_upgrade.py:310:13: E128 continuation line under-indented for visual indent
whereclause=model.changes.c.changeid == 70))
^
./master/buildbot/test/integration/test_upgrade.py:314:80: E501 line too long (107 > 79 characters)
self.failUnlessEqual(ch.comments, u'some failing tests in check_downgrade and metapackage_version')
^
./master/buildbot/test/integration/test_upgrade.py:315:80: E501 line too long (86 > 79 characters)
self.failUnlessEqual(ch.revision, u'2ce0c33b7e10cce98e8d9c5b734b8c133ee4d320')
^
./master/buildbot/test/integration/test_upgrade.py:320:13: E128 continuation line under-indented for visual indent
whereclause=model.change_files.c.changeid == 70))
^
./master/buildbot/test/integration/test_upgrade.py:325:13: E128 continuation line under-indented for visual indent
whereclause=model.changes.c.changeid == 77))
^
./master/buildbot/test/integration/test_upgrade.py:329:80: E501 line too long (86 > 79 characters)
self.failUnlessEqual(ch.comments, u'Dependency changed, sending dummy commit')
^
./master/buildbot/test/integration/test_upgrade.py:335:13: E128 continuation line under-indented for visual indent
whereclause=model.change_files.c.changeid == 77))
^
./master/buildbot/test/integration/test_upgrade.py:352:22: E201 whitespace after '['
buildreqs = [ (br.id, br.buildsetid,
^
./master/buildbot/test/integration/test_upgrade.py:354:45: E202 whitespace before ']'
for br in r.fetchall() ]
^
./master/buildbot/test/integration/test_upgrade.py:367:37: E201 whitespace after '['
r = conn.execute(sa.select([ br_claims.outerjoin(objects,
^
./master/buildbot/test/integration/test_upgrade.py:368:21: E128 continuation line under-indented for visual indent
br_claims.c.objectid == objects.c.id)]))
^
./master/buildbot/test/integration/test_upgrade.py:371:22: E201 whitespace after '['
buildreqs = [ (brc.brid, int(brc.claimed_at), brc.name, brc.class_name)
^
./master/buildbot/test/integration/test_upgrade.py:372:46: E202 whitespace before ']'
for brc in r.fetchall() ]
^
./master/buildbot/test/integration/test_upgrade.py:386:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/integration/test_upgrade.py:412:22: E201 whitespace after '['
buildreqs = [ (br.id, br.buildsetid,
^
./master/buildbot/test/integration/test_upgrade.py:414:45: E202 whitespace before ']'
for br in r.fetchall() ]
^
./master/buildbot/test/integration/test_upgrade.py:434:37: E201 whitespace after '['
r = conn.execute(sa.select([ br_claims.outerjoin(objects,
^
./master/buildbot/test/integration/test_upgrade.py:435:21: E128 continuation line under-indented for visual indent
br_claims.c.objectid == objects.c.id)]))
^
./master/buildbot/test/integration/test_upgrade.py:438:22: E201 whitespace after '['
buildreqs = [ (brc.brid, int(brc.claimed_at), brc.name, brc.class_name)
^
./master/buildbot/test/integration/test_upgrade.py:439:46: E202 whitespace before ']'
for brc in r.fetchall() ]
^
./master/buildbot/test/integration/test_upgrade.py:472:22: E201 whitespace after '['
buildreqs = [ (br.id, br.buildsetid,
^
./master/buildbot/test/integration/test_upgrade.py:474:45: E202 whitespace before ']'
for br in r.fetchall() ]
^
./master/buildbot/test/integration/test_upgrade.py:487:37: E201 whitespace after '['
r = conn.execute(sa.select([ br_claims.outerjoin(objects,
^
./master/buildbot/test/integration/test_upgrade.py:488:21: E128 continuation line under-indented for visual indent
br_claims.c.objectid == objects.c.id)]))
^
./master/buildbot/test/integration/test_upgrade.py:491:22: E201 whitespace after '['
buildreqs = [ (brc.brid, int(brc.claimed_at), brc.name, brc.class_name)
^
./master/buildbot/test/integration/test_upgrade.py:492:46: E202 whitespace before ']'
for brc in r.fetchall() ]
^
./master/buildbot/test/integration/test_upgrade.py:517:22: E201 whitespace after '['
buildreqs = [ (br.id, br.buildsetid,
^
./master/buildbot/test/integration/test_upgrade.py:519:45: E202 whitespace before ']'
for br in r.fetchall() ]
^
./master/buildbot/test/integration/test_upgrade.py:524:37: E201 whitespace after '['
r = conn.execute(sa.select([ br_claims.outerjoin(objects,
^
./master/buildbot/test/integration/test_upgrade.py:525:21: E128 continuation line under-indented for visual indent
br_claims.c.objectid == objects.c.id)]))
^
./master/buildbot/test/integration/test_upgrade.py:526:22: E201 whitespace after '['
buildreqs = [ (brc.brid, int(brc.claimed_at), brc.name, brc.class_name)
^
./master/buildbot/test/integration/test_upgrade.py:527:46: E202 whitespace before ']'
for brc in r.fetchall() ]
^
./master/buildbot/test/integration/test_upgrade.py:537:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/integration/test_upgrade.py:552:17: E128 continuation line under-indented for visual indent
"The web-page 'rebuild' button was pressed by '<unknown>': \n")
^
./master/buildbot/test/integration/test_upgrade.py:566:22: E201 whitespace after '['
buildreqs = [ (br.id, br.buildsetid,
^
./master/buildbot/test/integration/test_upgrade.py:568:45: E202 whitespace before ']'
for br in r.fetchall() ]
^
./master/buildbot/test/integration/test_upgrade.py:569:52: E261 at least two spaces before inline comment
self.assertEqual(buildreqs, [(1, 1, 1, 4)]) # note EXCEPTION status
^
./master/buildbot/test/integration/test_upgrade.py:573:37: E201 whitespace after '['
r = conn.execute(sa.select([ br_claims.outerjoin(objects,
^
./master/buildbot/test/integration/test_upgrade.py:574:21: E128 continuation line under-indented for visual indent
br_claims.c.objectid == objects.c.id)]))
^
./master/buildbot/test/integration/test_upgrade.py:575:22: E201 whitespace after '['
buildreqs = [ (brc.brid, int(brc.claimed_at), brc.name, brc.class_name)
^
./master/buildbot/test/integration/test_upgrade.py:576:46: E202 whitespace before ']'
for brc in r.fetchall() ]
^
./master/buildbot/test/integration/test_upgrade.py:584:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/integration/test_upgrade.py:610:22: E201 whitespace after '['
buildreqs = [ (br.id, br.buildsetid,
^
./master/buildbot/test/integration/test_upgrade.py:612:45: E202 whitespace before ']'
for br in r.fetchall() ]
^
./master/buildbot/test/integration/test_upgrade.py:613:66: E261 at least two spaces before inline comment
self.assertEqual(buildreqs, [(1, 1, 1, 0), (2, 2, 1, 0)]) # two successful builds
^
./master/buildbot/test/integration/test_upgrade.py:613:80: E501 line too long (89 > 79 characters)
self.assertEqual(buildreqs, [(1, 1, 1, 0), (2, 2, 1, 0)]) # two successful builds
^
./master/buildbot/test/integration/test_upgrade.py:617:37: E201 whitespace after '['
r = conn.execute(sa.select([ br_claims.outerjoin(objects,
^
./master/buildbot/test/integration/test_upgrade.py:618:21: E128 continuation line under-indented for visual indent
br_claims.c.objectid == objects.c.id)]))
^
./master/buildbot/test/integration/test_upgrade.py:619:22: E201 whitespace after '['
buildreqs = [ (brc.brid, int(brc.claimed_at), brc.name, brc.class_name)
^
./master/buildbot/test/integration/test_upgrade.py:620:46: E202 whitespace before ']'
for brc in r.fetchall() ]
^
./master/buildbot/test/integration/test_upgrade.py:622:80: E501 line too long (88 > 79 characters)
(1, 1363642117, u'Eriks-MacBook-Air.local:/Users/erik/buildbot-work/master',
^
./master/buildbot/test/integration/test_upgrade.py:624:80: E501 line too long (88 > 79 characters)
(2, 1363642156, u'Eriks-MacBook-Air.local:/Users/erik/buildbot-work/master',
^
./master/buildbot/test/integration/test_upgrade.py:637:9: E301 expected 1 blank line, found 0
def make_dbc(_):
^
./master/buildbot/test/integration/test_upgrade.py:649:80: E501 line too long (92 > 79 characters)
# sometimes the 'filenames' in a Change object are actually lists of files. I don't
^
./master/buildbot/test/integration/test_upgrade.py:652:17: E126 continuation line over-indented for hanging indent
self.make_change(
^
./master/buildbot/test/integration/test_upgrade.py:654:34: E231 missing whitespace after ','
files=[["foo","bar"], ['bing'], 'baz'],
^
./master/buildbot/test/integration/test_upgrade.py:660:31: E203 whitespace before ':'
d.addCallback(lambda _ : self.db.changes.getChange(1))
^
./master/buildbot/test/integration/test_upgrade.py:661:9: E301 expected 1 blank line, found 0
def check(c):
^
./master/buildbot/test/integration/test_upgrade.py:671:17: E126 continuation line over-indented for hanging indent
self.make_change(
^
./master/buildbot/test/integration/test_upgrade.py:684:31: E203 whitespace before ':'
d.addCallback(lambda _ : self.db.changes.getChange(1))
^
./master/buildbot/test/integration/test_upgrade.py:685:9: E301 expected 1 blank line, found 0
def check(c):
^
./master/buildbot/test/integration/test_upgrade.py:690:80: E501 line too long (83 > 79 characters)
self.assertEquals(c['properties'].get('str')[0], u'SNOW\N{SNOWMAN}MAN')
^
./master/buildbot/test/integration/test_upgrade.py:698:17: E126 continuation line over-indented for hanging indent
self.make_change(
^
./master/buildbot/test/integration/test_upgrade.py:704:31: E203 whitespace before ':'
d.addCallback(lambda _ : self.db.changes.getChange(1))
^
./master/buildbot/test/integration/test_upgrade.py:705:9: E301 expected 1 blank line, found 0
def check(c):
^
./master/buildbot/test/integration/test_upgrade.py:710:1: E302 expected 2 blank lines, found 1
class TestPickles(unittest.TestCase):
^
./master/buildbot/test/util/change_import.py:25:1: E302 expected 2 blank lines, found 1
class ChangeImportMixin(db.RealDatabaseMixin):
^
./master/buildbot/test/util/change_import.py:35:80: E501 line too long (81 > 79 characters)
# on postgres, at least, many of these tests can take longer than the default
^
./master/buildbot/test/util/change_import.py:61:9: E301 expected 1 blank line, found 0
def rmtree(_):
^
./master/buildbot/test/util/changesource.py:21:1: E302 expected 2 blank lines, found 1
class ChangeSourceMixin(object):
^
./master/buildbot/test/util/changesource.py:36:9: E301 expected 1 blank line, found 0
def addChange(**kwargs):
^
./master/buildbot/test/util/changesource.py:38:18: E231 missing whitespace after ','
for k,v in kwargs.items():
^
./master/buildbot/test/util/changesource.py:39:28: E721 do not compare types, use 'isinstance()'
if type(v) == type(""):
^
./master/buildbot/test/util/changesource.py:44:33: E126 continuation line over-indented for hanging indent
"non-ascii string for key '%s': %r" % (k,v))
^
./master/buildbot/test/util/changesource.py:44:73: E231 missing whitespace after ','
"non-ascii string for key '%s': %r" % (k,v))
^
./master/buildbot/test/util/changesource.py:72:9: E301 expected 1 blank line, found 0
def mark_stopped(_):
^
./master/buildbot/test/util/compat.py:20:1: E302 expected 2 blank lines, found 1
def usesFlushLoggedErrors(test):
^
./master/buildbot/test/util/compat.py:22:35: E231 missing whitespace after ','
if (sys.version_info[:2] == (2,7)
^
./master/buildbot/test/util/compat.py:28:1: E302 expected 2 blank lines, found 1
def usesFlushWarnings(test):
^
./master/buildbot/test/util/compat.py:30:35: E231 missing whitespace after ','
if (sys.version_info[:2] == (2,7)
^
./master/buildbot/test/util/compat.py:36:1: E302 expected 2 blank lines, found 1
def skipUnlessPlatformIs(platform):
^
./master/buildbot/test/util/config.py:18:1: E302 expected 2 blank lines, found 1
class ConfigErrorsMixin(object):
^
./master/buildbot/test/util/connector_component.py:20:1: E302 expected 2 blank lines, found 1
class FakeDBConnector(object):
^
./master/buildbot/test/util/connector_component.py:23:1: E302 expected 2 blank lines, found 1
class ConnectorComponentMixin(db.RealDatabaseMixin):
^
./master/buildbot/test/util/connector_component.py:37:9: E301 expected 1 blank line, found 0
def finish_setup(_):
^
./master/buildbot/test/util/connector_component.py:47:9: E301 expected 1 blank line, found 0
def finish_cleanup(_):
^
./master/buildbot/test/util/db.py:24:1: E302 expected 2 blank lines, found 1
def skip_for_dialect(dialect):
^
./master/buildbot/test/util/db.py:30:25: E126 continuation line over-indented for hanging indent
"Not supported on dialect '%s'" % dialect)
^
./master/buildbot/test/util/db.py:35:1: E302 expected 2 blank lines, found 1
class RealDatabaseMixin(object):
^
./master/buildbot/test/util/db.py:75:27: E201 whitespace after '['
ordered_tables = [ t for t in model.Model.metadata.sorted_tables
^
./master/buildbot/test/util/db.py:76:25: E128 continuation line under-indented for visual indent
if t.name in all_table_names ]
^
./master/buildbot/test/util/db.py:76:53: E202 whitespace before ']'
if t.name in all_table_names ]
^
./master/buildbot/test/util/db.py:107:53: E128 continuation line under-indented for visual indent
basedir=basedir)
^
./master/buildbot/test/util/db.py:116:31: E203 whitespace before ':'
d.addCallback(lambda _ :
^
./master/buildbot/test/util/db.py:117:17: E128 continuation line under-indented for visual indent
self.db_pool.do(self.__thd_create_tables, table_names))
^
./master/buildbot/test/util/db.py:135:32: E201 whitespace after '['
all_table_names = set([ row.table for row in rows ])
^
./master/buildbot/test/util/db.py:135:58: E202 whitespace before ']'
all_table_names = set([ row.table for row in rows ])
^
./master/buildbot/test/util/db.py:136:27: E201 whitespace after '['
ordered_tables = [ t for t in model.Model.metadata.sorted_tables
^
./master/buildbot/test/util/db.py:137:56: E202 whitespace before ']'
if t.name in all_table_names ]
^
./master/buildbot/test/util/db.py:138:9: E301 expected 1 blank line, found 0
def thd(conn):
^
./master/buildbot/test/util/db.py:141:29: E201 whitespace after '['
for row in [ r for r in rows if r.table == tbl.name ]:
^
./master/buildbot/test/util/db.py:141:68: E202 whitespace before ']'
for row in [ r for r in rows if r.table == tbl.name ]:
^
./master/buildbot/test/util/db.py:149:1: W391 blank line at end of file
^
./master/buildbot/test/util/dirs.py:20:1: E302 expected 2 blank lines, found 1
class DirsMixin(object):
^
./master/buildbot/test/util/gpo.py:18:1: E302 expected 2 blank lines, found 1
class Expect(object):
^
./master/buildbot/test/util/gpo.py:46:17: E126 continuation line over-indented for hanging indent
dict(bin=bin, path=path, args=tuple(args)),
^
./master/buildbot/test/util/gpo.py:47:17: E126 continuation line over-indented for hanging indent
dict(bin=self._bin, path=self._path, args=self._args),
^
./master/buildbot/test/util/gpo.py:48:17: E126 continuation line over-indented for hanging indent
"unexpected command run")
^
./master/buildbot/test/util/gpo.py:70:17: E128 continuation line under-indented for visual indent
'Expected environment to have %s = %r' % (var, value))
^
./master/buildbot/test/util/gpo.py:73:13: E128 continuation line under-indented for visual indent
errortoo=False, path=None):
^
./master/buildbot/test/util/gpo.py:75:17: E128 continuation line under-indented for visual indent
path=path)
^
./master/buildbot/test/util/gpo.py:76:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/util/gpo.py:89:13: E128 continuation line under-indented for visual indent
path=None):
^
./master/buildbot/test/util/gpo.py:93:80: E501 line too long (80 > 79 characters)
self.fail("got command %s %s when no further commands were expected"
^
./master/buildbot/test/util/gpo.py:94:21: E128 continuation line under-indented for visual indent
% (bin, args))
^
./master/buildbot/test/util/gpo.py:102:29: E127 continuation line over-indented for visual indent
self.patched_getProcessOutput)
^
./master/buildbot/test/util/gpo.py:104:29: E127 continuation line over-indented for visual indent
self.patched_getProcessOutputAndValue)
^
./master/buildbot/test/util/interfaces.py:18:1: E302 expected 2 blank lines, found 1
class InterfaceTests(object):
^
./master/buildbot/test/util/interfaces.py:49:21: E126 continuation line over-indented for hanging indent
inspect.getargspec(remove_decorators(actual)))
^
./master/buildbot/test/util/interfaces.py:51:21: E126 continuation line over-indented for hanging indent
inspect.getargspec(remove_decorators(template)))
^
./master/buildbot/test/util/logging.py:19:1: E302 expected 2 blank lines, found 1
class LoggingMixin(object):
^
./master/buildbot/test/util/migration.py:40:9: E301 expected 1 blank line, found 0
def make_dbc(_):
^
./master/buildbot/test/util/migration.py:52:29: E127 continuation line over-indented for visual indent
setup_thd_cb, verify_thd_cb):
^
./master/buildbot/test/util/migration.py:54:9: E301 expected 1 blank line, found 0
def setup_thd(conn):
^
./master/buildbot/test/util/migration.py:57:21: E128 continuation line under-indented for visual indent
sa.Column('repository_id', sa.String(250),
^
./master/buildbot/test/util/migration.py:58:41: E127 continuation line over-indented for visual indent
primary_key=True),
^
./master/buildbot/test/util/migration.py:59:21: E128 continuation line under-indented for visual indent
sa.Column('repository_path', sa.Text),
^
./master/buildbot/test/util/migration.py:60:21: E128 continuation line under-indented for visual indent
sa.Column('version', sa.Integer))
^
./master/buildbot/test/util/migration.py:63:21: E128 continuation line under-indented for visual indent
repository_id='Buildbot',
^
./master/buildbot/test/util/migration.py:64:21: E128 continuation line under-indented for visual indent
repository_path=self.db.model.repo_path,
^
./master/buildbot/test/util/migration.py:65:21: E128 continuation line under-indented for visual indent
version=base_version)
^
./master/buildbot/test/util/migration.py:67:31: E203 whitespace before ':'
d.addCallback(lambda _ : self.db.pool.do(setup_thd))
^
./master/buildbot/test/util/migration.py:72:53: E128 continuation line under-indented for visual indent
self.db.model.repo_path)
^
./master/buildbot/test/util/migration.py:77:31: E203 whitespace before ':'
d.addCallback(lambda _ : self.db.pool.do_with_engine(upgrade_thd))
^
./master/buildbot/test/util/migration.py:79:31: E203 whitespace before ':'
d.addCallback(lambda _ : self.db.pool.do(verify_thd_cb))
^
./master/buildbot/test/util/misc.py:20:1: E302 expected 2 blank lines, found 1
class PatcherMixin(object):
^
./master/buildbot/test/util/misc.py:36:1: E302 expected 2 blank lines, found 1
class StdoutAssertionsMixin(object):
^
./master/buildbot/test/util/pbmanager.py:19:1: E302 expected 2 blank lines, found 1
class PBManagerMixin:
^
./master/buildbot/test/util/pbmanager.py:29:9: E301 expected 1 blank line, found 0
def unregister():
^
./master/buildbot/test/util/pbmanager.py:44:17: E128 continuation line under-indented for visual indent
((portstr, username, password), self.registrations))
^
./master/buildbot/test/util/properties.py:19:1: E302 expected 2 blank lines, found 1
class ConstantRenderable(object):
^
./master/buildbot/test/util/properties.py:21:5: E301 expected 1 blank line, found 0
def __init__(self, value):
^
./master/buildbot/test/util/properties.py:23:5: E301 expected 1 blank line, found 0
def getRenderingFor(self, props):
^
./master/buildbot/test/util/querylog.py:24:1: E302 expected 2 blank lines, found 1
class PythonToTwistedHandler(logging.Handler):
^
./master/buildbot/test/util/querylog.py:29:1: E302 expected 2 blank lines, found 1
def log_from_engine(engine):
^
./master/buildbot/test/util/scheduler.py:20:1: E302 expected 2 blank lines, found 1
class FakeMaster(object):
^
./master/buildbot/test/util/scheduler.py:39:9: E301 expected 1 blank line, found 0
def unsub():
^
./master/buildbot/test/util/scheduler.py:115:17: E128 continuation line under-indented for visual indent
class_name='SomeScheduler'),
^
./master/buildbot/test/util/scheduler.py:125:14: E225 missing whitespace around operator
isdir=0
^
./master/buildbot/test/util/scheduler.py:126:14: E225 missing whitespace around operator
links=None
^
./master/buildbot/test/util/scheduler.py:127:17: E225 missing whitespace around operator
revision=None
^
./master/buildbot/test/util/scheduler.py:128:13: E225 missing whitespace around operator
when=None
^
./master/buildbot/test/util/scheduler.py:129:15: E225 missing whitespace around operator
branch=None
^
./master/buildbot/test/util/scheduler.py:130:17: E225 missing whitespace around operator
category=None
^
./master/buildbot/test/util/scheduler.py:131:16: E225 missing whitespace around operator
revlink=''
^
./master/buildbot/test/util/scheduler.py:132:19: E225 missing whitespace around operator
properties={}
^
./master/buildbot/test/util/scheduler.py:133:19: E225 missing whitespace around operator
repository=''
^
./master/buildbot/test/util/scheduler.py:134:16: E225 missing whitespace around operator
project=''
^
./master/buildbot/test/util/scheduler.py:135:17: E225 missing whitespace around operator
codebase=''
^
./master/buildbot/test/util/sourcesteps.py:21:1: E302 expected 2 blank lines, found 1
class SourceStepMixin(steps.BuildStepMixin):
^
./master/buildbot/test/util/sourcesteps.py:44:80: E501 line too long (80 > 79 characters)
Set up C{step} for testing. This calls L{BuildStepMixin}'s C{setupStep}
^
./master/buildbot/test/util/sourcesteps.py:61:1: W391 blank line at end of file
^
./master/buildbot/test/util/steps.py:46:17: E128 continuation line under-indented for visual indent
remotecommand.FakeRemoteCommand)
^
./master/buildbot/test/util/steps.py:48:17: E128 continuation line under-indented for visual indent
remotecommand.FakeRemoteShellCommand)
^
./master/buildbot/test/util/steps.py:57:49: E231 missing whitespace after ':'
def setupStep(self, step, slave_version={'*':"99.99"}, slave_env={}):
^
./master/buildbot/test/util/steps.py:80:9: E301 expected 1 blank line, found 0
def getSlaveVersion(cmd, oldversion):
^
./master/buildbot/test/util/steps.py:112:28: E203 whitespace before ':'
ss.getLogs = lambda : ss.logs.values()
^
./master/buildbot/test/util/steps.py:144:9: E301 expected 1 blank line, found 0
def addLogObserver(logname, observer):
^
./master/buildbot/test/util/steps.py:194:1: W293 blank line contains whitespace
^
./master/buildbot/test/util/steps.py:210:9: E301 expected 1 blank line, found 0
def check(result):
^
./master/buildbot/test/util/steps.py:214:25: E128 continuation line under-indented for visual indent
status_text=self.step_status.status_text)
^
./master/buildbot/test/util/steps.py:215:80: E501 line too long (84 > 79 characters)
self.assertEqual(got_outcome, self.exp_outcome, "expected step outcome")
^
./master/buildbot/test/util/steps.py:218:25: E128 continuation line under-indented for visual indent
"missing property '%s'" % pn)
^
./master/buildbot/test/util/steps.py:219:80: E501 line too long (91 > 79 characters)
self.assertEqual(self.properties.getProperty(pn), pv, "property '%s'" % pn)
^
./master/buildbot/test/util/steps.py:221:80: E501 line too long (108 > 79 characters)
self.assertEqual(self.properties.getPropertySource(pn), ps, "property '%s' source" % pn)
^
./master/buildbot/test/util/steps.py:223:80: E501 line too long (98 > 79 characters)
self.assertFalse(self.properties.hasProperty(pn), "unexpected property '%s'" % pn)
^
./master/buildbot/test/util/steps.py:225:80: E501 line too long (104 > 79 characters)
self.assertEqual(self.step_status.logs[log].stdout, contents, "log '%s' contents" % log)
^
./master/buildbot/test/util/steps.py:239:21: E128 continuation line under-indented for visual indent
% (got,))
^
./master/buildbot/test/util/steps.py:246:21: E128 continuation line under-indented for visual indent
"incomparable arg '%s' not received" % (arg,))
^
./master/buildbot/test/util/steps.py:256:1: W391 blank line at end of file
^
./master/buildbot/test/unit/test_buildslave_base.py:24:1: E302 expected 2 blank lines, found 1
class TestAbstractBuildSlave(unittest.TestCase):
^
./master/buildbot/test/unit/test_buildslave_base.py:41:21: W291 trailing whitespace
return slave
^
./master/buildbot/test/unit/test_buildslave_base.py:57:17: E128 continuation line under-indented for visual indent
max_builds=2,
^
./master/buildbot/test/unit/test_buildslave_base.py:58:17: E128 continuation line under-indented for visual indent
notify_on_missing=['me@me.com'],
^
./master/buildbot/test/unit/test_buildslave_base.py:59:17: E126 continuation line over-indented for hanging indent
missing_timeout=120,
^
./master/buildbot/test/unit/test_buildslave_base.py:60:17: E126 continuation line over-indented for hanging indent
properties={'a':'b'},
^
./master/buildbot/test/unit/test_buildslave_base.py:60:32: E231 missing whitespace after ':'
properties={'a':'b'},
^
./master/buildbot/test/unit/test_buildslave_base.py:61:17: E126 continuation line over-indented for hanging indent
locks=[lock1, lock2],
^
./master/buildbot/test/unit/test_buildslave_base.py:62:17: E126 continuation line over-indented for hanging indent
keepalive_interval=60)
^
./master/buildbot/test/unit/test_buildslave_base.py:72:17: E128 continuation line under-indented for visual indent
notify_on_missing='foo@foo.com')
^
./master/buildbot/test/unit/test_buildslave_base.py:77:54: E203 whitespace before ':'
self.assertRaises(config.ConfigErrors, lambda :
^
./master/buildbot/test/unit/test_buildslave_base.py:78:13: E128 continuation line under-indented for visual indent
self.ConcreteBuildSlave('bot', 'pass',
^
./master/buildbot/test/unit/test_buildslave_base.py:79:21: E128 continuation line under-indented for visual indent
notify_on_missing=['a@b.com', 13]))
^
./master/buildbot/test/unit/test_buildslave_base.py:86:21: E126 continuation line over-indented for hanging indent
pbmanager.FakeRegistration(self.master.pbmanager, old_port, old.slavename)
^
./master/buildbot/test/unit/test_buildslave_base.py:86:80: E501 line too long (94 > 79 characters)
pbmanager.FakeRegistration(self.master.pbmanager, old_port, old.slavename)
^
./master/buildbot/test/unit/test_buildslave_base.py:93:30: E201 whitespace after '['
new_config.slaves = [ new ]
^
./master/buildbot/test/unit/test_buildslave_base.py:93:34: E202 whitespace before ']'
new_config.slaves = [ new ]
^
./master/buildbot/test/unit/test_buildslave_base.py:100:17: E128 continuation line under-indented for visual indent
max_builds=2,
^
./master/buildbot/test/unit/test_buildslave_base.py:101:17: E128 continuation line under-indented for visual indent
notify_on_missing=['me@me.com'],
^
./master/buildbot/test/unit/test_buildslave_base.py:102:17: E126 continuation line over-indented for hanging indent
missing_timeout=120,
^
./master/buildbot/test/unit/test_buildslave_base.py:103:17: E126 continuation line over-indented for hanging indent
properties={'a':'b'},
^
./master/buildbot/test/unit/test_buildslave_base.py:103:32: E231 missing whitespace after ':'
properties={'a':'b'},
^
./master/buildbot/test/unit/test_buildslave_base.py:104:17: E126 continuation line over-indented for hanging indent
keepalive_interval=60)
^
./master/buildbot/test/unit/test_buildslave_base.py:106:17: E128 continuation line under-indented for visual indent
max_builds=3,
^
./master/buildbot/test/unit/test_buildslave_base.py:107:17: E128 continuation line under-indented for visual indent
notify_on_missing=['her@me.com'],
^
./master/buildbot/test/unit/test_buildslave_base.py:108:17: E126 continuation line over-indented for hanging indent
missing_timeout=121,
^
./master/buildbot/test/unit/test_buildslave_base.py:109:17: E126 continuation line over-indented for hanging indent
properties={'a':'c'},
^
./master/buildbot/test/unit/test_buildslave_base.py:109:32: E231 missing whitespace after ':'
properties={'a':'c'},
^
./master/buildbot/test/unit/test_buildslave_base.py:110:17: E126 continuation line over-indented for hanging indent
keepalive_interval=61)
^
./master/buildbot/test/unit/test_buildslave_base.py:112:55: E203 whitespace before ':'
old.updateSlave = mock.Mock(side_effect=lambda : defer.succeed(None))
^
./master/buildbot/test/unit/test_buildslave_base.py:134:80: E501 line too long (93 > 79 characters)
self.assertEqual(self.master.pbmanager._registrations, [('tcp:1234', 'bot', 'pass')])
^
./master/buildbot/test/unit/test_buildslave_base.py:144:80: E501 line too long (87 > 79 characters)
self.assertEqual(self.master.pbmanager._unregistrations, [('tcp:1234', 'bot')])
^
./master/buildbot/test/unit/test_buildslave_base.py:145:80: E501 line too long (96 > 79 characters)
self.assertEqual(self.master.pbmanager._registrations, [('tcp:1234', 'bot', 'newpass')])
^
./master/buildbot/test/unit/test_buildslave_base.py:154:80: E501 line too long (87 > 79 characters)
self.assertEqual(self.master.pbmanager._unregistrations, [('tcp:1234', 'bot')])
^
./master/buildbot/test/unit/test_buildslave_base.py:155:80: E501 line too long (93 > 79 characters)
self.assertEqual(self.master.pbmanager._registrations, [('tcp:5678', 'bot', 'pass')])
^
./master/buildbot/test/unit/test_buildslave_base.py:164:26: E201 whitespace after '['
config.slaves = [ slave ]
^
./master/buildbot/test/unit/test_buildslave_base.py:164:32: E202 whitespace before ']'
config.slaves = [ slave ]
^
./master/buildbot/test/unit/test_buildslave_base.py:169:80: E501 line too long (87 > 79 characters)
self.assertEqual(self.master.pbmanager._unregistrations, [('tcp:1234', 'bot')])
^
./master/buildbot/test/unit/test_buildslave_base.py:170:80: E501 line too long (93 > 79 characters)
self.assertEqual(self.master.pbmanager._registrations, [('tcp:1234', 'bot', 'pass')])
^
./master/buildbot/test/unit/test_buildslave_base.py:180:17: E128 continuation line under-indented for visual indent
notify_on_missing=['abc'],
^
./master/buildbot/test/unit/test_buildslave_base.py:181:17: E126 continuation line over-indented for hanging indent
missing_timeout=10)
^
./master/buildbot/test/unit/test_buildslave_base.py:187:17: E128 continuation line under-indented for visual indent
notify_on_missing=['abc'],
^
./master/buildbot/test/unit/test_buildslave_base.py:188:17: E126 continuation line over-indented for hanging indent
missing_timeout=0)
^
./master/buildbot/test/unit/test_buildslave_base.py:195:17: E128 continuation line under-indented for visual indent
missing_timeout=3600)
^
./master/buildbot/test/unit/test_buildslave_base.py:202:17: E128 continuation line under-indented for visual indent
notify_on_missing=['abc'],
^
./master/buildbot/test/unit/test_buildslave_base.py:203:17: E126 continuation line over-indented for hanging indent
missing_timeout=100)
^
./master/buildbot/test/unit/test_buildslave_base.py:227:58: E251 unexpected spaces around keyword / parameter equals
bs = self.ConcreteBuildSlave('bot', 'pass', locks = [lock.access("counting")])
^
./master/buildbot/test/unit/test_buildslave_base.py:227:60: E251 unexpected spaces around keyword / parameter equals
bs = self.ConcreteBuildSlave('bot', 'pass', locks = [lock.access("counting")])
^
./master/buildbot/test/unit/test_buildslave_base.py:227:80: E501 line too long (86 > 79 characters)
bs = self.ConcreteBuildSlave('bot', 'pass', locks = [lock.access("counting")])
^
./master/buildbot/test/unit/test_buildslave_base.py:238:58: E251 unexpected spaces around keyword / parameter equals
bs = self.ConcreteBuildSlave('bot', 'pass', locks = [lock.access("counting")])
^
./master/buildbot/test/unit/test_buildslave_base.py:238:60: E251 unexpected spaces around keyword / parameter equals
bs = self.ConcreteBuildSlave('bot', 'pass', locks = [lock.access("counting")])
^
./master/buildbot/test/unit/test_buildslave_base.py:238:80: E501 line too long (86 > 79 characters)
bs = self.ConcreteBuildSlave('bot', 'pass', locks = [lock.access("counting")])
^
./master/buildbot/test/unit/test_buildslave_base.py:254:49: W291 trailing whitespace
fakedb.Buildslave(name='bot', info={
^
./master/buildbot/test/unit/test_buildslave_base.py:267:59: E231 missing whitespace after ','
self.assertEqual(slave.slave_status.getAccessURI(),'TheURI')
^
./master/buildbot/test/unit/test_buildslave_base.py:284:1: W293 blank line contains whitespace
^
./master/buildbot/test/unit/test_buildslave_base.py:301:60: E231 missing whitespace after ','
self.assertEqual(bot.commands[4], ('setBuilderList',[]))
^
./master/buildbot/test/unit/test_buildslave_base.py:309:80: E501 line too long (80 > 79 characters)
bot.response['print'] = mock.Mock(return_value=defer.fail(ValueError()))
^
./master/buildbot/test/unit/test_buildslave_base.py:352:80: E501 line too long (88 > 79 characters)
bot.response['getVersion'] = mock.Mock(return_value=defer.succeed("TheVersion"))
^
./master/buildbot/test/unit/test_buildslave_base.py:367:24: E231 missing whitespace after ','
COMMANDS = ['a','b']
^
./master/buildbot/test/unit/test_buildslave_base.py:370:80: E501 line too long (85 > 79 characters)
bot.response['getCommands'] = mock.Mock(return_value=defer.succeed(COMMANDS))
^
./master/buildbot/test/unit/test_buildslave_base.py:394:49: W291 trailing whitespace
fakedb.Buildslave(name='bot', info={
^
./master/buildbot/test/unit/test_buildslave_base.py:405:80: E501 line too long (88 > 79 characters)
bot.response['getVersion'] = mock.Mock(return_value=defer.succeed("TheVersion"))
^
./master/buildbot/test/unit/test_buildslave_base.py:415:59: E231 missing whitespace after ','
self.assertEqual(slave.slave_status.getAccessURI(),'TheURI')
^
./master/buildbot/test/unit/test_buildslave_base.py:419:80: E501 line too long (80 > 79 characters)
buildslave = yield self.master.db.buildslaves.getBuildslaveByName("bot")
^
./master/buildbot/test/unit/test_buildslave_base.py:420:1: W293 blank line contains whitespace
^
./master/buildbot/test/unit/test_buildslave_base.py:425:1: W391 blank line at end of file
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:39:13: E128 continuation line under-indented for visual indent
'bot', 'pass', None, 'path', 'path')
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:42:80: E501 line too long (83 > 79 characters)
bs = self.ConcreteBuildSlave('bot', 'pass', self.conn, 'path', 'otherpath')
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:64:53: E231 missing whitespace after ','
utils.getProcessValue.side_effect = lambda x,y: defer.succeed(0)
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:75:53: E231 missing whitespace after ','
utils.getProcessValue.side_effect = lambda x,y: defer.succeed(0)
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:88:53: E231 missing whitespace after ','
utils.getProcessValue.side_effect = lambda x,y: defer.succeed(0)
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:101:13: E128 continuation line under-indented for visual indent
xml='<xml/>')
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:116:13: E128 continuation line under-indented for visual indent
xml='<xml/>')
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:123:41: E203 whitespace before ':'
create.side_effect = lambda self : defer.fail(
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:124:17: E126 continuation line over-indented for hanging indent
failure.Failure(RuntimeError('oh noes')))
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:149:80: E501 line too long (84 > 79 characters)
If a LibVirtSlave hasnt finished scanning for existing VMs then we shouldn't
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:150:80: E501 line too long (89 > 79 characters)
start builds on it as it might create a 2nd VM when we want to reuse the existing
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:160:80: E501 line too long (85 > 79 characters)
If we've found that the VM this slave would instance already exists but hasnt
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:170:80: E501 line too long (85 > 79 characters)
If we've found an existing VM and it is connected then we should start builds
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:196:21: E128 continuation line under-indented for visual indent
failure.Failure(RuntimeError("Test failure")))
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:204:9: E301 expected 1 blank line, found 0
def errback(f):
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:250:46: E202 whitespace before '}'
flags = {1: False, 2: False, 3: False }
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:252:80: E501 line too long (80 > 79 characters)
# When first deferred fires, flags[2] and flags[3] should still be false
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:255:9: E301 expected 1 blank line, found 0
def cb1(res):
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:265:9: E301 expected 1 blank line, found 0
def cb2(res):
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:266:29: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
assert flags[2] == False
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:268:29: E712 comparison to True should be 'if cond is True:' or 'if cond:'
assert flags[1] == True
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:269:29: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
assert flags[3] == False
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:274:9: E301 expected 1 blank line, found 0
def cb3(res):
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:275:29: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
assert flags[3] == False
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:277:29: E712 comparison to True should be 'if cond is True:' or 'if cond:'
assert flags[1] == True
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:278:29: E712 comparison to True should be 'if cond is True:' or 'if cond:'
assert flags[2] == True
^
./master/buildbot/test/unit/test_buildslave_libvirt.py:282:1: W391 blank line at end of file
^
./master/buildbot/test/unit/test_buildslave_openstack.py:23:1: E302 expected 2 blank lines, found 1
class TestOpenStackBuildSlave(unittest.TestCase):
^
./master/buildbot/test/unit/test_buildslave_openstack.py:33:17: E128 continuation line under-indented for visual indent
openstack.OpenStackLatentBuildSlave, 'bot', 'pass', flavor=1,
^
./master/buildbot/test/unit/test_buildslave_openstack.py:34:17: E128 continuation line under-indented for visual indent
image='image', os_username='user', os_password='pass',
^
./master/buildbot/test/unit/test_buildslave_openstack.py:35:17: E128 continuation line under-indented for visual indent
os_tenant_name='tenant', os_auth_url='auth')
^
./master/buildbot/test/unit/test_buildslave_openstack.py:39:17: E128 continuation line under-indented for visual indent
image='image', os_username='user', os_password='pass',
^
./master/buildbot/test/unit/test_buildslave_openstack.py:40:17: E128 continuation line under-indented for visual indent
os_tenant_name='tenant', os_auth_url='auth')
^
./master/buildbot/test/unit/test_buildslave_openstack.py:52:17: E128 continuation line under-indented for visual indent
image='image-uuid', os_username='user', os_password='pass',
^
./master/buildbot/test/unit/test_buildslave_openstack.py:53:17: E128 continuation line under-indented for visual indent
os_tenant_name='tenant', os_auth_url='auth')
^
./master/buildbot/test/unit/test_buildslave_openstack.py:61:17: E128 continuation line under-indented for visual indent
image=image_callable, os_username='user', os_password='pass',
^
./master/buildbot/test/unit/test_buildslave_openstack.py:62:17: E128 continuation line under-indented for visual indent
os_tenant_name='tenant', os_auth_url='auth')
^
./master/buildbot/test/unit/test_buildslave_openstack.py:69:17: E128 continuation line under-indented for visual indent
image='image-uuid', os_username='user', os_password='pass',
^
./master/buildbot/test/unit/test_buildslave_openstack.py:70:17: E128 continuation line under-indented for visual indent
os_tenant_name='tenant', os_auth_url='auth')
^
./master/buildbot/test/unit/test_buildslave_openstack.py:76:17: E128 continuation line under-indented for visual indent
image='image-uuid', os_username='user', os_password='pass',
^
./master/buildbot/test/unit/test_buildslave_openstack.py:77:17: E128 continuation line under-indented for visual indent
os_tenant_name='tenant', os_auth_url='auth')
^
./master/buildbot/test/unit/test_buildslave_openstack.py:81:17: E128 continuation line under-indented for visual indent
bs._start_instance)
^
./master/buildbot/test/unit/test_buildslave_openstack.py:85:17: E128 continuation line under-indented for visual indent
image='image-uuid', os_username='user', os_password='pass',
^
./master/buildbot/test/unit/test_buildslave_openstack.py:86:17: E128 continuation line under-indented for visual indent
os_tenant_name='tenant', os_auth_url='auth')
^
./master/buildbot/test/unit/test_buildslave_openstack.py:90:17: E128 continuation line under-indented for visual indent
bs._start_instance)
^
./master/buildbot/test/unit/test_buildslave_openstack.py:94:17: E128 continuation line under-indented for visual indent
image='image-uuid', os_username='user', os_password='pass',
^
./master/buildbot/test/unit/test_buildslave_openstack.py:95:17: E128 continuation line under-indented for visual indent
os_tenant_name='tenant', os_auth_url='auth')
^
./master/buildbot/test/unit/test_buildslave_openstack.py:105:17: E128 continuation line under-indented for visual indent
image='image-uuid', os_username='user', os_password='pass',
^
./master/buildbot/test/unit/test_buildslave_openstack.py:106:17: E128 continuation line under-indented for visual indent
os_tenant_name='tenant', os_auth_url='auth', meta=meta_arg)
^
./master/buildbot/test/unit/test_changes_base.py:21:1: E302 expected 2 blank lines, found 1
class TestPollingChangeSource(changesource.ChangeSourceMixin, unittest.TestCase):
^
./master/buildbot/test/unit/test_changes_base.py:21:80: E501 line too long (81 > 79 characters)
class TestPollingChangeSource(changesource.ChangeSourceMixin, unittest.TestCase):
^
./master/buildbot/test/unit/test_changes_base.py:32:9: E301 expected 1 blank line, found 0
def create_changesource(_):
^
./master/buildbot/test/unit/test_changes_base.py:47:17: E127 continuation line over-indented for visual indent
lambda : loops.append(self.clock.seconds())
^
./master/buildbot/test/unit/test_changes_base.py:47:23: E203 whitespace before ':'
lambda : loops.append(self.clock.seconds())
^
./master/buildbot/test/unit/test_changes_base.py:54:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_base.py:65:9: E301 expected 1 blank line, found 0
def poll():
^
./master/buildbot/test/unit/test_changes_base.py:75:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:25:6: E121 continuation line indentation is not a multiple of four
BonsaiParser, BonsaiPoller, InvalidResultError, EmptyResult
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:49:27: E231 missing whitespace after ','
files.append(FileNode(rev1,file1))
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:110:18: E201 whitespace after '{'
badResultMsgs = { 'badUnparsedResult':
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:111:5: E128 continuation line under-indented for visual indent
"BonsaiParser did not raise an exception when given a bad query",
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:124:1: E124 closing bracket does not match visual indentation
}
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:151:22: E128 continuation line under-indented for visual indent
revision="1.1"),
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:152:17: E128 continuation line under-indented for visual indent
dict(filename="second/file.ext",
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:154:17: E128 continuation line under-indented for visual indent
dict(filename="third/file.ext",
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:157:1: E302 expected 2 blank lines, found 1
class TestBonsaiParser(unittest.TestCase):
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:165:13: E128 continuation line under-indented for visual indent
"BonsaiParser did not return the expected BonsaiResult")
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:222:1: E302 expected 2 blank lines, found 1
class TestBonsaiPoller(changesource.ChangeSourceMixin, unittest.TestCase):
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:225:9: E301 expected 1 blank line, found 0
def create_poller(_):
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:227:40: E128 continuation line under-indented for visual indent
'all', 'seamonkey'))
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:235:80: E501 line too long (88 > 79 characters)
"""Install a fake getPage that puts the requested URL in C{self.getPage_got_url}
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:238:9: E301 expected 1 blank line, found 0
def fake(url, timeout=None):
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:253:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:261:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:265:45: E127 continuation line over-indented for visual indent
epoch2datetime(date1))
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:269:21: E128 continuation line under-indented for visual indent
[ '%s (revision %s)' % (file1, rev1) ])
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:269:22: E201 whitespace after '['
[ '%s (revision %s)' % (file1, rev1) ])
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:269:57: E202 whitespace before ']'
[ '%s (revision %s)' % (file1, rev1) ])
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:272:45: E127 continuation line over-indented for visual indent
epoch2datetime(date2))
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:275:21: E128 continuation line under-indented for visual indent
[ '%s (revision %s)' % (file2, rev2),
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:275:22: E201 whitespace after '['
[ '%s (revision %s)' % (file2, rev2),
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:276:57: E202 whitespace before ']'
'%s (revision %s)' % (file3, rev3) ])
^
./master/buildbot/test/unit/test_changes_bonsaipoller.py:280:45: E127 continuation line over-indented for visual indent
epoch2datetime(date3))
^
./master/buildbot/test/unit/test_changes_changes.py:22:1: E302 expected 2 blank lines, found 1
class Change(unittest.TestCase):
^
./master/buildbot/test/unit/test_changes_changes.py:26:13: E128 continuation line under-indented for visual indent
is_dir=0, branch="warnerdb", revision="deadbeef",
^
./master/buildbot/test/unit/test_changes_changes.py:27:13: E128 continuation line under-indented for visual indent
when_timestamp=266738404, revlink='http://warner/0e92a098b',
^
./master/buildbot/test/unit/test_changes_changes.py:28:13: E128 continuation line under-indented for visual indent
category='devel', repository='git://warner', codebase='mainapp',
^
./master/buildbot/test/unit/test_changes_changes.py:29:13: E128 continuation line under-indented for visual indent
project='Buildbot'),
^
./master/buildbot/test/unit/test_changes_changes.py:35:13: E128 continuation line under-indented for visual indent
property_value='["no","Change"]'),
^
./master/buildbot/test/unit/test_changes_changes.py:41:47: E261 at least two spaces before inline comment
self.change23 = changes.Change(**dict( # using **dict(..) forces kwargs
^
./master/buildbot/test/unit/test_changes_changes.py:52:33: E231 missing whitespace after ':'
properties={'notest':"no"},
^
./master/buildbot/test/unit/test_changes_changes.py:71:48: W291 trailing whitespace
Comments: fix whitespaceProperties:
^
./master/buildbot/test/unit/test_changes_changes.py:78:42: E261 at least two spaces before inline comment
self.assertIn('1978', dict['at']) # timezone-sensitive
^
./master/buildbot/test/unit/test_changes_changes.py:108:44: E261 at least two spaces before inline comment
self.change23.who = 'nasty < nasty' # test the html escaping (ugh!)
^
./master/buildbot/test/unit/test_changes_changes.py:113:1: W391 blank line at end of file
^
./master/buildbot/test/unit/test_changes_filter.py:23:1: E302 expected 2 blank lines, found 1
class Change(State):
^
./master/buildbot/test/unit/test_changes_filter.py:30:1: E302 expected 2 blank lines, found 1
class ChangeFilter(unittest.TestCase):
^
./master/buildbot/test/unit/test_changes_filter.py:33:26: E261 at least two spaces before inline comment
self.results = [] # (got, expected, msg)
^
./master/buildbot/test/unit/test_changes_filter.py:59:33: E251 unexpected spaces around keyword / parameter equals
self.setfilter(filter_fn = lambda ch : ch.x > 3)
^
./master/buildbot/test/unit/test_changes_filter.py:59:35: E251 unexpected spaces around keyword / parameter equals
self.setfilter(filter_fn = lambda ch : ch.x > 3)
^
./master/buildbot/test/unit/test_changes_filter.py:59:45: E203 whitespace before ':'
self.setfilter(filter_fn = lambda ch : ch.x > 3)
^
./master/buildbot/test/unit/test_changes_filter.py:65:31: E251 unexpected spaces around keyword / parameter equals
self.setfilter(project = "myproj")
^
./master/buildbot/test/unit/test_changes_filter.py:65:33: E251 unexpected spaces around keyword / parameter equals
self.setfilter(project = "myproj")
^
./master/buildbot/test/unit/test_changes_filter.py:66:80: E501 line too long (81 > 79 characters)
self.no(Change(project="yourproj"), "non-matching PROJECT returns False")
^
./master/buildbot/test/unit/test_changes_filter.py:71:34: E251 unexpected spaces around keyword / parameter equals
self.setfilter(repository = ["vc://a", "vc://b"])
^
./master/buildbot/test/unit/test_changes_filter.py:71:36: E251 unexpected spaces around keyword / parameter equals
self.setfilter(repository = ["vc://a", "vc://b"])
^
./master/buildbot/test/unit/test_changes_filter.py:72:80: E501 line too long (88 > 79 characters)
self.yes(Change(repository="vc://a"), "matching REPOSITORY vc://a returns True")
^
./master/buildbot/test/unit/test_changes_filter.py:73:80: E501 line too long (88 > 79 characters)
self.yes(Change(repository="vc://b"), "matching REPOSITORY vc://b returns True")
^
./master/buildbot/test/unit/test_changes_filter.py:74:80: E501 line too long (85 > 79 characters)
self.no(Change(repository="vc://c"), "non-matching REPOSITORY returns False")
^
./master/buildbot/test/unit/test_changes_filter.py:79:30: E251 unexpected spaces around keyword / parameter equals
self.setfilter(branch = ["mybr", None])
^
./master/buildbot/test/unit/test_changes_filter.py:79:32: E251 unexpected spaces around keyword / parameter equals
self.setfilter(branch = ["mybr", None])
^
./master/buildbot/test/unit/test_changes_filter.py:86:35: E251 unexpected spaces around keyword / parameter equals
self.setfilter(category_re = "^a.*")
^
./master/buildbot/test/unit/test_changes_filter.py:86:37: E251 unexpected spaces around keyword / parameter equals
self.setfilter(category_re = "^a.*")
^
./master/buildbot/test/unit/test_changes_filter.py:88:80: E501 line too long (80 > 79 characters)
self.no(Change(category="boris"), "non-matching CATEGORY returns False")
^
./master/buildbot/test/unit/test_changes_filter.py:91:44: E261 at least two spaces before inline comment
def test_filter_change_branch_re(self): # regression - see #927
^
./master/buildbot/test/unit/test_changes_filter.py:92:33: E251 unexpected spaces around keyword / parameter equals
self.setfilter(branch_re = "^t.*")
^
./master/buildbot/test/unit/test_changes_filter.py:92:35: E251 unexpected spaces around keyword / parameter equals
self.setfilter(branch_re = "^t.*")
^
./master/buildbot/test/unit/test_changes_filter.py:94:80: E501 line too long (82 > 79 characters)
self.no(Change(branch="development"), "non-matching BRANCH returns False")
^
./master/buildbot/test/unit/test_changes_filter.py:99:35: E251 unexpected spaces around keyword / parameter equals
self.setfilter(category_re = re.compile("^b.*", re.I))
^
./master/buildbot/test/unit/test_changes_filter.py:99:37: E251 unexpected spaces around keyword / parameter equals
self.setfilter(category_re = re.compile("^b.*", re.I))
^
./master/buildbot/test/unit/test_changes_filter.py:100:80: E501 line too long (81 > 79 characters)
self.no(Change(category="albert"), "non-matching CATEGORY returns False")
^
./master/buildbot/test/unit/test_changes_filter.py:102:80: E501 line too long (88 > 79 characters)
self.yes(Change(category="Bruce"), "matching CATEGORY returns True, using re.I")
^
./master/buildbot/test/unit/test_changes_filter.py:115:17: E128 continuation line under-indented for visual indent
codebase='cb'), "all match -> True")
^
./master/buildbot/test/unit/test_changes_filter.py:120:33: E251 unexpected spaces around keyword / parameter equals
filter_fn = lambda c : c.ff)
^
./master/buildbot/test/unit/test_changes_filter.py:120:35: E251 unexpected spaces around keyword / parameter equals
filter_fn = lambda c : c.ff)
^
./master/buildbot/test/unit/test_changes_filter.py:120:44: E203 whitespace before ':'
filter_fn = lambda c : c.ff)
^
./master/buildbot/test/unit/test_changes_filter.py:121:80: E501 line too long (88 > 79 characters)
self.no(Change(project='x', repository='x', branch='x', category='x', ff=False),
^
./master/buildbot/test/unit/test_changes_filter.py:123:80: E501 line too long (88 > 79 characters)
self.no(Change(project='p', repository='r', branch='b', category='c', ff=False),
^
./master/buildbot/test/unit/test_changes_filter.py:125:80: E501 line too long (87 > 79 characters)
self.no(Change(project='x', repository='x', branch='x', category='x', ff=True),
^
./master/buildbot/test/unit/test_changes_filter.py:127:80: E501 line too long (88 > 79 characters)
self.yes(Change(project='p', repository='r', branch='b', category='c', ff=True),
^
./master/buildbot/test/unit/test_changes_filter.py:128:17: E128 continuation line under-indented for visual indent
"all match and fn returns True -> False")
^
./master/buildbot/test/unit/test_changes_gerritchangesource.py:21:1: E302 expected 2 blank lines, found 1
class TestGerritChangeSource(changesource.ChangeSourceMixin,
^
./master/buildbot/test/unit/test_changes_gerritchangesource.py:52:80: E501 line too long (89 > 79 characters)
'properties': {u'event.change.owner.email': u'dustin@mozilla.com',
^
./master/buildbot/test/unit/test_changes_gerritchangesource.py:53:40: E127 continuation line over-indented for visual indent
u'event.change.subject': u'fix 1234',
^
./master/buildbot/test/unit/test_changes_gerritchangesource.py:57:80: E501 line too long (83 > 79 characters)
u'event.change.url': u'http://buildbot.net',
^
./master/buildbot/test/unit/test_changes_gerritchangesource.py:62:40: E127 continuation line over-indented for visual indent
u'revision': u'abcdef'}
^
./master/buildbot/test/unit/test_changes_gitpoller.py:27:1: E302 expected 2 blank lines, found 1
class GitOutputParsing(gpo.GetProcessOutputMixin, unittest.TestCase):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:32:1: W293 blank line contains whitespace
^
./master/buildbot/test/unit/test_changes_gitpoller.py:34:5: E301 expected 1 blank line, found 0
def _perform_git_output_test(self, methodToTest, args,
^
./master/buildbot/test/unit/test_changes_gitpoller.py:41:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', *args)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:42:21: E126 continuation line over-indented for hanging indent
.path('gitpoller-work'),
^
./master/buildbot/test/unit/test_changes_gitpoller.py:43:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:46:9: E301 expected 1 blank line, found 0
def call_empty(_):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:50:1: W293 blank line contains whitespace
^
./master/buildbot/test/unit/test_changes_gitpoller.py:53:80: E501 line too long (80 > 79 characters)
self.fail("getProcessOutput should have failed on empty output")
^
./master/buildbot/test/unit/test_changes_gitpoller.py:54:9: E301 expected 1 blank line, found 0
def eb_empty(f):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:56:80: E501 line too long (84 > 79 characters)
self.fail("getProcessOutput should NOT have failed on empty output")
^
./master/buildbot/test/unit/test_changes_gitpoller.py:62:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', *args)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:63:21: E126 continuation line over-indented for hanging indent
.path('gitpoller-work')
^
./master/buildbot/test/unit/test_changes_gitpoller.py:65:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:66:9: E301 expected 1 blank line, found 0
def call_exception(_):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:69:1: W293 blank line contains whitespace
^
./master/buildbot/test/unit/test_changes_gitpoller.py:72:9: E301 expected 1 blank line, found 0
def eb_exception(f):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:79:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', *args)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:80:21: E126 continuation line over-indented for hanging indent
.path('gitpoller-work')
^
./master/buildbot/test/unit/test_changes_gitpoller.py:82:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:83:9: E301 expected 1 blank line, found 0
def call_desired(_):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:86:1: W293 blank line contains whitespace
^
./master/buildbot/test/unit/test_changes_gitpoller.py:91:1: W293 blank line contains whitespace
^
./master/buildbot/test/unit/test_changes_gitpoller.py:95:17: E128 continuation line under-indented for visual indent
['log', '--no-walk', '--format=%aN <%aE>', self.dummyRevStr, '--'],
^
./master/buildbot/test/unit/test_changes_gitpoller.py:95:80: E501 line too long (83 > 79 characters)
['log', '--no-walk', '--format=%aN <%aE>', self.dummyRevStr, '--'],
^
./master/buildbot/test/unit/test_changes_gitpoller.py:96:17: E126 continuation line over-indented for hanging indent
authorStr, authorStr)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:97:1: W293 blank line contains whitespace
^
./master/buildbot/test/unit/test_changes_gitpoller.py:101:17: E128 continuation line under-indented for visual indent
['log', '--no-walk', '--format=%s%n%b', self.dummyRevStr, '--'],
^
./master/buildbot/test/unit/test_changes_gitpoller.py:101:80: E501 line too long (80 > 79 characters)
['log', '--no-walk', '--format=%s%n%b', self.dummyRevStr, '--'],
^
./master/buildbot/test/unit/test_changes_gitpoller.py:102:17: E126 continuation line over-indented for hanging indent
commentStr, commentStr)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:103:1: W293 blank line contains whitespace
^
./master/buildbot/test/unit/test_changes_gitpoller.py:107:17: E128 continuation line under-indented for visual indent
['log', '--name-only', '--no-walk', '--format=%n', self.dummyRevStr, '--'],
^
./master/buildbot/test/unit/test_changes_gitpoller.py:107:80: E501 line too long (91 > 79 characters)
['log', '--name-only', '--no-walk', '--format=%n', self.dummyRevStr, '--'],
^
./master/buildbot/test/unit/test_changes_gitpoller.py:108:17: E126 continuation line over-indented for hanging indent
filesStr, filesStr.split(), emptyRaisesException=False)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:109:1: W293 blank line contains whitespace
^
./master/buildbot/test/unit/test_changes_gitpoller.py:113:17: E128 continuation line under-indented for visual indent
['log', '--no-walk', '--format=%ct', self.dummyRevStr, '--'],
^
./master/buildbot/test/unit/test_changes_gitpoller.py:114:17: E126 continuation line over-indented for hanging indent
stampStr, float(stampStr))
^
./master/buildbot/test/unit/test_changes_gitpoller.py:118:1: E302 expected 2 blank lines, found 1
class TestGitPoller(gpo.GetProcessOutputMixin,
^
./master/buildbot/test/unit/test_changes_gitpoller.py:128:9: E301 expected 1 blank line, found 0
def create_poller(_):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:133:1: W293 blank line contains whitespace
^
./master/buildbot/test/unit/test_changes_gitpoller.py:142:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'init', '--bare', 'gitpoller-work'),
^
./master/buildbot/test/unit/test_changes_gitpoller.py:143:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'fetch', self.REPOURL,
^
./master/buildbot/test/unit/test_changes_gitpoller.py:144:21: E128 continuation line under-indented for visual indent
'+master:refs/buildbot/%s/master' % self.REPOURL_QUOTED)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:146:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'rev-parse',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:150:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:153:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/unit/test_changes_gitpoller.py:160:21: E126 continuation line over-indented for hanging indent
name=self.REPOURL, class_name='GitPoller',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:161:21: E126 continuation line over-indented for hanging indent
lastRev={
^
./master/buildbot/test/unit/test_changes_gitpoller.py:168:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'init', '--bare', 'gitpoller-work')
^
./master/buildbot/test/unit/test_changes_gitpoller.py:169:21: E126 continuation line over-indented for hanging indent
.exit(1),
^
./master/buildbot/test/unit/test_changes_gitpoller.py:170:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:179:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'init', '--bare', 'gitpoller-work'),
^
./master/buildbot/test/unit/test_changes_gitpoller.py:180:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'fetch', self.REPOURL,
^
./master/buildbot/test/unit/test_changes_gitpoller.py:181:21: E128 continuation line under-indented for visual indent
'+master:refs/buildbot/%s/master' % self.REPOURL_QUOTED)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:184:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:192:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'init', '--bare', 'gitpoller-work'),
^
./master/buildbot/test/unit/test_changes_gitpoller.py:193:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'fetch', self.REPOURL,
^
./master/buildbot/test/unit/test_changes_gitpoller.py:194:21: E128 continuation line under-indented for visual indent
'+master:refs/buildbot/%s/master' % self.REPOURL_QUOTED)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:196:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'rev-parse',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:200:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:203:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/unit/test_changes_gitpoller.py:211:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'init', '--bare', 'gitpoller-work'),
^
./master/buildbot/test/unit/test_changes_gitpoller.py:212:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'fetch', self.REPOURL,
^
./master/buildbot/test/unit/test_changes_gitpoller.py:213:21: E128 continuation line under-indented for visual indent
'+master:refs/buildbot/%s/master' % self.REPOURL_QUOTED)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:215:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'rev-parse',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:219:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'log',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:221:80: E501 line too long (105 > 79 characters)
'fa3ae8ed68e664d4db24798611b352e3c6509930..4423cdbcbb89c14e50dd5f4152415afd686c5241',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:225:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:229:17: E126 continuation line over-indented for hanging indent
'master': 'fa3ae8ed68e664d4db24798611b352e3c6509930'
^
./master/buildbot/test/unit/test_changes_gitpoller.py:230:17: E126 continuation line over-indented for hanging indent
}
^
./master/buildbot/test/unit/test_changes_gitpoller.py:248:9: E303 too many blank lines (2)
self.expectCommands(
^
./master/buildbot/test/unit/test_changes_gitpoller.py:249:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'init', '--bare', 'gitpoller-work'),
^
./master/buildbot/test/unit/test_changes_gitpoller.py:250:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'fetch', self.REPOURL,
^
./master/buildbot/test/unit/test_changes_gitpoller.py:251:21: E128 continuation line under-indented for visual indent
'+master:refs/buildbot/%s/master' % self.REPOURL_QUOTED)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:254:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'rev-parse',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:258:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'log',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:260:80: E501 line too long (105 > 79 characters)
'4423cdbcbb89c14e50dd5f4152415afd686c5241..4423cdbcbb89c14e50dd5f4152415afd686c5241',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:264:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:267:17: E126 continuation line over-indented for hanging indent
'master': '4423cdbcbb89c14e50dd5f4152415afd686c5241'
^
./master/buildbot/test/unit/test_changes_gitpoller.py:268:17: E126 continuation line over-indented for hanging indent
}
^
./master/buildbot/test/unit/test_changes_gitpoller.py:270:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/unit/test_changes_gitpoller.py:274:21: E126 continuation line over-indented for hanging indent
name=self.REPOURL, class_name='GitPoller',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:275:21: E126 continuation line over-indented for hanging indent
lastRev={
^
./master/buildbot/test/unit/test_changes_gitpoller.py:282:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'init', '--bare', 'gitpoller-work'),
^
./master/buildbot/test/unit/test_changes_gitpoller.py:283:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'fetch', self.REPOURL,
^
./master/buildbot/test/unit/test_changes_gitpoller.py:284:21: E128 continuation line under-indented for visual indent
'+master:refs/buildbot/%s/master' % self.REPOURL_QUOTED,
^
./master/buildbot/test/unit/test_changes_gitpoller.py:287:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'rev-parse',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:291:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'rev-parse',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:295:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:300:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/unit/test_changes_gitpoller.py:311:5: E303 too many blank lines (2)
def test_poll_multipleBranches(self):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:313:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'init', '--bare', 'gitpoller-work'),
^
./master/buildbot/test/unit/test_changes_gitpoller.py:314:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'fetch', self.REPOURL,
^
./master/buildbot/test/unit/test_changes_gitpoller.py:315:21: E128 continuation line under-indented for visual indent
'+master:refs/buildbot/%s/master' % self.REPOURL_QUOTED,
^
./master/buildbot/test/unit/test_changes_gitpoller.py:318:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'rev-parse',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:322:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'log',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:324:80: E501 line too long (105 > 79 characters)
'fa3ae8ed68e664d4db24798611b352e3c6509930..4423cdbcbb89c14e50dd5f4152415afd686c5241',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:330:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'rev-parse',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:334:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'log',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:336:80: E501 line too long (105 > 79 characters)
'bf0b01df6d00ae8d1ffa0b2e2acbe642a6cd35d5..9118f4ab71963d23d02d4bdc54876ac8bf05acf2',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:339:29: E201 whitespace after '('
.stdout( '\n'.join([
^
./master/buildbot/test/unit/test_changes_gitpoller.py:342:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:349:9: E301 expected 1 blank line, found 0
def author(rev):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:352:9: E301 expected 1 blank line, found 0
def files(rev):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:355:9: E301 expected 1 blank line, found 0
def comments(rev):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:362:17: E126 continuation line over-indented for hanging indent
'master': 'fa3ae8ed68e664d4db24798611b352e3c6509930',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:364:17: E126 continuation line over-indented for hanging indent
}
^
./master/buildbot/test/unit/test_changes_gitpoller.py:366:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/unit/test_changes_gitpoller.py:378:41: E127 continuation line over-indented for visual indent
epoch2datetime(1273258009))
^
./master/buildbot/test/unit/test_changes_gitpoller.py:381:63: E201 whitespace after '['
self.assertEqual(self.changes_added[0]['files'], [ '/etc/442' ])
^
./master/buildbot/test/unit/test_changes_gitpoller.py:381:74: E202 whitespace before ']'
self.assertEqual(self.changes_added[0]['files'], [ '/etc/442' ])
^
./master/buildbot/test/unit/test_changes_gitpoller.py:386:41: E127 continuation line over-indented for visual indent
epoch2datetime(1273258009))
^
./master/buildbot/test/unit/test_changes_gitpoller.py:388:63: E201 whitespace after '['
self.assertEqual(self.changes_added[1]['files'], [ '/etc/64a' ])
^
./master/buildbot/test/unit/test_changes_gitpoller.py:388:74: E202 whitespace before ']'
self.assertEqual(self.changes_added[1]['files'], [ '/etc/64a' ])
^
./master/buildbot/test/unit/test_changes_gitpoller.py:393:41: E127 continuation line over-indented for visual indent
epoch2datetime(1273258009))
^
./master/buildbot/test/unit/test_changes_gitpoller.py:395:63: E201 whitespace after '['
self.assertEqual(self.changes_added[2]['files'], [ '/etc/911' ])
^
./master/buildbot/test/unit/test_changes_gitpoller.py:395:74: E202 whitespace before ']'
self.assertEqual(self.changes_added[2]['files'], [ '/etc/911' ])
^
./master/buildbot/test/unit/test_changes_gitpoller.py:401:5: E303 too many blank lines (2)
def test_poll_noChanges(self):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:408:9: E303 too many blank lines (2)
self.expectCommands(
^
./master/buildbot/test/unit/test_changes_gitpoller.py:409:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'init', '--bare', 'gitpoller-work'),
^
./master/buildbot/test/unit/test_changes_gitpoller.py:410:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'fetch', self.REPOURL,
^
./master/buildbot/test/unit/test_changes_gitpoller.py:411:21: E128 continuation line under-indented for visual indent
'+master:refs/buildbot/%s/master' % self.REPOURL_QUOTED)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:414:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'rev-parse',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:418:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'log',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:420:80: E501 line too long (105 > 79 characters)
'4423cdbcbb89c14e50dd5f4152415afd686c5241..4423cdbcbb89c14e50dd5f4152415afd686c5241',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:424:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:427:17: E126 continuation line over-indented for hanging indent
'master': '4423cdbcbb89c14e50dd5f4152415afd686c5241'
^
./master/buildbot/test/unit/test_changes_gitpoller.py:428:17: E126 continuation line over-indented for hanging indent
}
^
./master/buildbot/test/unit/test_changes_gitpoller.py:430:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/unit/test_changes_gitpoller.py:447:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'init', '--bare', 'gitpoller-work'),
^
./master/buildbot/test/unit/test_changes_gitpoller.py:448:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'fetch', self.REPOURL,
^
./master/buildbot/test/unit/test_changes_gitpoller.py:449:21: E128 continuation line under-indented for visual indent
'+master:refs/buildbot/%s/master' % self.REPOURL_QUOTED)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:452:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'rev-parse',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:456:17: E126 continuation line over-indented for hanging indent
gpo.Expect('git', 'log',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:458:80: E501 line too long (105 > 79 characters)
'fa3ae8ed68e664d4db24798611b352e3c6509930..4423cdbcbb89c14e50dd5f4152415afd686c5241',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:465:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_gitpoller.py:472:9: E301 expected 1 blank line, found 0
def author(rev):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:475:9: E301 expected 1 blank line, found 0
def files(rev):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:478:9: E301 expected 1 blank line, found 0
def comments(rev):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:484:17: E126 continuation line over-indented for hanging indent
'master': 'fa3ae8ed68e664d4db24798611b352e3c6509930'
^
./master/buildbot/test/unit/test_changes_gitpoller.py:485:17: E126 continuation line over-indented for hanging indent
}
^
./master/buildbot/test/unit/test_changes_gitpoller.py:496:41: E127 continuation line over-indented for visual indent
epoch2datetime(1273258009))
^
./master/buildbot/test/unit/test_changes_gitpoller.py:499:63: E201 whitespace after '['
self.assertEqual(self.changes_added[0]['files'], [ '/etc/442' ])
^
./master/buildbot/test/unit/test_changes_gitpoller.py:499:74: E202 whitespace before ']'
self.assertEqual(self.changes_added[0]['files'], [ '/etc/442' ])
^
./master/buildbot/test/unit/test_changes_gitpoller.py:503:41: E127 continuation line over-indented for visual indent
epoch2datetime(1273258009))
^
./master/buildbot/test/unit/test_changes_gitpoller.py:505:63: E201 whitespace after '['
self.assertEqual(self.changes_added[1]['files'], [ '/etc/64a' ])
^
./master/buildbot/test/unit/test_changes_gitpoller.py:505:74: E202 whitespace before ']'
self.assertEqual(self.changes_added[1]['files'], [ '/etc/64a' ])
^
./master/buildbot/test/unit/test_changes_gitpoller.py:510:21: E126 continuation line over-indented for hanging indent
name=self.REPOURL, class_name='GitPoller',
^
./master/buildbot/test/unit/test_changes_gitpoller.py:511:21: E126 continuation line over-indented for hanging indent
lastRev={
^
./master/buildbot/test/unit/test_changes_gitpoller.py:525:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:526:80: E501 line too long (92 > 79 characters)
self.assertEqual(self.poller.workdir, os.path.join('basedir', 'gitpoller-work'))
^
./master/buildbot/test/unit/test_changes_gitpoller.py:541:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_gitpoller.py:553:17: E128 continuation line under-indented for visual indent
lambda: gitpoller.GitPoller("/tmp/git.git",
^
./master/buildbot/test/unit/test_changes_gitpoller.py:554:21: E128 continuation line under-indented for visual indent
fetch_refspec='not-supported'))
^
./master/buildbot/test/unit/test_changes_gitpoller.py:570:17: E128 continuation line under-indented for visual indent
branches=['magic', 'marker'])
^
./master/buildbot/test/unit/test_changes_gitpoller.py:575:17: E128 continuation line under-indented for visual indent
lambda: gitpoller.GitPoller("/tmp/git.git",
^
./master/buildbot/test/unit/test_changes_gitpoller.py:576:21: E128 continuation line under-indented for visual indent
branch='bad', branches=['listy']))
^
./master/buildbot/test/unit/test_changes_hgpoller.py:26:1: E302 expected 2 blank lines, found 1
class TestHgPoller(gpo.GetProcessOutputMixin,
^
./master/buildbot/test/unit/test_changes_hgpoller.py:38:9: E301 expected 1 blank line, found 0
def _isRepositoryReady():
^
./master/buildbot/test/unit/test_changes_hgpoller.py:40:9: E301 expected 1 blank line, found 0
def create_poller(_):
^
./master/buildbot/test/unit/test_changes_hgpoller.py:45:9: E301 expected 1 blank line, found 0
def create_db(_):
^
./master/buildbot/test/unit/test_changes_hgpoller.py:82:33: E127 continuation line over-indented for visual indent
'ssh://example.com/foo/baz')
^
./master/buildbot/test/unit/test_changes_hgpoller.py:83:17: E126 continuation line over-indented for hanging indent
.path('/some/dir'),
^
./master/buildbot/test/unit/test_changes_hgpoller.py:84:80: E501 line too long (81 > 79 characters)
gpo.Expect('hg', 'heads', 'default', '--template={rev}' + os.linesep)
^
./master/buildbot/test/unit/test_changes_hgpoller.py:86:74: E261 at least two spaces before inline comment
gpo.Expect('hg', 'log', '-b', 'default', '-r', '73591:73591', # only fetches that head
^
./master/buildbot/test/unit/test_changes_hgpoller.py:86:80: E501 line too long (98 > 79 characters)
gpo.Expect('hg', 'log', '-b', 'default', '-r', '73591:73591', # only fetches that head
^
./master/buildbot/test/unit/test_changes_hgpoller.py:87:33: E127 continuation line over-indented for visual indent
'--template={rev}:{node}\\n')
^
./master/buildbot/test/unit/test_changes_hgpoller.py:90:17: E128 continuation line under-indented for visual indent
'--template={date|hgdate}' + os.linesep + '{author}' + os.linesep + '{files}' + os.linesep + '{desc|strip}')
^
./master/buildbot/test/unit/test_changes_hgpoller.py:90:80: E501 line too long (124 > 79 characters)
'--template={date|hgdate}' + os.linesep + '{author}' + os.linesep + '{files}' + os.linesep + '{desc|strip}')
^
./master/buildbot/test/unit/test_changes_hgpoller.py:134:29: E127 continuation line over-indented for visual indent
'ssh://example.com/foo/baz')
^
./master/buildbot/test/unit/test_changes_hgpoller.py:135:17: E126 continuation line over-indented for hanging indent
.path('/some/dir'),
^
./master/buildbot/test/unit/test_changes_hgpoller.py:136:80: E501 line too long (81 > 79 characters)
gpo.Expect('hg', 'heads', 'default', '--template={rev}' + os.linesep)
^
./master/buildbot/test/unit/test_changes_hgpoller.py:151:29: E127 continuation line over-indented for visual indent
'ssh://example.com/foo/baz')
^
./master/buildbot/test/unit/test_changes_hgpoller.py:152:17: E126 continuation line over-indented for hanging indent
.path('/some/dir'),
^
./master/buildbot/test/unit/test_changes_hgpoller.py:153:80: E501 line too long (81 > 79 characters)
gpo.Expect('hg', 'heads', 'default', '--template={rev}' + os.linesep)
^
./master/buildbot/test/unit/test_changes_hgpoller.py:156:29: E127 continuation line over-indented for visual indent
'--template={rev}:{node}\\n')
^
./master/buildbot/test/unit/test_changes_hgpoller.py:159:17: E128 continuation line under-indented for visual indent
'--template={date|hgdate}' + os.linesep + '{author}' + os.linesep + '{files}' + os.linesep + '{desc|strip}')
^
./master/buildbot/test/unit/test_changes_hgpoller.py:159:80: E501 line too long (124 > 79 characters)
'--template={date|hgdate}' + os.linesep + '{author}' + os.linesep + '{files}' + os.linesep + '{desc|strip}')
^
./master/buildbot/test/unit/test_changes_hgpoller.py:161:25: E126 continuation line over-indented for hanging indent
'1273258009.0 -7200',
^
./master/buildbot/test/unit/test_changes_hgpoller.py:166:12: E121 continuation line indentation is not a multiple of four
)
^
./master/buildbot/test/unit/test_changes_mail.py:23:1: E302 expected 2 blank lines, found 1
class TestMaildirSource(changesource.ChangeSourceMixin, dirs.DirsMixin,
^
./master/buildbot/test/unit/test_changes_mail.py:30:31: E203 whitespace before ':'
d.addCallback(lambda _ : self.setUpDirs(self.maildir))
^
./master/buildbot/test/unit/test_changes_mail.py:47:80: E501 line too long (85 > 79 characters)
self.assertFalse(os.path.exists(os.path.join(self.maildir, "new", "newmsg")))
^
./master/buildbot/test/unit/test_changes_mail.py:48:80: E501 line too long (84 > 79 characters)
self.assertTrue(os.path.exists(os.path.join(self.maildir, "cur", "newmsg")))
^
./master/buildbot/test/unit/test_changes_mail.py:52:31: E203 whitespace before ':'
d.addCallback(lambda _ : self.tearDownChangeSource())
^
./master/buildbot/test/unit/test_changes_mail.py:73:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_mail.py:93:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:52:12: E225 missing whitespace around operator
cvs1_12_msg="""Date: Wed, 11 Aug 2010 04:56:44 +0000
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:73:1: E302 expected 2 blank lines, found 1
class TestCVSMaildirSource(unittest.TestCase):
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:78:37: E201 whitespace after '('
src, chdict = src.parse( m )
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:78:39: E202 whitespace before ')'
src, chdict = src.parse( m )
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:84:80: E501 line too long (80 > 79 characters)
self.assertEqual(chdict['files'][0], 'base/module/src/make/GNUmakefile')
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:91:80: E501 line too long (83 > 79 characters)
self.assertEqual(chdict['repository'], ':ext:cvshost.example.com:/cvsroot')
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:100:37: E201 whitespace after '('
src, chdict = src.parse( m )
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:100:39: E202 whitespace before ')'
src, chdict = src.parse( m )
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:114:80: E501 line too long (83 > 79 characters)
self.assertEqual(chdict['repository'], ':ext:cvshost.example.com:/cvsroot')
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:124:30: E201 whitespace after '('
assert src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:124:32: E202 whitespace before ')'
assert src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:136:30: E201 whitespace after '('
assert src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:136:32: E202 whitespace before ')'
assert src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:149:32: E201 whitespace after '('
chdict = src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:149:34: E202 whitespace before ')'
chdict = src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:159:32: E201 whitespace after '('
chdict = src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:159:34: E202 whitespace before ')'
chdict = src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:170:32: E201 whitespace after '('
chdict = src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:170:34: E202 whitespace before ')'
chdict = src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:177:80: E501 line too long (91 > 79 characters)
msg = cvs1_11_msg.replace('Files: base/module/src/make GNUmakefile,1.362,1.363','')
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:177:88: E231 missing whitespace after ','
msg = cvs1_11_msg.replace('Files: base/module/src/make GNUmakefile,1.362,1.363','')
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:181:32: E201 whitespace after '('
chdict = src.parse( m )
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:181:34: E202 whitespace before ')'
chdict = src.parse( m )
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:191:32: E201 whitespace after '('
chdict = src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:191:34: E202 whitespace before ')'
chdict = src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:197:80: E501 line too long (83 > 79 characters)
msg = cvs1_11_msg.replace('CVSROOT: :ext:cvshost.example.com:/cvsroot', '')
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:201:32: E201 whitespace after '('
chdict = src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:201:34: E202 whitespace before ')'
chdict = src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:208:21: E201 whitespace after '{'
propDict = { 'foo' : 'bar' }
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:208:27: E203 whitespace before ':'
propDict = { 'foo' : 'bar' }
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:208:35: E202 whitespace before '}'
propDict = { 'foo' : 'bar' }
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:211:32: E201 whitespace after '('
chdict = src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_mail_CVSMaildirSource.py:211:34: E202 whitespace before ')'
chdict = src.parse( m )[1]
^
./master/buildbot/test/unit/test_changes_manager.py:21:1: E302 expected 2 blank lines, found 1
class FakeChangeSource(service.Service):
^
./master/buildbot/test/unit/test_changes_manager.py:24:1: E302 expected 2 blank lines, found 1
class TestChangeManager(unittest.TestCase):
^
./master/buildbot/test/unit/test_changes_manager.py:39:43: E201 whitespace after '['
self.new_config.change_sources = [ src1, src2 ]
^
./master/buildbot/test/unit/test_changes_manager.py:39:54: E202 whitespace before ']'
self.new_config.change_sources = [ src1, src2 ]
^
./master/buildbot/test/unit/test_changes_manager.py:42:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/unit/test_changes_manager.py:51:43: E201 whitespace after '['
self.new_config.change_sources = [ ]
^
./master/buildbot/test/unit/test_changes_manager.py:54:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/unit/test_changes_p4poller.py:22:1: E122 continuation line missing indentation or outdented
"""Change 1 on 2006/04/13 by slamb@testclient 'first rev'
^
./master/buildbot/test/unit/test_changes_p4poller.py:26:1: E122 continuation line missing indentation or outdented
"""Change 3 on 2006/04/13 by bob@testclient 'short desc truncated'
^
./master/buildbot/test/unit/test_changes_p4poller.py:31:1: E122 continuation line missing indentation or outdented
"""Change 5 on 2006/04/13 by mpatel@testclient 'first rev'
^
./master/buildbot/test/unit/test_changes_p4poller.py:35:1: E122 continuation line missing indentation or outdented
"""Change 4 by mpatel@testclient on 2006/04/13 21:55:39
^
./master/buildbot/test/unit/test_changes_p4poller.py:37:1: W191 indentation contains tabs
short desc truncated because this is a long description.
^
./master/buildbot/test/unit/test_changes_p4poller.py:41:1: E122 continuation line missing indentation or outdented
u"""Change 3 by bob@testclient on 2006/04/13 21:51:39
^
./master/buildbot/test/unit/test_changes_p4poller.py:43:1: W191 indentation contains tabs
short desc truncated because this is a long description.
^
./master/buildbot/test/unit/test_changes_p4poller.py:44:1: E101 indentation contains mixed spaces and tabs
ASDF-GUI-P3-\u2018Upgrade Icon\u2019 disappears sometimes.
^
./master/buildbot/test/unit/test_changes_p4poller.py:48:1: E122 continuation line missing indentation or outdented
"""Change 2 by slamb@testclient on 2006/04/13 21:46:23
^
./master/buildbot/test/unit/test_changes_p4poller.py:50:1: W191 indentation contains tabs
creation
^
./master/buildbot/test/unit/test_changes_p4poller.py:54:1: E101 indentation contains mixed spaces and tabs
3: change_3_log +
^
./master/buildbot/test/unit/test_changes_p4poller.py:55:1: E122 continuation line missing indentation or outdented
"""Affected files ...
^
./master/buildbot/test/unit/test_changes_p4poller.py:61:1: E101 indentation contains mixed spaces and tabs
2: change_2_log +
^
./master/buildbot/test/unit/test_changes_p4poller.py:62:1: E122 continuation line missing indentation or outdented
"""Affected files ...
^
./master/buildbot/test/unit/test_changes_p4poller.py:67:1: E101 indentation contains mixed spaces and tabs
5: change_4_log +
^
./master/buildbot/test/unit/test_changes_p4poller.py:68:1: E122 continuation line missing indentation or outdented
"""Affected files ...
^
./master/buildbot/test/unit/test_changes_p4poller.py:78:1: E101 indentation contains mixed spaces and tabs
gpo.GetProcessOutputMixin,
^
./master/buildbot/test/unit/test_changes_p4poller.py:79:1: E101 indentation contains mixed spaces and tabs
unittest.TestCase):
^
./master/buildbot/test/unit/test_changes_p4poller.py:80:1: E101 indentation contains mixed spaces and tabs
def setUp(self):
^
./master/buildbot/test/unit/test_changes_p4poller.py:81:1: E101 indentation contains mixed spaces and tabs
self.setUpGetProcessOutput()
^
./master/buildbot/test/unit/test_changes_p4poller.py:82:1: E101 indentation contains mixed spaces and tabs
return self.setUpChangeSource()
^
./master/buildbot/test/unit/test_changes_p4poller.py:84:1: E101 indentation contains mixed spaces and tabs
def tearDown(self):
^
./master/buildbot/test/unit/test_changes_p4poller.py:85:1: E101 indentation contains mixed spaces and tabs
return self.tearDownChangeSource()
^
./master/buildbot/test/unit/test_changes_p4poller.py:87:1: E101 indentation contains mixed spaces and tabs
def add_p4_describe_result(self, number, result):
^
./master/buildbot/test/unit/test_changes_p4poller.py:88:1: E101 indentation contains mixed spaces and tabs
self.expectCommands(
^
./master/buildbot/test/unit/test_changes_p4poller.py:89:1: E101 indentation contains mixed spaces and tabs
gpo.Expect('p4', 'describe', '-s', str(number)).stdout(result))
^
./master/buildbot/test/unit/test_changes_p4poller.py:89:17: E126 continuation line over-indented for hanging indent
gpo.Expect('p4', 'describe', '-s', str(number)).stdout(result))
^
./master/buildbot/test/unit/test_changes_p4poller.py:91:1: E101 indentation contains mixed spaces and tabs
def makeTime(self, timestring):
^
./master/buildbot/test/unit/test_changes_p4poller.py:92:1: E101 indentation contains mixed spaces and tabs
datefmt = '%Y/%m/%d %H:%M:%S'
^
./master/buildbot/test/unit/test_changes_p4poller.py:93:1: E101 indentation contains mixed spaces and tabs
when = datetime.datetime.strptime(timestring, datefmt)
^
./master/buildbot/test/unit/test_changes_p4poller.py:94:1: E101 indentation contains mixed spaces and tabs
return when
^
./master/buildbot/test/unit/test_changes_p4poller.py:96:1: E101 indentation contains mixed spaces and tabs
# tests
^
./master/buildbot/test/unit/test_changes_p4poller.py:98:1: E101 indentation contains mixed spaces and tabs
def test_describe(self):
^
./master/buildbot/test/unit/test_changes_p4poller.py:99:1: E101 indentation contains mixed spaces and tabs
self.attachChangeSource(
^
./master/buildbot/test/unit/test_changes_p4poller.py:100:1: E101 indentation contains mixed spaces and tabs
P4Source(p4port=None, p4user=None,
^
./master/buildbot/test/unit/test_changes_p4poller.py:100:17: E126 continuation line over-indented for hanging indent
P4Source(p4port=None, p4user=None,
^
./master/buildbot/test/unit/test_changes_p4poller.py:101:1: E101 indentation contains mixed spaces and tabs
p4base='//depot/myproject/',
^
./master/buildbot/test/unit/test_changes_p4poller.py:102:1: E101 indentation contains mixed spaces and tabs
split_file=lambda x: x.split('/', 1)))
^
./master/buildbot/test/unit/test_changes_p4poller.py:103:1: E101 indentation contains mixed spaces and tabs
self.assertSubstring("p4source", self.changesource.describe())
^
./master/buildbot/test/unit/test_changes_p4poller.py:105:1: E101 indentation contains mixed spaces and tabs
def do_test_poll_successful(self, **kwargs):
^
./master/buildbot/test/unit/test_changes_p4poller.py:106:1: E101 indentation contains mixed spaces and tabs
encoding = kwargs.get('encoding', 'utf8')
^
./master/buildbot/test/unit/test_changes_p4poller.py:107:1: E101 indentation contains mixed spaces and tabs
self.attachChangeSource(
^
./master/buildbot/test/unit/test_changes_p4poller.py:108:1: E101 indentation contains mixed spaces and tabs
P4Source(p4port=None, p4user=None,
^
./master/buildbot/test/unit/test_changes_p4poller.py:108:17: E126 continuation line over-indented for hanging indent
P4Source(p4port=None, p4user=None,
^
./master/buildbot/test/unit/test_changes_p4poller.py:109:1: E101 indentation contains mixed spaces and tabs
p4base='//depot/myproject/',
^
./master/buildbot/test/unit/test_changes_p4poller.py:110:1: E101 indentation contains mixed spaces and tabs
split_file=lambda x: x.split('/', 1),
^
./master/buildbot/test/unit/test_changes_p4poller.py:111:1: E101 indentation contains mixed spaces and tabs
**kwargs))
^
./master/buildbot/test/unit/test_changes_p4poller.py:112:1: E101 indentation contains mixed spaces and tabs
self.expectCommands(
^
./master/buildbot/test/unit/test_changes_p4poller.py:113:1: E101 indentation contains mixed spaces and tabs
gpo.Expect('p4', 'changes', '-m', '1', '//depot/myproject/...').stdout(first_p4changes),
^
./master/buildbot/test/unit/test_changes_p4poller.py:113:17: E126 continuation line over-indented for hanging indent
gpo.Expect('p4', 'changes', '-m', '1', '//depot/myproject/...').stdout(first_p4changes),
^
./master/buildbot/test/unit/test_changes_p4poller.py:113:80: E501 line too long (104 > 79 characters)
gpo.Expect('p4', 'changes', '-m', '1', '//depot/myproject/...').stdout(first_p4changes),
^
./master/buildbot/test/unit/test_changes_p4poller.py:114:1: E101 indentation contains mixed spaces and tabs
gpo.Expect('p4', 'changes', '//depot/myproject/...@2,now').stdout(second_p4changes),
^
./master/buildbot/test/unit/test_changes_p4poller.py:114:17: E126 continuation line over-indented for hanging indent
gpo.Expect('p4', 'changes', '//depot/myproject/...@2,now').stdout(second_p4changes),
^
./master/buildbot/test/unit/test_changes_p4poller.py:114:80: E501 line too long (100 > 79 characters)
gpo.Expect('p4', 'changes', '//depot/myproject/...@2,now').stdout(second_p4changes),
^
./master/buildbot/test/unit/test_changes_p4poller.py:115:1: E101 indentation contains mixed spaces and tabs
)
^
./master/buildbot/test/unit/test_changes_p4poller.py:115:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_p4poller.py:116:1: E101 indentation contains mixed spaces and tabs
encoded_p4change = p4change.copy()
^
./master/buildbot/test/unit/test_changes_p4poller.py:117:1: E101 indentation contains mixed spaces and tabs
encoded_p4change[3] = encoded_p4change[3].encode(encoding)
^
./master/buildbot/test/unit/test_changes_p4poller.py:118:1: E101 indentation contains mixed spaces and tabs
self.add_p4_describe_result(2, encoded_p4change[2])
^
./master/buildbot/test/unit/test_changes_p4poller.py:119:1: E101 indentation contains mixed spaces and tabs
self.add_p4_describe_result(3, encoded_p4change[3])
^
./master/buildbot/test/unit/test_changes_p4poller.py:121:1: E101 indentation contains mixed spaces and tabs
# The first time, it just learns the change to start at.
^
./master/buildbot/test/unit/test_changes_p4poller.py:122:1: E101 indentation contains mixed spaces and tabs
self.assert_(self.changesource.last_change is None)
^
./master/buildbot/test/unit/test_changes_p4poller.py:123:1: E101 indentation contains mixed spaces and tabs
d = self.changesource.poll()
^
./master/buildbot/test/unit/test_changes_p4poller.py:124:1: E101 indentation contains mixed spaces and tabs
def check_first_check(_):
^
./master/buildbot/test/unit/test_changes_p4poller.py:124:9: E301 expected 1 blank line, found 0
def check_first_check(_):
^
./master/buildbot/test/unit/test_changes_p4poller.py:125:1: E101 indentation contains mixed spaces and tabs
self.assertEquals(self.changes_added, [])
^
./master/buildbot/test/unit/test_changes_p4poller.py:126:1: E101 indentation contains mixed spaces and tabs
self.assertEquals(self.changesource.last_change, 1)
^
./master/buildbot/test/unit/test_changes_p4poller.py:127:1: E101 indentation contains mixed spaces and tabs
d.addCallback(check_first_check)
^
./master/buildbot/test/unit/test_changes_p4poller.py:129:1: E101 indentation contains mixed spaces and tabs
# Subsequent times, it returns Change objects for new changes.
^
./master/buildbot/test/unit/test_changes_p4poller.py:130:1: E101 indentation contains mixed spaces and tabs
d.addCallback(lambda _ : self.changesource.poll())
^
./master/buildbot/test/unit/test_changes_p4poller.py:130:31: E203 whitespace before ':'
d.addCallback(lambda _ : self.changesource.poll())
^
./master/buildbot/test/unit/test_changes_p4poller.py:131:1: E101 indentation contains mixed spaces and tabs
def check_second_check(res):
^
./master/buildbot/test/unit/test_changes_p4poller.py:131:9: E301 expected 1 blank line, found 0
def check_second_check(res):
^
./master/buildbot/test/unit/test_changes_p4poller.py:132:1: E101 indentation contains mixed spaces and tabs
self.assertEquals(len(self.changes_added), 3)
^
./master/buildbot/test/unit/test_changes_p4poller.py:133:1: E101 indentation contains mixed spaces and tabs
self.assertEquals(self.changesource.last_change, 3)
^
./master/buildbot/test/unit/test_changes_p4poller.py:135:1: E101 indentation contains mixed spaces and tabs
# They're supposed to go oldest to newest, so this one must be first.
^
./master/buildbot/test/unit/test_changes_p4poller.py:135:80: E501 line too long (81 > 79 characters)
# They're supposed to go oldest to newest, so this one must be first.
^
./master/buildbot/test/unit/test_changes_p4poller.py:136:1: E101 indentation contains mixed spaces and tabs
self.assertEquals(self.changes_added[0],
^
./master/buildbot/test/unit/test_changes_p4poller.py:137:1: E101 indentation contains mixed spaces and tabs
dict(author='slamb',
^
./master/buildbot/test/unit/test_changes_p4poller.py:137:17: E128 continuation line under-indented for visual indent
dict(author='slamb',
^
./master/buildbot/test/unit/test_changes_p4poller.py:138:1: E101 indentation contains mixed spaces and tabs
files=['whatbranch'],
^
./master/buildbot/test/unit/test_changes_p4poller.py:139:1: E101 indentation contains mixed spaces and tabs
project='',
^
./master/buildbot/test/unit/test_changes_p4poller.py:140:1: E101 indentation contains mixed spaces and tabs
comments=change_2_log,
^
./master/buildbot/test/unit/test_changes_p4poller.py:141:1: E101 indentation contains mixed spaces and tabs
revision='2',
^
./master/buildbot/test/unit/test_changes_p4poller.py:142:1: E101 indentation contains mixed spaces and tabs
when_timestamp=self.makeTime("2006/04/13 21:46:23"),
^
./master/buildbot/test/unit/test_changes_p4poller.py:143:1: E101 indentation contains mixed spaces and tabs
branch='trunk'))
^
./master/buildbot/test/unit/test_changes_p4poller.py:145:1: E101 indentation contains mixed spaces and tabs
# These two can happen in either order, since they're from the same
^
./master/buildbot/test/unit/test_changes_p4poller.py:146:1: E101 indentation contains mixed spaces and tabs
# Perforce change.
^
./master/buildbot/test/unit/test_changes_p4poller.py:147:1: E101 indentation contains mixed spaces and tabs
if self.changes_added[1]['branch'] == 'branch_c':
^
./master/buildbot/test/unit/test_changes_p4poller.py:148:1: E101 indentation contains mixed spaces and tabs
self.changes_added[1:] = reversed(self.changes_added[1:])
^
./master/buildbot/test/unit/test_changes_p4poller.py:150:1: E101 indentation contains mixed spaces and tabs
self.assertEquals(self.changes_added[1],
^
./master/buildbot/test/unit/test_changes_p4poller.py:151:1: E101 indentation contains mixed spaces and tabs
dict(author='bob',
^
./master/buildbot/test/unit/test_changes_p4poller.py:151:17: E128 continuation line under-indented for visual indent
dict(author='bob',
^
./master/buildbot/test/unit/test_changes_p4poller.py:152:1: E101 indentation contains mixed spaces and tabs
files=['branch_b_file',
^
./master/buildbot/test/unit/test_changes_p4poller.py:153:1: E101 indentation contains mixed spaces and tabs
'whatbranch'],
^
./master/buildbot/test/unit/test_changes_p4poller.py:154:1: E101 indentation contains mixed spaces and tabs
project='',
^
./master/buildbot/test/unit/test_changes_p4poller.py:155:1: E101 indentation contains mixed spaces and tabs
comments=change_3_log, # converted to unicode correctly
^
./master/buildbot/test/unit/test_changes_p4poller.py:155:44: E261 at least two spaces before inline comment
comments=change_3_log, # converted to unicode correctly
^
./master/buildbot/test/unit/test_changes_p4poller.py:156:1: E101 indentation contains mixed spaces and tabs
revision='3',
^
./master/buildbot/test/unit/test_changes_p4poller.py:157:1: E101 indentation contains mixed spaces and tabs
when_timestamp=self.makeTime("2006/04/13 21:51:39"),
^
./master/buildbot/test/unit/test_changes_p4poller.py:158:1: E101 indentation contains mixed spaces and tabs
branch='branch_b'))
^
./master/buildbot/test/unit/test_changes_p4poller.py:159:1: E101 indentation contains mixed spaces and tabs
self.assertEquals(self.changes_added[2],
^
./master/buildbot/test/unit/test_changes_p4poller.py:160:1: E101 indentation contains mixed spaces and tabs
dict(author='bob',
^
./master/buildbot/test/unit/test_changes_p4poller.py:160:17: E128 continuation line under-indented for visual indent
dict(author='bob',
^
./master/buildbot/test/unit/test_changes_p4poller.py:161:1: E101 indentation contains mixed spaces and tabs
files=['whatbranch'],
^
./master/buildbot/test/unit/test_changes_p4poller.py:162:1: E101 indentation contains mixed spaces and tabs
project='',
^
./master/buildbot/test/unit/test_changes_p4poller.py:163:1: E101 indentation contains mixed spaces and tabs
comments=change_3_log, # converted to unicode correctly
^
./master/buildbot/test/unit/test_changes_p4poller.py:163:44: E261 at least two spaces before inline comment
comments=change_3_log, # converted to unicode correctly
^
./master/buildbot/test/unit/test_changes_p4poller.py:164:1: E101 indentation contains mixed spaces and tabs
revision='3',
^
./master/buildbot/test/unit/test_changes_p4poller.py:165:1: E101 indentation contains mixed spaces and tabs
when_timestamp=self.makeTime("2006/04/13 21:51:39"),
^
./master/buildbot/test/unit/test_changes_p4poller.py:166:1: E101 indentation contains mixed spaces and tabs
branch='branch_c'))
^
./master/buildbot/test/unit/test_changes_p4poller.py:167:1: E101 indentation contains mixed spaces and tabs
self.assertAllCommandsRan()
^
./master/buildbot/test/unit/test_changes_p4poller.py:168:1: E101 indentation contains mixed spaces and tabs
d.addCallback(check_second_check)
^
./master/buildbot/test/unit/test_changes_p4poller.py:169:1: E101 indentation contains mixed spaces and tabs
return d
^
./master/buildbot/test/unit/test_changes_p4poller.py:171:1: E101 indentation contains mixed spaces and tabs
def test_poll_successful_default_encoding(self):
^
./master/buildbot/test/unit/test_changes_p4poller.py:172:1: E101 indentation contains mixed spaces and tabs
return self.do_test_poll_successful()
^
./master/buildbot/test/unit/test_changes_p4poller.py:174:1: E101 indentation contains mixed spaces and tabs
def test_poll_successful_macroman_encoding(self):
^
./master/buildbot/test/unit/test_changes_p4poller.py:175:1: E101 indentation contains mixed spaces and tabs
return self.do_test_poll_successful(encoding='macroman')
^
./master/buildbot/test/unit/test_changes_p4poller.py:177:1: E101 indentation contains mixed spaces and tabs
def test_poll_failed_changes(self):
^
./master/buildbot/test/unit/test_changes_p4poller.py:178:1: E101 indentation contains mixed spaces and tabs
self.attachChangeSource(
^
./master/buildbot/test/unit/test_changes_p4poller.py:179:1: E101 indentation contains mixed spaces and tabs
P4Source(p4port=None, p4user=None,
^
./master/buildbot/test/unit/test_changes_p4poller.py:179:17: E126 continuation line over-indented for hanging indent
P4Source(p4port=None, p4user=None,
^
./master/buildbot/test/unit/test_changes_p4poller.py:180:1: E101 indentation contains mixed spaces and tabs
p4base='//depot/myproject/',
^
./master/buildbot/test/unit/test_changes_p4poller.py:181:1: E101 indentation contains mixed spaces and tabs
split_file=lambda x: x.split('/', 1)))
^
./master/buildbot/test/unit/test_changes_p4poller.py:182:1: E101 indentation contains mixed spaces and tabs
self.expectCommands(
^
./master/buildbot/test/unit/test_changes_p4poller.py:183:1: E101 indentation contains mixed spaces and tabs
gpo.Expect('p4', 'changes', '-m', '1', '//depot/myproject/...').stdout('Perforce client error:\n...'))
^
./master/buildbot/test/unit/test_changes_p4poller.py:183:17: E126 continuation line over-indented for hanging indent
gpo.Expect('p4', 'changes', '-m', '1', '//depot/myproject/...').stdout('Perforce client error:\n...'))
^
./master/buildbot/test/unit/test_changes_p4poller.py:183:80: E501 line too long (118 > 79 characters)
gpo.Expect('p4', 'changes', '-m', '1', '//depot/myproject/...').stdout('Perforce client error:\n...'))
^
./master/buildbot/test/unit/test_changes_p4poller.py:185:1: E101 indentation contains mixed spaces and tabs
# call _poll, so we can catch the failure
^
./master/buildbot/test/unit/test_changes_p4poller.py:186:1: E101 indentation contains mixed spaces and tabs
d = self.changesource._poll()
^
./master/buildbot/test/unit/test_changes_p4poller.py:187:1: E101 indentation contains mixed spaces and tabs
return self.assertFailure(d, P4PollerError)
^
./master/buildbot/test/unit/test_changes_p4poller.py:189:1: E101 indentation contains mixed spaces and tabs
def test_poll_failed_describe(self):
^
./master/buildbot/test/unit/test_changes_p4poller.py:190:1: E101 indentation contains mixed spaces and tabs
self.attachChangeSource(
^
./master/buildbot/test/unit/test_changes_p4poller.py:191:1: E101 indentation contains mixed spaces and tabs
P4Source(p4port=None, p4user=None,
^
./master/buildbot/test/unit/test_changes_p4poller.py:191:17: E126 continuation line over-indented for hanging indent
P4Source(p4port=None, p4user=None,
^
./master/buildbot/test/unit/test_changes_p4poller.py:192:1: E101 indentation contains mixed spaces and tabs
p4base='//depot/myproject/',
^
./master/buildbot/test/unit/test_changes_p4poller.py:193:1: E101 indentation contains mixed spaces and tabs
split_file=lambda x: x.split('/', 1)))
^
./master/buildbot/test/unit/test_changes_p4poller.py:194:1: E101 indentation contains mixed spaces and tabs
self.expectCommands(
^
./master/buildbot/test/unit/test_changes_p4poller.py:195:1: E101 indentation contains mixed spaces and tabs
gpo.Expect('p4', 'changes', '//depot/myproject/...@3,now').stdout(second_p4changes),
^
./master/buildbot/test/unit/test_changes_p4poller.py:195:17: E126 continuation line over-indented for hanging indent
gpo.Expect('p4', 'changes', '//depot/myproject/...@3,now').stdout(second_p4changes),
^
./master/buildbot/test/unit/test_changes_p4poller.py:195:80: E501 line too long (100 > 79 characters)
gpo.Expect('p4', 'changes', '//depot/myproject/...@3,now').stdout(second_p4changes),
^
./master/buildbot/test/unit/test_changes_p4poller.py:196:1: E101 indentation contains mixed spaces and tabs
)
^
./master/buildbot/test/unit/test_changes_p4poller.py:196:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_p4poller.py:197:1: E101 indentation contains mixed spaces and tabs
self.add_p4_describe_result(2, p4change[2])
^
./master/buildbot/test/unit/test_changes_p4poller.py:198:1: E101 indentation contains mixed spaces and tabs
self.add_p4_describe_result(3, 'Perforce client error:\n...')
^
./master/buildbot/test/unit/test_changes_p4poller.py:200:1: E101 indentation contains mixed spaces and tabs
self.changesource.last_change = 2 # tell poll() that it's already been called once
^
./master/buildbot/test/unit/test_changes_p4poller.py:200:42: E261 at least two spaces before inline comment
self.changesource.last_change = 2 # tell poll() that it's already been called once
^
./master/buildbot/test/unit/test_changes_p4poller.py:200:80: E501 line too long (90 > 79 characters)
self.changesource.last_change = 2 # tell poll() that it's already been called once
^
./master/buildbot/test/unit/test_changes_p4poller.py:202:1: E101 indentation contains mixed spaces and tabs
# call _poll, so we can catch the failure
^
./master/buildbot/test/unit/test_changes_p4poller.py:203:1: E101 indentation contains mixed spaces and tabs
d = self.changesource._poll()
^
./master/buildbot/test/unit/test_changes_p4poller.py:204:1: E101 indentation contains mixed spaces and tabs
self.assertFailure(d, P4PollerError)
^
./master/buildbot/test/unit/test_changes_p4poller.py:205:1: E101 indentation contains mixed spaces and tabs
@d.addCallback
^
./master/buildbot/test/unit/test_changes_p4poller.py:205:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/unit/test_changes_p4poller.py:206:1: E101 indentation contains mixed spaces and tabs
def check(_):
^
./master/buildbot/test/unit/test_changes_p4poller.py:207:1: E101 indentation contains mixed spaces and tabs
# check that 2 was processed OK
^
./master/buildbot/test/unit/test_changes_p4poller.py:208:1: E101 indentation contains mixed spaces and tabs
self.assertEquals(self.changesource.last_change, 2)
^
./master/buildbot/test/unit/test_changes_p4poller.py:209:1: E101 indentation contains mixed spaces and tabs
self.assertAllCommandsRan()
^
./master/buildbot/test/unit/test_changes_p4poller.py:210:1: E101 indentation contains mixed spaces and tabs
return d
^
./master/buildbot/test/unit/test_changes_p4poller.py:212:1: E101 indentation contains mixed spaces and tabs
def test_poll_split_file(self):
^
./master/buildbot/test/unit/test_changes_p4poller.py:213:1: E101 indentation contains mixed spaces and tabs
"""Make sure split file works on branch only changes"""
^
./master/buildbot/test/unit/test_changes_p4poller.py:214:1: E101 indentation contains mixed spaces and tabs
self.attachChangeSource(
^
./master/buildbot/test/unit/test_changes_p4poller.py:215:1: E101 indentation contains mixed spaces and tabs
P4Source(p4port=None, p4user=None,
^
./master/buildbot/test/unit/test_changes_p4poller.py:215:17: E126 continuation line over-indented for hanging indent
P4Source(p4port=None, p4user=None,
^
./master/buildbot/test/unit/test_changes_p4poller.py:216:1: E101 indentation contains mixed spaces and tabs
p4base='//depot/myproject/',
^
./master/buildbot/test/unit/test_changes_p4poller.py:217:1: E101 indentation contains mixed spaces and tabs
split_file=get_simple_split))
^
./master/buildbot/test/unit/test_changes_p4poller.py:218:1: E101 indentation contains mixed spaces and tabs
self.expectCommands(
^
./master/buildbot/test/unit/test_changes_p4poller.py:219:1: E101 indentation contains mixed spaces and tabs
gpo.Expect('p4', 'changes', '//depot/myproject/...@51,now').stdout(third_p4changes),
^
./master/buildbot/test/unit/test_changes_p4poller.py:219:17: E126 continuation line over-indented for hanging indent
gpo.Expect('p4', 'changes', '//depot/myproject/...@51,now').stdout(third_p4changes),
^
./master/buildbot/test/unit/test_changes_p4poller.py:219:80: E501 line too long (100 > 79 characters)
gpo.Expect('p4', 'changes', '//depot/myproject/...@51,now').stdout(third_p4changes),
^
./master/buildbot/test/unit/test_changes_p4poller.py:220:1: E101 indentation contains mixed spaces and tabs
)
^
./master/buildbot/test/unit/test_changes_p4poller.py:220:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_p4poller.py:221:1: E101 indentation contains mixed spaces and tabs
self.add_p4_describe_result(5, p4change[5])
^
./master/buildbot/test/unit/test_changes_p4poller.py:223:1: E101 indentation contains mixed spaces and tabs
self.changesource.last_change = 50
^
./master/buildbot/test/unit/test_changes_p4poller.py:224:1: E101 indentation contains mixed spaces and tabs
d = self.changesource.poll()
^
./master/buildbot/test/unit/test_changes_p4poller.py:225:1: E101 indentation contains mixed spaces and tabs
def check(res):
^
./master/buildbot/test/unit/test_changes_p4poller.py:225:9: E301 expected 1 blank line, found 0
def check(res):
^
./master/buildbot/test/unit/test_changes_p4poller.py:226:1: E101 indentation contains mixed spaces and tabs
self.assertEquals(len(self.changes_added), 2)
^
./master/buildbot/test/unit/test_changes_p4poller.py:227:1: E101 indentation contains mixed spaces and tabs
self.assertEquals(self.changesource.last_change, 5)
^
./master/buildbot/test/unit/test_changes_p4poller.py:228:1: E101 indentation contains mixed spaces and tabs
self.assertAllCommandsRan()
^
./master/buildbot/test/unit/test_changes_p4poller.py:229:1: E101 indentation contains mixed spaces and tabs
d.addCallback(check)
^
./master/buildbot/test/unit/test_changes_p4poller.py:230:1: E101 indentation contains mixed spaces and tabs
return d
^
./master/buildbot/test/unit/test_changes_p4poller.py:232:1: E302 expected 2 blank lines, found 1
class TestSplit(unittest.TestCase):
^
./master/buildbot/test/unit/test_changes_p4poller.py:233:1: E101 indentation contains mixed spaces and tabs
def test_get_simple_split(self):
^
./master/buildbot/test/unit/test_changes_p4poller.py:234:1: E101 indentation contains mixed spaces and tabs
self.assertEqual(get_simple_split('foo/bar'), ('foo', 'bar'))
^
./master/buildbot/test/unit/test_changes_p4poller.py:235:1: E101 indentation contains mixed spaces and tabs
self.assertEqual(get_simple_split('foo-bar'), (None, None))
^
./master/buildbot/test/unit/test_changes_p4poller.py:236:1: E101 indentation contains mixed spaces and tabs
self.assertEqual(get_simple_split('/bar'), ('', 'bar'))
^
./master/buildbot/test/unit/test_changes_p4poller.py:237:1: E101 indentation contains mixed spaces and tabs
self.assertEqual(get_simple_split('foo/'), ('foo', ''))
^
./master/buildbot/test/unit/test_changes_pb.py:28:1: E302 expected 2 blank lines, found 1
class TestPBChangeSource(
^
./master/buildbot/test/unit/test_changes_pb.py:29:13: E126 continuation line over-indented for hanging indent
changesource.ChangeSourceMixin,
^
./master/buildbot/test/unit/test_changes_pb.py:30:13: E126 continuation line over-indented for hanging indent
pbmanager.PBManagerMixin,
^
./master/buildbot/test/unit/test_changes_pb.py:31:13: E126 continuation line over-indented for hanging indent
unittest.TestCase):
^
./master/buildbot/test/unit/test_changes_pb.py:36:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/unit/test_changes_pb.py:44:17: E128 continuation line under-indented for visual indent
user='alice', passwd='sekrit')
^
./master/buildbot/test/unit/test_changes_pb.py:48:17: E128 continuation line under-indented for visual indent
slavePort='9999', user='alice', passwd='sekrit')
^
./master/buildbot/test/unit/test_changes_pb.py:52:17: E128 continuation line under-indented for visual indent
user='alice', passwd='sekrit', port='8888')
^
./master/buildbot/test/unit/test_changes_pb.py:56:17: E128 continuation line under-indented for visual indent
slavePort='9939')
^
./master/buildbot/test/unit/test_changes_pb.py:63:25: E128 continuation line under-indented for visual indent
**constr_kwargs):
^
./master/buildbot/test/unit/test_changes_pb.py:83:80: E501 line too long (82 > 79 characters)
self.attachChangeSource(pb.PBChangeSource('alice', 'sekrit', port='8888'))
^
./master/buildbot/test/unit/test_changes_pb.py:150:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_pb.py:152:21: E128 continuation line under-indented for visual indent
[ dict(author="bar", files=['a']) ])
^
./master/buildbot/test/unit/test_changes_pb.py:152:22: E201 whitespace after '['
[ dict(author="bar", files=['a']) ])
^
./master/buildbot/test/unit/test_changes_pb.py:152:54: E202 whitespace before ']'
[ dict(author="bar", files=['a']) ])
^
./master/buildbot/test/unit/test_changes_pb.py:159:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_pb.py:161:21: E128 continuation line under-indented for visual indent
[ dict(author="bar", files=[], codebase='cb') ])
^
./master/buildbot/test/unit/test_changes_pb.py:161:22: E201 whitespace after '['
[ dict(author="bar", files=[], codebase='cb') ])
^
./master/buildbot/test/unit/test_changes_pb.py:161:66: E202 whitespace before ']'
[ dict(author="bar", files=[], codebase='cb') ])
^
./master/buildbot/test/unit/test_changes_pb.py:168:17: E126 continuation line over-indented for hanging indent
dict(who="bar", files=['xx/a', 'yy/b']))
^
./master/buildbot/test/unit/test_changes_pb.py:169:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_pb.py:171:21: E128 continuation line under-indented for visual indent
[ dict(author="bar", files=['a']) ])
^
./master/buildbot/test/unit/test_changes_pb.py:171:22: E201 whitespace after '['
[ dict(author="bar", files=['a']) ])
^
./master/buildbot/test/unit/test_changes_pb.py:171:54: E202 whitespace before ']'
[ dict(author="bar", files=['a']) ])
^
./master/buildbot/test/unit/test_changes_pb.py:178:17: E126 continuation line over-indented for hanging indent
dict(project=None, revlink=None, repository=None)
^
./master/buildbot/test/unit/test_changes_pb.py:179:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_pb.py:180:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_pb.py:182:21: E128 continuation line under-indented for visual indent
[ dict(project="", revlink="", repository="",
^
./master/buildbot/test/unit/test_changes_pb.py:182:22: E201 whitespace after '['
[ dict(project="", revlink="", repository="",
^
./master/buildbot/test/unit/test_changes_pb.py:183:37: E202 whitespace before ']'
files=[]) ])
^
./master/buildbot/test/unit/test_changes_pb.py:190:17: E126 continuation line over-indented for hanging indent
dict(when=None)
^
./master/buildbot/test/unit/test_changes_pb.py:191:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_pb.py:192:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_pb.py:194:21: E128 continuation line under-indented for visual indent
[ dict(when_timestamp=None, files=[]) ])
^
./master/buildbot/test/unit/test_changes_pb.py:194:22: E201 whitespace after '['
[ dict(when_timestamp=None, files=[]) ])
^
./master/buildbot/test/unit/test_changes_pb.py:194:58: E202 whitespace before ']'
[ dict(when_timestamp=None, files=[]) ])
^
./master/buildbot/test/unit/test_changes_pb.py:201:17: E126 continuation line over-indented for hanging indent
dict(files=('a', 'b'))
^
./master/buildbot/test/unit/test_changes_pb.py:202:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_pb.py:203:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_pb.py:205:21: E128 continuation line under-indented for visual indent
[ dict(files=['a', 'b']) ])
^
./master/buildbot/test/unit/test_changes_pb.py:205:22: E201 whitespace after '['
[ dict(files=['a', 'b']) ])
^
./master/buildbot/test/unit/test_changes_pb.py:205:45: E202 whitespace before ']'
[ dict(files=['a', 'b']) ])
^
./master/buildbot/test/unit/test_changes_pb.py:212:21: E128 continuation line under-indented for visual indent
comments=u"\N{SNOWMAN}",
^
./master/buildbot/test/unit/test_changes_pb.py:213:21: E128 continuation line under-indented for visual indent
files=[u'\N{VERY MUCH GREATER-THAN}']))
^
./master/buildbot/test/unit/test_changes_pb.py:214:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_pb.py:216:21: E128 continuation line under-indented for visual indent
[ dict(author=u"\N{SNOWMAN}",
^
./master/buildbot/test/unit/test_changes_pb.py:216:22: E201 whitespace after '['
[ dict(author=u"\N{SNOWMAN}",
^
./master/buildbot/test/unit/test_changes_pb.py:218:61: E202 whitespace before ']'
files=[u'\N{VERY MUCH GREATER-THAN}']) ])
^
./master/buildbot/test/unit/test_changes_pb.py:225:21: E128 continuation line under-indented for visual indent
comments=u"\N{SNOWMAN}".encode('utf8'),
^
./master/buildbot/test/unit/test_changes_pb.py:226:21: E128 continuation line under-indented for visual indent
files=[u'\N{VERY MUCH GREATER-THAN}'.encode('utf8')]))
^
./master/buildbot/test/unit/test_changes_pb.py:227:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_pb.py:229:21: E128 continuation line under-indented for visual indent
[ dict(author=u"\N{SNOWMAN}",
^
./master/buildbot/test/unit/test_changes_pb.py:229:22: E201 whitespace after '['
[ dict(author=u"\N{SNOWMAN}",
^
./master/buildbot/test/unit/test_changes_pb.py:231:61: E202 whitespace before ']'
files=[u'\N{VERY MUCH GREATER-THAN}']) ])
^
./master/buildbot/test/unit/test_changes_pb.py:240:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_pb.py:242:21: E128 continuation line under-indented for visual indent
[ dict(author=replacement, files=['a']) ])
^
./master/buildbot/test/unit/test_changes_pb.py:242:22: E201 whitespace after '['
[ dict(author=replacement, files=['a']) ])
^
./master/buildbot/test/unit/test_changes_pb.py:242:60: E202 whitespace before ']'
[ dict(author=replacement, files=['a']) ])
^
./master/buildbot/test/unit/test_changes_pb.py:250:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_changes_pb.py:252:21: E128 continuation line under-indented for visual indent
[ dict(is_dir=1, author='me', files=[],
^
./master/buildbot/test/unit/test_changes_pb.py:252:22: E201 whitespace after '['
[ dict(is_dir=1, author='me', files=[],
^
./master/buildbot/test/unit/test_changes_pb.py:253:25: E128 continuation line under-indented for visual indent
when_timestamp=epoch2datetime(1234)) ])
^
./master/buildbot/test/unit/test_changes_pb.py:253:61: E202 whitespace before ']'
when_timestamp=epoch2datetime(1234)) ])
^
./master/buildbot/test/unit/test_changes_pb.py:260:9: E301 expected 1 blank line, found 0
def check_change(_):
^
./master/buildbot/test/unit/test_changes_pb.py:261:51: E201 whitespace after '['
self.assertEqual(self.added_changes, [ dict(author="c <h@c>",
^
./master/buildbot/test/unit/test_changes_pb.py:263:67: E202 whitespace before ']'
src='git') ])
^
./master/buildbot/test/unit/test_changes_svnpoller.py:57:80: E501 line too long (109 > 79 characters)
# file:///home/warner/stuff/Projects/BuildBot/trees/svnpoller/_trial_temp/test_vc/repositories/SVN-Repository
^
./master/buildbot/test/unit/test_changes_svnpoller.py:65:80: E501 line too long (118 > 79 characters)
<url>file:///home/warner/stuff/Projects/BuildBot/trees/svnpoller/_trial_temp/test_vc/repositories/SVN-Repository</url>
^
./master/buildbot/test/unit/test_changes_svnpoller.py:67:80: E501 line too long (120 > 79 characters)
<root>file:///home/warner/stuff/Projects/BuildBot/trees/svnpoller/_trial_temp/test_vc/repositories/SVN-Repository</root>
^
./master/buildbot/test/unit/test_changes_svnpoller.py:79:80: E501 line too long (139 > 79 characters)
# % svn info --xml file:///home/warner/stuff/Projects/BuildBot/trees/svnpoller/_trial_temp/test_vc/repositories/SVN-Repository/sample/trunk
^
./master/buildbot/test/unit/test_changes_svnpoller.py:88:80: E501 line too long (131 > 79 characters)
<url>file:///home/warner/stuff/Projects/BuildBot/trees/svnpoller/_trial_temp/test_vc/repositories/SVN-Repository/sample/trunk</url>
^
./master/buildbot/test/unit/test_changes_svnpoller.py:90:80: E501 line too long (120 > 79 characters)
<root>file:///home/warner/stuff/Projects/BuildBot/trees/svnpoller/_trial_temp/test_vc/repositories/SVN-Repository</root>
^
./master/buildbot/test/unit/test_changes_svnpoller.py:106:1: E303 too many blank lines (3)
sample_base = ("file:///usr/home/warner/stuff/Projects/BuildBot/trees/misc/" +
^
./master/buildbot/test/unit/test_changes_svnpoller.py:207:80: E501 line too long (124 > 79 characters)
<url>file:///usr/home/warner/stuff/Projects/BuildBot/trees/misc/_trial_temp/test_vc/repositories/SVN-Repository/sample</url>
^
./master/buildbot/test/unit/test_changes_svnpoller.py:209:80: E501 line too long (119 > 79 characters)
<root>file:///usr/home/warner/stuff/Projects/BuildBot/trees/misc/_trial_temp/test_vc/repositories/SVN-Repository</root>
^
./master/buildbot/test/unit/test_changes_svnpoller.py:228:1: E302 expected 2 blank lines, found 1
def make_changes_output(maxrevision):
^
./master/buildbot/test/unit/test_changes_svnpoller.py:237:1: E302 expected 2 blank lines, found 1
def make_logentry_elements(maxrevision):
^
./master/buildbot/test/unit/test_changes_svnpoller.py:242:1: E302 expected 2 blank lines, found 1
def split_file(path):
^
./master/buildbot/test/unit/test_changes_svnpoller.py:269:17: E126 continuation line over-indented for hanging indent
gpo.Expect('svn', command).stdout(result))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:274:5: E303 too many blank lines (2)
def test_describe(self):
^
./master/buildbot/test/unit/test_changes_svnpoller.py:285:80: E501 line too long (105 > 79 characters)
self.expectCommands(gpo.Expect('svn', 'info', '--xml', '--non-interactive', base).stdout(output))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:287:9: E301 expected 1 blank line, found 0
def check(prefix):
^
./master/buildbot/test/unit/test_changes_svnpoller.py:308:80: E501 line too long (89 > 79 characters)
"svnpoller/_trial_temp/test_vc/repositories/SVN-Repository/sample/trunk")
^
./master/buildbot/test/unit/test_changes_svnpoller.py:345:80: E501 line too long (83 > 79 characters)
"svnpoller/_trial_temp/test_vc/repositories/SVN-Repository/sample")
^
./master/buildbot/test/unit/test_changes_svnpoller.py:349:80: E501 line too long (81 > 79 characters)
logentries = dict(zip(xrange(1, 7), reversed(make_logentry_elements(6))))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:350:46: E201 whitespace after '['
changes = s.create_changes(reversed([ logentries[3], logentries[2] ]))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:350:75: E202 whitespace before ']'
changes = s.create_changes(reversed([ logentries[3], logentries[2] ]))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:363:37: E201 whitespace after '['
changes = s.create_changes([ logentries[4] ])
^
./master/buildbot/test/unit/test_changes_svnpoller.py:363:51: E202 whitespace before ']'
changes = s.create_changes([ logentries[4] ])
^
./master/buildbot/test/unit/test_changes_svnpoller.py:370:37: E201 whitespace after '['
changes = s.create_changes([ logentries[5] ])
^
./master/buildbot/test/unit/test_changes_svnpoller.py:370:51: E202 whitespace before ']'
changes = s.create_changes([ logentries[5] ])
^
./master/buildbot/test/unit/test_changes_svnpoller.py:374:37: E201 whitespace after '['
changes = s.create_changes([ logentries[6] ])
^
./master/buildbot/test/unit/test_changes_svnpoller.py:374:51: E202 whitespace before ']'
changes = s.create_changes([ logentries[6] ])
^
./master/buildbot/test/unit/test_changes_svnpoller.py:381:15: E271 multiple spaces after keyword
return gpo.Expect('svn', 'info', '--xml', '--non-interactive', sample_base,
^
./master/buildbot/test/unit/test_changes_svnpoller.py:381:80: E501 line too long (84 > 79 characters)
return gpo.Expect('svn', 'info', '--xml', '--non-interactive', sample_base,
^
./master/buildbot/test/unit/test_changes_svnpoller.py:382:17: E128 continuation line under-indented for visual indent
'--username=dustin', '--password=bbrocks')
^
./master/buildbot/test/unit/test_changes_svnpoller.py:385:80: E501 line too long (82 > 79 characters)
return gpo.Expect('svn', 'log', '--xml', '--verbose', '--non-interactive',
^
./master/buildbot/test/unit/test_changes_svnpoller.py:386:17: E128 continuation line under-indented for visual indent
'--username=dustin', '--password=bbrocks',
^
./master/buildbot/test/unit/test_changes_svnpoller.py:388:5: E301 expected 1 blank line, found 0
def test_create_changes_overriden_project(self):
^
./master/buildbot/test/unit/test_changes_svnpoller.py:398:80: E501 line too long (83 > 79 characters)
"svnpoller/_trial_temp/test_vc/repositories/SVN-Repository/sample")
^
./master/buildbot/test/unit/test_changes_svnpoller.py:402:80: E501 line too long (81 > 79 characters)
logentries = dict(zip(xrange(1, 7), reversed(make_logentry_elements(6))))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:403:46: E201 whitespace after '['
changes = s.create_changes(reversed([ logentries[3], logentries[2] ]))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:403:75: E202 whitespace before ']'
changes = s.create_changes(reversed([ logentries[3], logentries[2] ]))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:422:17: E128 continuation line under-indented for visual indent
svnuser='dustin', svnpasswd='bbrocks')
^
./master/buildbot/test/unit/test_changes_svnpoller.py:427:9: E303 too many blank lines (2)
self.expectCommands(
^
./master/buildbot/test/unit/test_changes_svnpoller.py:428:17: E126 continuation line over-indented for hanging indent
self.makeInfoExpect().stdout(sample_info_output),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:429:17: E126 continuation line over-indented for hanging indent
self.makeLogExpect().stdout(make_changes_output(1)),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:430:17: E126 continuation line over-indented for hanging indent
self.makeLogExpect().stdout(make_changes_output(1)),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:431:17: E126 continuation line over-indented for hanging indent
self.makeLogExpect().stdout(make_changes_output(2)),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:432:17: E126 continuation line over-indented for hanging indent
self.makeLogExpect().stdout(make_changes_output(4)),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:433:17: E126 continuation line over-indented for hanging indent
)
^
./master/buildbot/test/unit/test_changes_svnpoller.py:435:31: E203 whitespace before ':'
d.addCallback(lambda _ : s.poll())
^
./master/buildbot/test/unit/test_changes_svnpoller.py:436:9: E301 expected 1 blank line, found 0
def check_first(_):
^
./master/buildbot/test/unit/test_changes_svnpoller.py:443:31: E203 whitespace before ':'
d.addCallback(lambda _ : s.poll())
^
./master/buildbot/test/unit/test_changes_svnpoller.py:444:9: E301 expected 1 blank line, found 0
def check_second(_):
^
./master/buildbot/test/unit/test_changes_svnpoller.py:450:31: E203 whitespace before ':'
d.addCallback(lambda _ : s.poll())
^
./master/buildbot/test/unit/test_changes_svnpoller.py:451:9: E301 expected 1 blank line, found 0
def check_third(_):
^
./master/buildbot/test/unit/test_changes_svnpoller.py:456:51: E261 at least two spaces before inline comment
self.failUnlessEqual(c['files'], ['']) # signals a new branch
^
./master/buildbot/test/unit/test_changes_svnpoller.py:466:31: E203 whitespace before ':'
d.addCallback(lambda _ : s.poll())
^
./master/buildbot/test/unit/test_changes_svnpoller.py:467:9: E301 expected 1 blank line, found 0
def check_fourth(_):
^
./master/buildbot/test/unit/test_changes_svnpoller.py:490:17: E128 continuation line under-indented for visual indent
svnuser='dustin', svnpasswd='bbrocks')
^
./master/buildbot/test/unit/test_changes_svnpoller.py:493:17: E126 continuation line over-indented for hanging indent
self.makeInfoExpect().stderr("error"))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:495:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/unit/test_changes_svnpoller.py:505:17: E128 continuation line under-indented for visual indent
svnuser='dustin', svnpasswd='bbrocks')
^
./master/buildbot/test/unit/test_changes_svnpoller.py:506:26: E261 at least two spaces before inline comment
s._prefix = "abc" # skip the get_prefix stuff
^
./master/buildbot/test/unit/test_changes_svnpoller.py:509:17: E126 continuation line over-indented for hanging indent
self.makeLogExpect().stderr("some error"))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:511:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/unit/test_changes_svnpoller.py:549:60: E261 at least two spaces before inline comment
self.attachSVNPoller(sample_base, pollinterval=100) # just don't fail!
^
./master/buildbot/test/unit/test_changes_svnpoller.py:550:1: W293 blank line contains whitespace
^
./master/buildbot/test/unit/test_changes_svnpoller.py:552:40: E231 missing whitespace after ','
extra_args = ['--no-auth-cache',]
^
./master/buildbot/test/unit/test_changes_svnpoller.py:557:1: W293 blank line contains whitespace
^
./master/buildbot/test/unit/test_changes_svnpoller.py:558:1: E302 expected 2 blank lines, found 1
class TestSplitFile(unittest.TestCase):
^
./master/buildbot/test/unit/test_changes_svnpoller.py:560:80: E501 line too long (83 > 79 characters)
self.assertEqual(svnpoller.split_file_alwaystrunk('foo'), dict(path='foo'))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:564:17: E126 continuation line over-indented for hanging indent
svnpoller.split_file_branches('trunk/'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:565:17: E126 continuation line over-indented for hanging indent
(None, ''))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:569:17: E126 continuation line over-indented for hanging indent
svnpoller.split_file_branches('trunk/subdir/'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:570:17: E126 continuation line over-indented for hanging indent
(None, 'subdir/'))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:574:17: E126 continuation line over-indented for hanging indent
svnpoller.split_file_branches('trunk/subdir/file.c'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:575:17: E126 continuation line over-indented for hanging indent
(None, 'subdir/file.c'))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:580:17: E126 continuation line over-indented for hanging indent
svnpoller.split_file_branches('trunk'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:581:17: E126 continuation line over-indented for hanging indent
None)
^
./master/buildbot/test/unit/test_changes_svnpoller.py:585:17: E126 continuation line over-indented for hanging indent
svnpoller.split_file_branches('branches/1.5.x/'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:586:17: E126 continuation line over-indented for hanging indent
('branches/1.5.x', ''))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:590:17: E126 continuation line over-indented for hanging indent
svnpoller.split_file_branches('branches/1.5.x/subdir/'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:591:17: E126 continuation line over-indented for hanging indent
('branches/1.5.x', 'subdir/'))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:595:17: E126 continuation line over-indented for hanging indent
svnpoller.split_file_branches('branches/1.5.x/subdir/file.c'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:596:17: E126 continuation line over-indented for hanging indent
('branches/1.5.x', 'subdir/file.c'))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:601:17: E126 continuation line over-indented for hanging indent
svnpoller.split_file_branches('branches/1.5.x'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:602:17: E126 continuation line over-indented for hanging indent
None)
^
./master/buildbot/test/unit/test_changes_svnpoller.py:607:17: E126 continuation line over-indented for hanging indent
svnpoller.split_file_branches('tags/testthis/subdir/'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:608:17: E126 continuation line over-indented for hanging indent
None)
^
./master/buildbot/test/unit/test_changes_svnpoller.py:613:17: E126 continuation line over-indented for hanging indent
svnpoller.split_file_branches('tags/testthis/subdir/file.c'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:614:17: E126 continuation line over-indented for hanging indent
None)
^
./master/buildbot/test/unit/test_changes_svnpoller.py:618:17: E126 continuation line over-indented for hanging indent
svnpoller.split_file_projects_branches('buildbot/trunk/subdir/file.c'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:618:80: E501 line too long (87 > 79 characters)
svnpoller.split_file_projects_branches('buildbot/trunk/subdir/file.c'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:619:17: E126 continuation line over-indented for hanging indent
dict(project='buildbot', path='subdir/file.c'))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:621:17: E126 continuation line over-indented for hanging indent
svnpoller.split_file_projects_branches('buildbot/branches/1.5.x/subdir/file.c'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:621:80: E501 line too long (96 > 79 characters)
svnpoller.split_file_projects_branches('buildbot/branches/1.5.x/subdir/file.c'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:622:17: E126 continuation line over-indented for hanging indent
dict(project='buildbot', branch='branches/1.5.x', path='subdir/file.c'))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:622:80: E501 line too long (88 > 79 characters)
dict(project='buildbot', branch='branches/1.5.x', path='subdir/file.c'))
^
./master/buildbot/test/unit/test_changes_svnpoller.py:625:17: E126 continuation line over-indented for hanging indent
svnpoller.split_file_projects_branches('buildbot/tags/testthis/subdir/file.c'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:625:80: E501 line too long (95 > 79 characters)
svnpoller.split_file_projects_branches('buildbot/tags/testthis/subdir/file.c'),
^
./master/buildbot/test/unit/test_changes_svnpoller.py:626:17: E126 continuation line over-indented for hanging indent
None)
^
./master/buildbot/test/unit/test_changes_svnpoller.py:627:1: W391 blank line at end of file
^
./master/buildbot/test/unit/test_clients_sendchange.py:23:1: E302 expected 2 blank lines, found 1
class Sender(unittest.TestCase):
^
./master/buildbot/test/unit/test_clients_sendchange.py:68:17: E128 continuation line under-indented for visual indent
[ self.conn_host, self.conn_port,
^
./master/buildbot/test/unit/test_clients_sendchange.py:68:18: E201 whitespace after '['
[ self.conn_host, self.conn_port,
^
./master/buildbot/test/unit/test_clients_sendchange.py:75:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_clients_sendchange.py:78:21: E128 continuation line under-indented for visual indent
comments='comm', branch='branch', revision='rev',
^
./master/buildbot/test/unit/test_clients_sendchange.py:79:21: E128 continuation line under-indented for visual indent
category=None, when=None, properties={}, revlink='',
^
./master/buildbot/test/unit/test_clients_sendchange.py:80:21: E128 continuation line under-indented for visual indent
src=None)])
^
./master/buildbot/test/unit/test_clients_sendchange.py:85:59: E231 missing whitespace after ','
s = sendchange.Sender('localhost:1234', auth=('me','sekrit'))
^
./master/buildbot/test/unit/test_clients_sendchange.py:87:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_clients_sendchange.py:90:21: E128 continuation line under-indented for visual indent
comments='comm', branch='branch', revision='rev',
^
./master/buildbot/test/unit/test_clients_sendchange.py:91:21: E128 continuation line under-indented for visual indent
category=None, when=None, properties={}, revlink='',
^
./master/buildbot/test/unit/test_clients_sendchange.py:92:21: E128 continuation line under-indented for visual indent
src=None)])
^
./master/buildbot/test/unit/test_clients_sendchange.py:99:46: E231 missing whitespace after ':'
when=1234, properties={'a':'b'}, repository='r', vc='git',
^
./master/buildbot/test/unit/test_clients_sendchange.py:101:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_clients_sendchange.py:104:21: E128 continuation line under-indented for visual indent
comments='comm', branch='branch', revision='rev',
^
./master/buildbot/test/unit/test_clients_sendchange.py:105:21: E128 continuation line under-indented for visual indent
category='cats', when=1234, properties={'a':'b'},
^
./master/buildbot/test/unit/test_clients_sendchange.py:105:64: E231 missing whitespace after ':'
category='cats', when=1234, properties={'a':'b'},
^
./master/buildbot/test/unit/test_clients_sendchange.py:106:21: E128 continuation line under-indented for visual indent
revlink='rl', src='git')])
^
./master/buildbot/test/unit/test_clients_sendchange.py:114:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_clients_sendchange.py:117:21: E128 continuation line under-indented for visual indent
comments='comm', branch='branch', revision='rev',
^
./master/buildbot/test/unit/test_clients_sendchange.py:118:21: E128 continuation line under-indented for visual indent
category=None, when=None, properties={}, revlink='',
^
./master/buildbot/test/unit/test_clients_sendchange.py:119:21: E128 continuation line under-indented for visual indent
src=None)])
^
./master/buildbot/test/unit/test_clients_sendchange.py:126:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_clients_sendchange.py:129:21: E128 continuation line under-indented for visual indent
comments='comm', branch='branch', revision='rev',
^
./master/buildbot/test/unit/test_clients_sendchange.py:130:21: E128 continuation line under-indented for visual indent
category=None, when=None, properties={}, revlink='',
^
./master/buildbot/test/unit/test_clients_sendchange.py:131:21: E128 continuation line under-indented for visual indent
src=None, codebase='mycb')])
^
./master/buildbot/test/unit/test_clients_sendchange.py:138:21: E127 continuation line over-indented for visual indent
u'\U0001f49e',
^
./master/buildbot/test/unit/test_clients_sendchange.py:146:72: E231 missing whitespace after ':'
properties={u'\N{LATIN SMALL LETTER A WITH MACRON}':'b'},
^
./master/buildbot/test/unit/test_clients_sendchange.py:154:44: E261 at least two spaces before inline comment
files=[u'\U0001F4C1'], # FILE FOLDER
^
./master/buildbot/test/unit/test_clients_sendchange.py:157:45: E261 at least two spaces before inline comment
revision=u'\U0001f49e', # REVOLVING HEARTS
^
./master/buildbot/test/unit/test_clients_sendchange.py:158:45: E261 at least two spaces before inline comment
category=u'\U0001F640', # WEARY CAT FACE
^
./master/buildbot/test/unit/test_clients_sendchange.py:160:73: E231 missing whitespace after ':'
properties={u'\N{LATIN SMALL LETTER A WITH MACRON}':'b'},
^
./master/buildbot/test/unit/test_clients_sendchange.py:161:44: E261 at least two spaces before inline comment
revlink=u'\U0001F517', # LINK SYMBOL
^
./master/buildbot/test/unit/test_clients_sendchange.py:170:17: E128 continuation line under-indented for visual indent
u'\U0001f49e'.encode('utf8'),
^
./master/buildbot/test/unit/test_clients_sendchange.py:179:75: E203 whitespace before ':'
u'\N{LATIN SMALL LETTER A WITH MACRON}'.encode('utf8')
^
./master/buildbot/test/unit/test_clients_sendchange.py:180:22: E121 continuation line indentation is not a multiple of four
: 'b'},
^
./master/buildbot/test/unit/test_clients_sendchange.py:188:44: E261 at least two spaces before inline comment
files=[u'\U0001F4C1'], # FILE FOLDER
^
./master/buildbot/test/unit/test_clients_sendchange.py:191:45: E261 at least two spaces before inline comment
revision=u'\U0001f49e', # REVOLVING HEARTS
^
./master/buildbot/test/unit/test_clients_sendchange.py:192:45: E261 at least two spaces before inline comment
category=u'\U0001F640', # WEARY CAT FACE
^
./master/buildbot/test/unit/test_clients_sendchange.py:195:44: E231 missing whitespace after ':'
properties={'\xc4\x81':'b'},
^
./master/buildbot/test/unit/test_clients_sendchange.py:196:44: E261 at least two spaces before inline comment
revlink=u'\U0001F517', # LINK SYMBOL
^
./master/buildbot/test/unit/test_clients_sendchange.py:207:17: E128 continuation line under-indented for visual indent
u'\N{POUND SIGN}'.encode('latin1'),
^
./master/buildbot/test/unit/test_clients_sendchange.py:216:60: E203 whitespace before ':'
u'\N{SUPERSCRIPT ONE}'.encode('latin1')
^
./master/buildbot/test/unit/test_clients_sendchange.py:217:22: E121 continuation line indentation is not a multiple of four
: 'b'},
^
./master/buildbot/test/unit/test_clients_sendchange.py:232:40: E231 missing whitespace after ':'
properties={'\xb9':'b'},
^
./master/buildbot/test/unit/test_clients_sendchange.py:237:1: W391 blank line at end of file
^
./master/buildbot/test/unit/test_clients_usersclient.py:22:1: E302 expected 2 blank lines, found 1
class TestUsersClient(unittest.TestCase):
^
./master/buildbot/test/unit/test_clients_usersclient.py:53:80: E501 line too long (80 > 79 characters)
def _fake_callRemote(self, method, op, bb_username, bb_password, ids, info):
^
./master/buildbot/test/unit/test_clients_usersclient.py:69:35: E231 missing whitespace after ':'
[{'identifier':'x', 'svn':'x'}])
^
./master/buildbot/test/unit/test_clients_usersclient.py:69:46: E231 missing whitespace after ':'
[{'identifier':'x', 'svn':'x'}])
^
./master/buildbot/test/unit/test_clients_usersclient.py:70:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_clients_usersclient.py:81:9: E301 expected 1 blank line, found 0
def check(_):
^
./master/buildbot/test/unit/test_config.py:68:5: E301 expected 1 blank line, found 0
def __init__(self, name):
^
./master/buildbot/test/unit/test_config.py:71:1: E302 expected 2 blank lines, found 1
class FakeBuilder(object):
^
./master/buildbot/test/unit/test_config.py:145:25: E128 continuation line under-indented for visual indent
mock.Mock(side_effect=
^
./master/buildbot/test/unit/test_config.py:146:29: E128 continuation line under-indented for visual indent
lambda filename, config_dict: None))
^
./master/buildbot/test/unit/test_config.py:149:25: E128 continuation line under-indented for visual indent
mock.Mock(side_effect=
^
./master/buildbot/test/unit/test_config.py:150:29: E128 continuation line under-indented for visual indent
lambda: None))
^
./master/buildbot/test/unit/test_config.py:153:5: E303 too many blank lines (2)
def install_config_file(self, config_file, other_files={}):
^
./master/buildbot/test/unit/test_config.py:164:5: E303 too many blank lines (2)
def test_defaults(self):
^
./master/buildbot/test/unit/test_config.py:171:20: E251 unexpected spaces around keyword / parameter equals
metrics = None,
^
./master/buildbot/test/unit/test_config.py:171:22: E251 unexpected spaces around keyword / parameter equals
metrics = None,
^
./master/buildbot/test/unit/test_config.py:172:19: E251 unexpected spaces around keyword / parameter equals
caches = dict(Changes=10, Builds=15),
^
./master/buildbot/test/unit/test_config.py:172:21: E251 unexpected spaces around keyword / parameter equals
caches = dict(Changes=10, Builds=15),
^
./master/buildbot/test/unit/test_config.py:173:23: E251 unexpected spaces around keyword / parameter equals
schedulers = {},
^
./master/buildbot/test/unit/test_config.py:173:25: E251 unexpected spaces around keyword / parameter equals
schedulers = {},
^
./master/buildbot/test/unit/test_config.py:174:21: E251 unexpected spaces around keyword / parameter equals
builders = [],
^
./master/buildbot/test/unit/test_config.py:174:23: E251 unexpected spaces around keyword / parameter equals
builders = [],
^
./master/buildbot/test/unit/test_config.py:175:19: E251 unexpected spaces around keyword / parameter equals
slaves = [],
^
./master/buildbot/test/unit/test_config.py:175:21: E251 unexpected spaces around keyword / parameter equals
slaves = [],
^
./master/buildbot/test/unit/test_config.py:176:27: E251 unexpected spaces around keyword / parameter equals
change_sources = [],
^
./master/buildbot/test/unit/test_config.py:176:29: E251 unexpected spaces around keyword / parameter equals
change_sources = [],
^
./master/buildbot/test/unit/test_config.py:177:19: E251 unexpected spaces around keyword / parameter equals
status = [],
^
./master/buildbot/test/unit/test_config.py:177:21: E251 unexpected spaces around keyword / parameter equals
status = [],
^
./master/buildbot/test/unit/test_config.py:178:26: E251 unexpected spaces around keyword / parameter equals
user_managers = [],
^
./master/buildbot/test/unit/test_config.py:178:28: E251 unexpected spaces around keyword / parameter equals
user_managers = [],
^
./master/buildbot/test/unit/test_config.py:179:20: E251 unexpected spaces around keyword / parameter equals
revlink = revlinks.default_revlink_matcher
^
./master/buildbot/test/unit/test_config.py:179:22: E251 unexpected spaces around keyword / parameter equals
revlink = revlinks.default_revlink_matcher
^
./master/buildbot/test/unit/test_config.py:184:50: E202 whitespace before ']'
for attr, exp in expected.iteritems() ])
^
./master/buildbot/test/unit/test_config.py:191:13: E128 continuation line under-indented for visual indent
sorted([
^
./master/buildbot/test/unit/test_config.py:198:19: E203 whitespace before ':'
lambda : config.MasterConfig.loadConfig(
^
./master/buildbot/test/unit/test_config.py:204:19: E203 whitespace before ':'
lambda : config.MasterConfig.loadConfig(
^
./master/buildbot/test/unit/test_config.py:224:19: E203 whitespace before ':'
lambda : config.MasterConfig.loadConfig(
^
./master/buildbot/test/unit/test_config.py:232:19: E203 whitespace before ':'
lambda : config.MasterConfig.loadConfig(
^
./master/buildbot/test/unit/test_config.py:242:13: E128 continuation line under-indented for visual indent
lambda : config.MasterConfig.loadConfig(
^
./master/buildbot/test/unit/test_config.py:242:19: E203 whitespace before ':'
lambda : config.MasterConfig.loadConfig(
^
./master/buildbot/test/unit/test_config.py:255:13: E128 continuation line under-indented for visual indent
lambda : config.MasterConfig.loadConfig(
^
./master/buildbot/test/unit/test_config.py:255:19: E203 whitespace before ':'
lambda : config.MasterConfig.loadConfig(
^
./master/buildbot/test/unit/test_config.py:258:17: E128 continuation line under-indented for visual indent
'no slaves are configured',
^
./master/buildbot/test/unit/test_config.py:264:13: E128 continuation line under-indented for visual indent
lambda : config.MasterConfig.loadConfig(
^
./master/buildbot/test/unit/test_config.py:264:19: E203 whitespace before ':'
lambda : config.MasterConfig.loadConfig(
^
./master/buildbot/test/unit/test_config.py:273:13: E128 continuation line under-indented for visual indent
lambda : config.MasterConfig.loadConfig(
^
./master/buildbot/test/unit/test_config.py:273:19: E203 whitespace before ':'
lambda : config.MasterConfig.loadConfig(
^
./master/buildbot/test/unit/test_config.py:282:13: E128 continuation line under-indented for visual indent
lambda : config.MasterConfig.loadConfig(
^
./master/buildbot/test/unit/test_config.py:282:19: E203 whitespace before ':'
lambda : config.MasterConfig.loadConfig(
^
./master/buildbot/test/unit/test_config.py:321:17: E128 continuation line under-indented for visual indent
{'basedir/subsidiary_module.py' : "x = 10"})
^
./master/buildbot/test/unit/test_config.py:321:48: E203 whitespace before ':'
{'basedir/subsidiary_module.py' : "x = 10"})
^
./master/buildbot/test/unit/test_config.py:342:50: E202 whitespace before ']'
for attr, exp in expected.iteritems() ])
^
./master/buildbot/test/unit/test_config.py:353:17: E128 continuation line under-indented for visual indent
dict(title=10))
^
./master/buildbot/test/unit/test_config.py:358:17: E128 continuation line under-indented for visual indent
dict(changeHorizon='yes'))
^
./master/buildbot/test/unit/test_config.py:363:17: E128 continuation line under-indented for visual indent
dict(protocols="test"))
^
./master/buildbot/test/unit/test_config.py:368:17: E128 continuation line under-indented for visual indent
dict(protocols={"pb": {"port": 123}}, slavePortnum=321))
^
./master/buildbot/test/unit/test_config.py:370:13: E128 continuation line under-indented for visual indent
"Both c['slavePortnum'] and c['protocols']['pb']['port']"
^
./master/buildbot/test/unit/test_config.py:376:17: E128 continuation line under-indented for visual indent
dict(protocols={321: {"port": 123}}))
^
./master/buildbot/test/unit/test_config.py:377:80: E501 line too long (82 > 79 characters)
self.assertConfigError(self.errors, "c['protocols'] keys must be strings")
^
./master/buildbot/test/unit/test_config.py:381:17: E128 continuation line under-indented for visual indent
dict(protocols={"pb": 123}))
^
./master/buildbot/test/unit/test_config.py:382:80: E501 line too long (82 > 79 characters)
self.assertConfigError(self.errors, "c['protocols']['pb'] must be a dict")
^
./master/buildbot/test/unit/test_config.py:425:17: E128 continuation line under-indented for visual indent
dict(logCompressionMethod='foo'))
^
./master/buildbot/test/unit/test_config.py:435:17: E128 continuation line under-indented for visual indent
dict(codebaseGenerator='dummy'))
^
./master/buildbot/test/unit/test_config.py:437:17: E128 continuation line under-indented for visual indent
"codebaseGenerator must be a callable "
^
./master/buildbot/test/unit/test_config.py:453:17: E128 continuation line under-indented for visual indent
dict(properties='yes'))
^
./master/buildbot/test/unit/test_config.py:458:17: E128 continuation line under-indented for visual indent
mergeRequests=False)
^
./master/buildbot/test/unit/test_config.py:461:26: E203 whitespace before ':'
callable = lambda : None
^
./master/buildbot/test/unit/test_config.py:463:17: E128 continuation line under-indented for visual indent
mergeRequests=callable)
^
./master/buildbot/test/unit/test_config.py:467:17: E128 continuation line under-indented for visual indent
dict(mergeRequests='yes'))
^
./master/buildbot/test/unit/test_config.py:469:17: E128 continuation line under-indented for visual indent
"must be a callable, True, or False")
^
./master/buildbot/test/unit/test_config.py:472:26: E203 whitespace before ':'
callable = lambda : None
^
./master/buildbot/test/unit/test_config.py:474:17: E128 continuation line under-indented for visual indent
prioritizeBuilders=callable)
^
./master/buildbot/test/unit/test_config.py:478:17: E128 continuation line under-indented for visual indent
dict(prioritizeBuilders='yes'))
^
./master/buildbot/test/unit/test_config.py:483:17: E128 continuation line under-indented for visual indent
protocols={'pb': {'port': 'tcp:123'}})
^
./master/buildbot/test/unit/test_config.py:487:17: E128 continuation line under-indented for visual indent
protocols={'pb': {'port': 'udp:123'}})
^
./master/buildbot/test/unit/test_config.py:491:17: E128 continuation line under-indented for visual indent
protocols={'pb': {'port': 'udp:123'}})
^
./master/buildbot/test/unit/test_config.py:498:17: E128 continuation line under-indented for visual indent
debugPassword='xyz')
^
./master/buildbot/test/unit/test_config.py:505:26: E203 whitespace before ':'
callable = lambda : None
^
./master/buildbot/test/unit/test_config.py:507:17: E128 continuation line under-indented for visual indent
revlink=callable)
^
./master/buildbot/test/unit/test_config.py:516:13: E128 continuation line under-indented for visual indent
sorted([
^
./master/buildbot/test/unit/test_config.py:522:17: E128 continuation line under-indented for visual indent
dict(validation='plz'))
^
./master/buildbot/test/unit/test_config.py:527:17: E128 continuation line under-indented for visual indent
dict(validation=dict(users='.*')))
^
./master/buildbot/test/unit/test_config.py:533:17: E128 continuation line under-indented for visual indent
dict(validation=dict(branch=r)))
^
./master/buildbot/test/unit/test_config.py:539:5: E303 too many blank lines (2)
def test_load_db_defaults(self):
^
./master/buildbot/test/unit/test_config.py:555:13: E128 continuation line under-indented for visual indent
dict(db=dict(db_url='abcd', db_poll_interval=10)))
^
./master/buildbot/test/unit/test_config.py:560:13: E128 continuation line under-indented for visual indent
dict(db=dict(db_url='abcd', db_poll_interval=10, bar='bar')))
^
./master/buildbot/test/unit/test_config.py:565:13: E128 continuation line under-indented for visual indent
dict(db=dict(db_url='abcd', db_poll_interval='ten')))
^
./master/buildbot/test/unit/test_config.py:569:5: E303 too many blank lines (2)
def test_load_metrics_defaults(self):
^
./master/buildbot/test/unit/test_config.py:579:17: E128 continuation line under-indented for visual indent
dict(metrics=dict(foo=1)))
^
./master/buildbot/test/unit/test_config.py:583:5: E303 too many blank lines (2)
def test_load_caches_defaults(self):
^
./master/buildbot/test/unit/test_config.py:593:17: E128 continuation line under-indented for visual indent
dict(buildCacheSize=13))
^
./master/buildbot/test/unit/test_config.py:598:17: E128 continuation line under-indented for visual indent
dict(buildCacheSize=13, caches=dict(builds=11)))
^
./master/buildbot/test/unit/test_config.py:603:17: E128 continuation line under-indented for visual indent
dict(changeCacheSize=13))
^
./master/buildbot/test/unit/test_config.py:608:17: E128 continuation line under-indented for visual indent
dict(changeCacheSize=13, caches=dict(changes=11)))
^
./master/buildbot/test/unit/test_config.py:613:17: E128 continuation line under-indented for visual indent
dict(caches=dict(foo=1)))
^
./master/buildbot/test/unit/test_config.py:621:17: E128 continuation line under-indented for visual indent
dict(caches=dict(foo="1")))
^
./master/buildbot/test/unit/test_config.py:631:25: E128 continuation line under-indented for visual indent
"'Changes' cache size must be at least 1, got '-12'")
^
./master/buildbot/test/unit/test_config.py:639:17: E128 continuation line under-indented for visual indent
dict(schedulers=dict()))
^
./master/buildbot/test/unit/test_config.py:644:17: E128 continuation line under-indented for visual indent
dict(schedulers=[mock.Mock()]))
^
./master/buildbot/test/unit/test_config.py:651:17: E128 continuation line under-indented for visual indent
dict(schedulers=[ sch1, sch2 ]))
^
./master/buildbot/test/unit/test_config.py:651:34: E201 whitespace after '['
dict(schedulers=[ sch1, sch2 ]))
^
./master/buildbot/test/unit/test_config.py:651:45: E202 whitespace before ']'
dict(schedulers=[ sch1, sch2 ]))
^
./master/buildbot/test/unit/test_config.py:653:17: E128 continuation line under-indented for visual indent
"scheduler name 'sch' used multiple times")
^
./master/buildbot/test/unit/test_config.py:661:17: E128 continuation line under-indented for visual indent
dict(schedulers=[sch]))
^
./master/buildbot/test/unit/test_config.py:665:5: E303 too many blank lines (2)
def test_load_builders_defaults(self):
^
./master/buildbot/test/unit/test_config.py:671:17: E128 continuation line under-indented for visual indent
dict(builders=dict()))
^
./master/buildbot/test/unit/test_config.py:676:17: E128 continuation line under-indented for visual indent
dict(builders=[mock.Mock()]))
^
./master/buildbot/test/unit/test_config.py:677:80: E501 line too long (88 > 79 characters)
self.assertConfigError(self.errors, "is not a builder config (in c['builders']")
^
./master/buildbot/test/unit/test_config.py:681:25: E128 continuation line under-indented for visual indent
factory=factory.BuildFactory(), slavename='x')
^
./master/buildbot/test/unit/test_config.py:683:17: E128 continuation line under-indented for visual indent
dict(builders=[bldr]))
^
./master/buildbot/test/unit/test_config.py:689:17: E128 continuation line under-indented for visual indent
dict(builders=[bldr]))
^
./master/buildbot/test/unit/test_config.py:696:17: E128 continuation line under-indented for visual indent
builddir=os.path.abspath('.'))
^
./master/buildbot/test/unit/test_config.py:698:17: E128 continuation line under-indented for visual indent
dict(builders=[bldr]))
^
./master/buildbot/test/unit/test_config.py:709:17: E128 continuation line under-indented for visual indent
dict(slaves=dict()))
^
./master/buildbot/test/unit/test_config.py:714:17: E128 continuation line under-indented for visual indent
dict(slaves=[mock.Mock()]))
^
./master/buildbot/test/unit/test_config.py:720:21: E128 continuation line under-indented for visual indent
dict(slaves=[buildslave.BuildSlave(name, 'x')]))
^
./master/buildbot/test/unit/test_config.py:722:39: E261 at least two spaces before inline comment
self.errors.errors[:] = [] # clear out the errors
^
./master/buildbot/test/unit/test_config.py:727:17: E128 continuation line under-indented for visual indent
dict(slaves=[sl]))
^
./master/buildbot/test/unit/test_config.py:731:5: E303 too many blank lines (2)
def test_load_change_sources_defaults(self):
^
./master/buildbot/test/unit/test_config.py:737:17: E128 continuation line under-indented for visual indent
dict(change_source=[mock.Mock()]))
^
./master/buildbot/test/unit/test_config.py:743:17: E128 continuation line under-indented for visual indent
dict(change_source=chsrc))
^
./master/buildbot/test/unit/test_config.py:749:17: E128 continuation line under-indented for visual indent
dict(change_source=[chsrc]))
^
./master/buildbot/test/unit/test_config.py:766:17: E128 continuation line under-indented for visual indent
dict(user_managers='foo'))
^
./master/buildbot/test/unit/test_config.py:772:17: E128 continuation line under-indented for visual indent
dict(user_managers=[um]))
^
./master/buildbot/test/unit/test_config.py:775:1: E302 expected 2 blank lines, found 1
class MasterConfig_checkers(ConfigErrorsMixin, unittest.TestCase):
^
./master/buildbot/test/unit/test_config.py:788:38: E203 whitespace before ':'
sch.listBuilderNames = lambda : [ 'b1', 'b2' ]
^
./master/buildbot/test/unit/test_config.py:788:42: E201 whitespace after '['
sch.listBuilderNames = lambda : [ 'b1', 'b2' ]
^
./master/buildbot/test/unit/test_config.py:788:53: E202 whitespace before ']'
sch.listBuilderNames = lambda : [ 'b1', 'b2' ]
^
./master/buildbot/test/unit/test_config.py:797:28: E201 whitespace after '['
self.cfg.slaves = [ mock.Mock() ]
^
./master/buildbot/test/unit/test_config.py:797:40: E202 whitespace before ']'
self.cfg.slaves = [ mock.Mock() ]
^
./master/buildbot/test/unit/test_config.py:798:30: E201 whitespace after '['
self.cfg.builders = [ b1, b2 ]
^
./master/buildbot/test/unit/test_config.py:798:37: E202 whitespace before ']'
self.cfg.builders = [ b1, b2 ]
^
./master/buildbot/test/unit/test_config.py:822:32: E201 whitespace after '['
b.factory.steps = [ ('cls', (), dict(locks=[])) ]
^
./master/buildbot/test/unit/test_config.py:822:60: E202 whitespace before ']'
b.factory.steps = [ ('cls', (), dict(locks=[])) ]
^
./master/buildbot/test/unit/test_config.py:833:30: E201 whitespace after '['
self.cfg.builders = [ b1, b2 ]
^
./master/buildbot/test/unit/test_config.py:833:37: E202 whitespace before ']'
self.cfg.builders = [ b1, b2 ]
^
./master/buildbot/test/unit/test_config.py:848:30: E201 whitespace after '['
self.cfg.builders = [ ]
^
./master/buildbot/test/unit/test_config.py:854:28: E201 whitespace after '['
self.cfg.slaves = [ ]
^
./master/buildbot/test/unit/test_config.py:867:5: E303 too many blank lines (2)
def test_check_schedulers_unknown_builder(self):
^
./master/buildbot/test/unit/test_config.py:869:33: E261 at least two spaces before inline comment
del self.cfg.builders[1] # remove b2, leaving b1
^
./master/buildbot/test/unit/test_config.py:876:33: E261 at least two spaces before inline comment
del self.cfg.builders[1] # remove b2, leaving b1
^
./master/buildbot/test/unit/test_config.py:887:5: E303 too many blank lines (2)
def test_check_locks_dup_builder_lock(self):
^
./master/buildbot/test/unit/test_config.py:912:5: E303 too many blank lines (2)
def test_check_builders_unknown_slave(self):
^
./master/buildbot/test/unit/test_config.py:915:28: E201 whitespace after '['
self.cfg.slaves = [ sl ]
^
./master/buildbot/test/unit/test_config.py:915:31: E202 whitespace before ']'
self.cfg.slaves = [ sl ]
^
./master/buildbot/test/unit/test_config.py:917:38: E201 whitespace after '['
b1 = FakeBuilder(slavenames=[ 'xyz', 'abc' ], builddir='x', name='b1')
^
./master/buildbot/test/unit/test_config.py:917:51: E202 whitespace before ']'
b1 = FakeBuilder(slavenames=[ 'xyz', 'abc' ], builddir='x', name='b1')
^
./master/buildbot/test/unit/test_config.py:918:30: E201 whitespace after '['
self.cfg.builders = [ b1 ]
^
./master/buildbot/test/unit/test_config.py:918:33: E202 whitespace before ']'
self.cfg.builders = [ b1 ]
^
./master/buildbot/test/unit/test_config.py:922:17: E128 continuation line under-indented for visual indent
"builder 'b1' uses unknown slaves 'abc'")
^
./master/buildbot/test/unit/test_config.py:927:30: E201 whitespace after '['
self.cfg.builders = [ b1, b2 ]
^
./master/buildbot/test/unit/test_config.py:927:37: E202 whitespace before ']'
self.cfg.builders = [ b1, b2 ]
^
./master/buildbot/test/unit/test_config.py:931:17: E128 continuation line under-indented for visual indent
"duplicate builder name 'b1'")
^
./master/buildbot/test/unit/test_config.py:936:30: E201 whitespace after '['
self.cfg.builders = [ b1, b2 ]
^
./master/buildbot/test/unit/test_config.py:936:37: E202 whitespace before ']'
self.cfg.builders = [ b1, b2 ]
^
./master/buildbot/test/unit/test_config.py:940:17: E128 continuation line under-indented for visual indent
"duplicate builder builddir 'dir'")
^
./master/buildbot/test/unit/test_config.py:945:28: E201 whitespace after '['
self.cfg.slaves = [ sl ]
^
./master/buildbot/test/unit/test_config.py:945:31: E202 whitespace before ']'
self.cfg.slaves = [ sl ]
^
./master/buildbot/test/unit/test_config.py:947:38: E201 whitespace after '['
b1 = FakeBuilder(slavenames=[ 'a' ], name='b1', builddir='dir1')
^
./master/buildbot/test/unit/test_config.py:947:42: E202 whitespace before ']'
b1 = FakeBuilder(slavenames=[ 'a' ], name='b1', builddir='dir1')
^
./master/buildbot/test/unit/test_config.py:948:38: E201 whitespace after '['
b2 = FakeBuilder(slavenames=[ 'a' ], name='b2', builddir='dir2')
^
./master/buildbot/test/unit/test_config.py:948:42: E202 whitespace before ']'
b2 = FakeBuilder(slavenames=[ 'a' ], name='b2', builddir='dir2')
^
./master/buildbot/test/unit/test_config.py:949:30: E201 whitespace after '['
self.cfg.builders = [ b1, b2 ]
^
./master/buildbot/test/unit/test_config.py:949:37: E202 whitespace before ']'
self.cfg.builders = [ b1, b2 ]
^
./master/buildbot/test/unit/test_config.py:955:5: E303 too many blank lines (2)
def test_check_status_fails(self):
^
./master/buildbot/test/unit/test_config.py:958:28: E201 whitespace after '['
self.cfg.status = [ st ]
^
./master/buildbot/test/unit/test_config.py:958:31: E202 whitespace before ']'
self.cfg.status = [ st ]
^
./master/buildbot/test/unit/test_config.py:967:28: E201 whitespace after '['
self.cfg.status = [ st ]
^
./master/buildbot/test/unit/test_config.py:967:31: E202 whitespace before ']'
self.cfg.status = [ st ]
^
./master/buildbot/test/unit/test_config.py:992:28: E201 whitespace after '['
self.cfg.slaves = [ mock.Mock() ]
^
./master/buildbot/test/unit/test_config.py:992:40: E202 whitespace before ']'
self.cfg.slaves = [ mock.Mock() ]
^
./master/buildbot/test/unit/test_config.py:995:17: E128 continuation line under-indented for visual indent
"slaves are configured, but c['protocols'] not")
^
./master/buildbot/test/unit/test_config.py:1001:17: E128 continuation line under-indented for visual indent
"debug client is configured, but c['protocols'] not")
^
./master/buildbot/test/unit/test_config.py:1007:17: E128 continuation line under-indented for visual indent
"Some of ports in c['protocols'] duplicated")
^
./master/buildbot/test/unit/test_config.py:1019:50: E202 whitespace before ']'
for attr, exp in expected.iteritems() ])
^
./master/buildbot/test/unit/test_config.py:1027:19: E203 whitespace before ':'
lambda : config.BuilderConfig(
^
./master/buildbot/test/unit/test_config.py:1033:19: E203 whitespace before ':'
lambda : config.BuilderConfig(name='_a',
^
./master/buildbot/test/unit/test_config.py:1034:17: E128 continuation line under-indented for visual indent
factory=self.factory, slavenames=['a']))
^
./master/buildbot/test/unit/test_config.py:1039:19: E203 whitespace before ':'
lambda : config.BuilderConfig(
^
./master/buildbot/test/unit/test_config.py:1045:19: E203 whitespace before ':'
lambda : config.BuilderConfig(
^
./master/buildbot/test/unit/test_config.py:1051:19: E203 whitespace before ':'
lambda : config.BuilderConfig(
^
./master/buildbot/test/unit/test_config.py:1057:19: E203 whitespace before ':'
lambda : config.BuilderConfig(
^
./master/buildbot/test/unit/test_config.py:1058:40: E231 missing whitespace after ':'
name='a', slavenames={1:2}, factory=self.factory))
^
./master/buildbot/test/unit/test_config.py:1063:19: E203 whitespace before ':'
lambda : config.BuilderConfig(
^
./master/buildbot/test/unit/test_config.py:1069:19: E203 whitespace before ':'
lambda : config.BuilderConfig(category=13,
^
./master/buildbot/test/unit/test_config.py:1070:17: E128 continuation line under-indented for visual indent
name='a', slavenames=['a'], factory=self.factory))
^
./master/buildbot/test/unit/test_config.py:1075:19: E203 whitespace before ':'
lambda : config.BuilderConfig(nextSlave="foo",
^
./master/buildbot/test/unit/test_config.py:1076:17: E128 continuation line under-indented for visual indent
name="a", slavenames=['a'], factory=self.factory))
^
./master/buildbot/test/unit/test_config.py:1081:19: E203 whitespace before ':'
lambda : config.BuilderConfig(nextBuild="foo",
^
./master/buildbot/test/unit/test_config.py:1082:17: E128 continuation line under-indented for visual indent
name="a", slavenames=['a'], factory=self.factory))
^
./master/buildbot/test/unit/test_config.py:1087:19: E203 whitespace before ':'
lambda : config.BuilderConfig(canStartBuild="foo",
^
./master/buildbot/test/unit/test_config.py:1088:17: E128 continuation line under-indented for visual indent
name="a", slavenames=['a'], factory=self.factory))
^
./master/buildbot/test/unit/test_config.py:1093:19: E203 whitespace before ':'
lambda : config.BuilderConfig(env="foo",
^
./master/buildbot/test/unit/test_config.py:1094:17: E128 continuation line under-indented for visual indent
name="a", slavenames=['a'], factory=self.factory))
^
./master/buildbot/test/unit/test_config.py:1101:13: E128 continuation line under-indented for visual indent
name='a b c',
^
./master/buildbot/test/unit/test_config.py:1102:13: E128 continuation line under-indented for visual indent
slavenames=['a'],
^
./master/buildbot/test/unit/test_config.py:1117:29: E203 whitespace before ':'
nextSlave=lambda : 'ns', nextBuild=lambda : 'nb', locks=['l'],
^
./master/buildbot/test/unit/test_config.py:1117:54: E203 whitespace before ':'
nextSlave=lambda : 'ns', nextBuild=lambda : 'nb', locks=['l'],
^
./master/buildbot/test/unit/test_config.py:1122:13: E128 continuation line under-indented for visual indent
name='b',
^
./master/buildbot/test/unit/test_config.py:1123:13: E128 continuation line under-indented for visual indent
slavenames=['s2', 's1'],
^
./master/buildbot/test/unit/test_config.py:1128:21: E231 missing whitespace after ':'
env={'x':10},
^
./master/buildbot/test/unit/test_config.py:1129:28: E231 missing whitespace after ':'
properties={'y':20},
^
./master/buildbot/test/unit/test_config.py:1134:20: E203 whitespace before ':'
ns = lambda : 'ns'
^
./master/buildbot/test/unit/test_config.py:1135:20: E203 whitespace before ':'
nb = lambda : 'nb'
^
./master/buildbot/test/unit/test_config.py:1143:13: E128 continuation line under-indented for visual indent
'category': 'c',
^
./master/buildbot/test/unit/test_config.py:1158:35: E231 missing whitespace after ','
for mr in (False, lambda a,b,c:False):
^
./master/buildbot/test/unit/test_config.py:1158:37: E231 missing whitespace after ','
for mr in (False, lambda a,b,c:False):
^
./master/buildbot/test/unit/test_config.py:1158:39: E231 missing whitespace after ':'
for mr in (False, lambda a,b,c:False):
^
./master/buildbot/test/unit/test_config.py:1160:21: E128 continuation line under-indented for visual indent
factory=self.factory, slavename='s1')
^
./master/buildbot/test/unit/test_config.py:1162:17: E128 continuation line under-indented for visual indent
'mergeRequests': mr,
^
./master/buildbot/test/unit/test_config.py:1171:1: E303 too many blank lines (3)
class FakeService(config.ReconfigurableServiceMixin,
^
./master/buildbot/test/unit/test_config.py:1172:21: E127 continuation line over-indented for visual indent
service.Service):
^
./master/buildbot/test/unit/test_config.py:1189:1: E303 too many blank lines (3)
class FakeMultiService(config.ReconfigurableServiceMixin,
^
./master/buildbot/test/unit/test_config.py:1190:21: E128 continuation line under-indented for visual indent
service.MultiService):
^
./master/buildbot/test/unit/test_config.py:1199:1: E303 too many blank lines (3)
class ReconfigurableServiceMixin(unittest.TestCase):
^
./master/buildbot/test/unit/test_config.py:1204:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/unit/test_config.py:1229:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/unit/test_config.py:1242:21: E201 whitespace after '['
services = [ svc128 ]
^
./master/buildbot/test/unit/test_config.py:1242:28: E202 whitespace before ']'
services = [ svc128 ]
^
./master/buildbot/test/unit/test_config.py:1250:9: E301 expected 1 blank line, found 0
@d.addCallback
^
./master/buildbot/test/unit/test_config.py:1252:27: E201 whitespace after '['
prio_order = [ svc.called for svc in services ]
^
./master/buildbot/test/unit/test_config.py:1252:58: E202 whitespace before ']'
prio_order = [ svc.called for svc in services ]
^
./master/buildbot/test/unit/test_contrib_buildbot_cvs_mail.py:34:18: E225 missing whitespace around operator
golden_1_11_regex=[
^
./master/buildbot/test/unit/test_co
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment