On 02 mai 16:01, Shevitz, Daniel W wrote:
> I am an absolute Pylint newbie, and I can't pylint to work at all. I am using 
> python3.3 on a RHEL5.8 box.
> 
> I am trying to Pylint a django project and honestly don't know how to begin. 
> I am pretty sure I need a .pylintrc file but how do I specify in
> Init-hook to get the django environment settings, pathing etc set up so it is 
> like running manage.py.
> 
> If I run without a config file I get the traceback below.

I'm afraid this has little to do with a configuration file. There is actually 
a stack of problems there:

* pylint support of python 3.3 is weak

* there is a dumb name error in logilab-common which has been fixed in the hg 
  repository but not officially released yet (hint: change file into filepath 
  in modutils.py)

* django does import "magic" which pylint doesn't understand well, that triggers
  the bug above and leads to the crash

Good news is that python 3.3 support quickly be enhanced, and logilab-common 
bug 
fix is easy to redo and should be released soon. Imports pb may take more time 
though.
-- 
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to