mirror of https://github.com/buildinspace/peru.git
lint fixes
This commit is contained in:
parent
adfbd194f6
commit
9be8463bc3
|
@ -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'
|
||||||
|
|
|
@ -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 = {}
|
||||||
|
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue