[master 2/8] Add the test lib directory to $PYTHONPATH in the commit hook
dashea
installerbot-noreply at redhat.com
Thu Nov 5 20:12:30 UTC 2015
From: David Shea <dshea at redhat.com>
---
scripts/githooks/pre-commit | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/githooks/pre-commit b/scripts/githooks/pre-commit
index 7b7345c..e9ea104 100755
--- a/scripts/githooks/pre-commit
+++ b/scripts/githooks/pre-commit
@@ -27,7 +27,7 @@ def is_python(filename):
return False
-OTHER_MODULES_PATH = ".:../blivet/:../pykickstart/"
+OTHER_MODULES_PATH = ".:./tests/lib:../blivet/:../pykickstart/"
if "NOPYLINT" in os.environ:
print("Skipping pre-commit pylint run")
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/a48c91210a1e040bee982a8d7ca9eaf04b353713
More information about the anaconda-patches
mailing list