Skip to content

Commit

Permalink
Add the test lib directory to $PYTHONPATH in the commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
dashea committed Nov 5, 2015
1 parent e07ff1a commit a48c912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/githooks/pre-commit
Expand Up @@ -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")
Expand Down

0 comments on commit a48c912

Please sign in to comment.