On 23 Mar 2013, at 8:26 AM, Alfonso de la Guarda <[email protected]> wrote:
> 
> 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?

Try something like:

if False:
    import Field, whatever

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to