This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YELP-9:pre-commit.github.io kstruys$ pre-commit | |
Traceback (most recent call last): | |
File "/usr/local/bin/pre-commit", line 5, in <module> | |
from pkg_resources import load_entry_point | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module> | |
working_set.require(__requires__) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require | |
needed = self.resolve(parse_requirements(requirements)) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve | |
raise DistributionNotFound(req) # XXX put more info here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(py_env)YELP-9:pre-commit.github.io kstruys$ git commit -m "change all-repos.yaml to use git urls" | |
[INFO] Installing environment for [email protected]:pre-commit/mirrors-scss-lint. | |
[INFO] Once installed this environment will be reused. | |
[INFO] This may take a few minutes... | |
Traceback (most recent call last): | |
File "/Users/kstruys/Desktop/pre-commit.github.io/py_env/bin/pre-commit", line 9, in <module> | |
load_entry_point('pre-commit==0.2.7', 'console_scripts', 'pre-commit')() | |
File "/Users/kstruys/Desktop/pre-commit.github.io/py_env/lib/python2.7/site-packages/pre_commit/util.py", line 41, in wrapper | |
return func(argv) | |
File "/Users/kstruys/Desktop/pre-commit.github.io/py_env/lib/python2.7/site-packages/pre_commit/main.py", line 99, in main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* .-´¯¯¯`-. | |
* ,´ `. | |
* | JLATT \ | |
* \ _ \ | |
* ,\ _ ,´¯,/¯)\ | |
* ( q \ \,´ ,´ ,´¯) | |
* `._,) -´,-´) | |
* \/ ,´/ | |
* ) / / |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class _ImporterProxy(object): | |
def __init__(self, mod): | |
self.__mod = mod | |
def __getattr__(self, meth): | |
try: | |
ret = getattr(self.__mod, meth) | |
except AttributeError: | |
ret = _ImporterProxy(__import__(self.__mod.__name__ + '.' + meth, fromlist=['__trash'])) |