Created
November 23, 2011 20:21
-
-
Save justquick/1389784 to your computer and use it in GitHub Desktop.
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
Install - OSX 10.6, Python 2.6.1 django-lint git clone | |
Installed /Library/Python/2.6/site-packages/django_lint-0.0.0-py2.6.egg | |
Processing dependencies for django-lint==0.0.0 | |
Searching for pylint==0.25.0 | |
Best match: pylint 0.25.0 | |
Adding pylint 0.25.0 to easy-install.pth file | |
Using /Library/Python/2.6/site-packages | |
Searching for logilab-astng==0.23.0 | |
Best match: logilab-astng 0.23.0 | |
Adding logilab-astng 0.23.0 to easy-install.pth file | |
Using /Library/Python/2.6/site-packages | |
Searching for logilab-common==0.57.1 | |
Best match: logilab-common 0.57.1 | |
Adding logilab-common 0.57.1 to easy-install.pth file | |
Using /Library/Python/2.6/site-packages | |
Searching for unittest2==0.5.1 | |
Best match: unittest2 0.5.1 | |
Adding unittest2 0.5.1 to easy-install.pth file | |
Installing unit2-2.6 script to /usr/local/bin | |
Installing unit2 script to /usr/local/bin | |
[master]jquick:django-activity-stream $ django-lint example_project/ | |
************* Module example_project.settings | |
W: 1,0: Missing required field 'MANAGERS' | |
W: 73,4: Non-absolute directory 'templates' in TEMPLATE_DIRS | |
************* Module example_project.registration.models | |
W:168,11:RegistrationProfile: user: ForeignKey missing related_name | |
W:168,11:RegistrationProfile: user: Unique ForeignKey constraint better modelled as OneToOneField | |
Traceback (most recent call last): | |
File "/usr/local/bin/django-lint", line 8, in <module> | |
load_entry_point('django-lint==0.0.0', 'console_scripts', 'django-lint')() | |
File "/Library/Python/2.6/site-packages/django_lint-0.0.0-py2.6.egg/DjangoLint/script.py", line 139, in main | |
linter.check([target]) | |
File "/Library/Python/2.6/site-packages/pylint/lint.py", line 496, in check | |
self.check_astng_module(astng, walker, rawcheckers) | |
File "/Library/Python/2.6/site-packages/pylint/lint.py", line 568, in check_astng_module | |
walker.walk(astng) | |
File "/Library/Python/2.6/site-packages/pylint/utils.py", line 530, in walk | |
cb(astng) | |
File "/Library/Python/2.6/site-packages/django_lint-0.0.0-py2.6.egg/DjangoLint/AstCheckers/model_methods.py", line 77, in leave_module | |
for names in combinations(self.model_names, 4): | |
ValueError: r cannot be bigger than the iterable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment