captainhook icon indicating copy to clipboard operation
captainhook copied to clipboard

Weird error on one project...

Open alexcouper opened this issue 10 years ago • 0 comments

git commit -a
Traceback (most recent call last):
  File ".git/hooks/pre-commit", line 127, in <module>
    exit_code = main(commit_only=not args.all)
  File ".git/hooks/pre-commit", line 96, in main
    for name, mod in checks():
  File ".git/hooks/pre-commit", line 49, in checks
    mod = importlib.import_module("checkers.{0}".format(name))
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/Users/alex/Work/gvs/coredata1.4/.git/hooks/checkers/flake8.py", line 4, in <module>
ImportError: cannot import name python_files_for_commit

alexcouper avatar Sep 01 '14 14:09 alexcouper