Re: [web2py] Re: web2py and pylint

2014-12-17 Thread Prasad Muley
Hello Flagist, *pylint -E --load-plugins pylint_web2py applications/asdf/scripts/asdf.py *command. My bad to not recognize difference between *pylint-web2py* and *pylint_web2py* Thanks for quick reply. On Thu, Dec 18, 2014 at 3:20 AM, flagist0 wrote: > > Hello Prasad! > Yes, it is a

[web2py] Re: web2py and pylint

2014-12-17 Thread flagist0
Hello Prasad! Yes, it is a strange naming convention bug inherited from original problem: repository is called pylint-web2py, but the plugin itself is called pylint_web2py (note the underscore). So you'll to call pylint like this: *pylint -E --load-plugins pylint_web2py applications/asdf/scripts

Re: [web2py] Re: web2py and pylint

2014-12-17 Thread Prasad Muley
Hi Mandar, I've installed those packages. Pylint is working as expected but Pylint-web2py plugin isn't working as explained above. *$ pip freeze | grep logilab* logilab-astng==0.24.3 logilab-common==0.63.2 *$ pip freeze | grep astroid

[web2py] Re: web2py and pylint

2014-12-17 Thread Mandar Vaze
Can you share the entire "pip freeze" output ? Especially Astoid and logilab-common versions/details ? https://bitbucket.org/logilab/pylint says "Pylint requires the astroid (the later the better; formerly known as logilab-astng) and logilab-common (version >= 0.53) packages" This may provide a

[web2py] Re: web2py and pylint

2014-12-17 Thread Prasad Muley
Hi Flagist, I've installed pylint-web2py plugin by downloading from flagist-pylint-web2py github. I've checked whether pylint-web2py plugin is successfully installed or not using following command: *$ pip freeze | grep pylint-web2py

[web2py] Re: web2py and pylint

2014-12-13 Thread flagist0
On Wednesday, December 10, 2014 7:04:17 AM UTC+4, Massimo Di Pierro wrote: > > perhaps we should include this in script? > > Pylint expects the plugins to be installed system-wide, so it's better to use this plugin as a separate package. But I'll register my version of the plugin on PyPI so it c

[web2py] Re: web2py and pylint

2014-12-09 Thread Massimo Di Pierro
perhaps we should include this in script? On Tuesday, 9 December 2014 09:28:08 UTC-6, flagist0 wrote: > > Hello! > Yes, it is a known issue and there is a pylint plugin to fix it: > https://github.com/dsludwig/pylint-web2py > The problem with it is that it relies on old Pylint API, so it doesn't

[web2py] Re: web2py and pylint

2014-12-09 Thread flagist0
Hello! Yes, it is a known issue and there is a pylint plugin to fix it: https://github.com/dsludwig/pylint-web2py The problem with it is that it relies on old Pylint API, so it doesn't work after version of 1.0 I updated it to support new Pylint (Astroid) API and added ability to find web2py mo

[web2py] Re: web2py and pylint

2014-12-08 Thread Andy Pardue
When I was using sublime to develop web2py I would do imports under a False. This would help with auto complete as well. I use the pycharm now and it has web2py support that takes care of the way web2py use the libs. if 0: # for IDE's to find the imports for the globals from gluon.globals im

[web2py] Re: web2py and pylint

2014-12-04 Thread Leonel Câmara
This pylint plugin by Derek seems pretty good https://pypi.python.org/pypi/pylint-web2py/0.1.1 I have to check how to make SublimeLinter use it because it does get annoying. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source cod