lint fixes

This commit is contained in:
Jack O'Connor 2017-01-31 12:13:18 -05:00
parent adfbd194f6
commit 9be8463bc3
3 changed files with 3 additions and 0 deletions

View File

@ -567,6 +567,7 @@ class DirtyWorkingCopyError(PrintableError):
class MergeConflictError(PrintableError): class MergeConflictError(PrintableError):
pass pass
TreeEntry = collections.namedtuple('TreeEntry', ['mode', 'type', 'hash']) TreeEntry = collections.namedtuple('TreeEntry', ['mode', 'type', 'hash'])
BLOB_TYPE = 'blob' BLOB_TYPE = 'blob'

View File

@ -64,6 +64,7 @@ def peru_command(name, doc):
return coro return coro
return decorator return decorator
COMMAND_FNS = {} COMMAND_FNS = {}
COMMAND_DOCS = {} COMMAND_DOCS = {}

View File

@ -139,6 +139,7 @@ def plugin_reup():
with open(reup_output, 'w') as out_file: with open(reup_output, 'w') as out_file:
print('rev:', output.strip(), file=out_file) print('rev:', output.strip(), file=out_file)
command = os.environ['PERU_PLUGIN_COMMAND'] command = os.environ['PERU_PLUGIN_COMMAND']
if command == 'sync': if command == 'sync':
plugin_sync() plugin_sync()