aboutsummaryrefslogtreecommitdiff
path: root/pre-upload.py
diff options
context:
space:
mode:
Diffstat (limited to 'pre-upload.py')
-rwxr-xr-xpre-upload.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pre-upload.py b/pre-upload.py
index fe4cdd8..86f6da0 100755
--- a/pre-upload.py
+++ b/pre-upload.py
@@ -37,6 +37,9 @@ if sys.path[0] != _path:
sys.path.insert(0, _path)
del _path
+# We have to import our local modules after the sys.path tweak. We can't use
+# relative imports because this is an executable program, not a module.
+# pylint: disable=wrong-import-position
import rh
import rh.results
import rh.config