Hi, This approach solves the problem, at least gives me 8 points or more....
if False: import Field, T, settings, Session, Request, Response, IS_IN_DB, DAL import SQLFORM session = Session() request = Request() response = Response() Thanks! Saludos, -------------------------------- Alfonso de la Guarda Twitter: @alfonsodg Redes sociales: alfonsodg Telef. 991935157 1024D/B23B24A4 5469 ED92 75A3 BBDB FD6B 58A5 54A1 851D B23B 24A4 On Sat, Mar 23, 2013 at 10:51 AM, LightDot <light...@gmail.com> wrote: > I believe this thread is related and has some suggestions: > > https://groups.google.com/d/topic/web2py/-wanxR44Aro/discussion > > Regards, > Ales > > > On Saturday, March 23, 2013 4:26:59 PM UTC+1, Alfonso de la Guarda Reyes > wrote: >> >> Hi, >> >> Trying to make some final adjustments to one of my projects, i have >> notice than when i try to pass the code from models or controllers >> through pylint, the score goes down < 0... >> >> I am not a purist, but always try to code with good ratios, how we can >> solve this? By the way, the pep problems should be fixed, but >> problems as (by example): >> >> E:328,16: Undefined variable 'Field' >> E:328,55: Undefined variable 'T' >> E:328,77: Undefined variable 'T' >> E:349,33: Undefined variable 'IS_IN_DB' >> E:358,30: Undefined variable 'SQLFORM' >> E:359,4: Undefined variable 'request' >> E:361,29: Undefined variable 'SQLFORM' >> >> Forces a low score, maybe we can hack pylint to add support for web2py >> features? >> >> >> Saludos, >> >> -------------------------------- >> Alfonso de la Guarda >> Twitter: @alfonsodg >> Redes sociales: alfonsodg >> Telef. 991935157 >> 1024D/B23B24A4 >> 5469 ED92 75A3 BBDB FD6B 58A5 54A1 851D B23B 24A4 > > -- > > --- > 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/groups/opt_out. > > -- --- 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/groups/opt_out.