From 9be8463bc3c4c2013b7ff1f1e3773ecb6ee95ad2 Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Tue, 31 Jan 2017 12:13:18 -0500 Subject: [PATCH] lint fixes --- peru/cache.py | 1 + peru/main.py | 1 + peru/resources/plugins/git/git_plugin.py | 1 + 3 files changed, 3 insertions(+) diff --git a/peru/cache.py b/peru/cache.py index 4c4e694..717fcf3 100644 --- a/peru/cache.py +++ b/peru/cache.py @@ -567,6 +567,7 @@ class DirtyWorkingCopyError(PrintableError): class MergeConflictError(PrintableError): pass + TreeEntry = collections.namedtuple('TreeEntry', ['mode', 'type', 'hash']) BLOB_TYPE = 'blob' diff --git a/peru/main.py b/peru/main.py index 40e128b..7566b27 100644 --- a/peru/main.py +++ b/peru/main.py @@ -64,6 +64,7 @@ def peru_command(name, doc): return coro return decorator + COMMAND_FNS = {} COMMAND_DOCS = {} diff --git a/peru/resources/plugins/git/git_plugin.py b/peru/resources/plugins/git/git_plugin.py index 219f696..a914994 100755 --- a/peru/resources/plugins/git/git_plugin.py +++ b/peru/resources/plugins/git/git_plugin.py @@ -139,6 +139,7 @@ def plugin_reup(): with open(reup_output, 'w') as out_file: print('rev:', output.strip(), file=out_file) + command = os.environ['PERU_PLUGIN_COMMAND'] if command == 'sync': plugin_sync()