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 import *
    from gluon.html import *
    from gluon.http import *
    from gluon.tools import *
    from gluon.sql import *
    from gluon.validators import *
    from gluon.languages import translator as T

    from gluon.sqlhtml import SQLFORM, SQLTABLE, form_factory
    session = Session()
    request = Request()
    response = Response()
    crud = Crud()
    db = DAL('sqlite://storage.sqlite')
    auth = Auth(globals(), None)

On Tuesday, December 2, 2014 5:06:18 PM UTC-8, Alan Evangelista wrote:
>
> pylint checks fail on web2py controllers and models because web2py 
> automatically imports several modules/classes/variables at runtime. I 
> assume this is a known issue and there is no workaround?
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to