Dear All,

We would like to use pylint to make static analysis of my code. However, we 
stumbled over some problems because of web2py's "magic" imports which are 
not recognized by pylint. Pylint therefore produces a lot of "false" errors 
because e.g. helpers like T or D are not recognized.

E.g. 

"Line 104 E0602: users: Undefined variable 'auth'"
or
"Line 127 E0602: users: Undefined variable 'TH'

I already googled and found e.g. the following hint:
https://groups.google.com/forum/?fromgroups=#!topic/web2py/-wanxR44Aro 
BUT both attempts did not work right away and I also do not like the basic 
idea behind it! I assume I could make them working but before I wanted to 
ask if someone else maybe has a better suggestion?

Best regards

Patrick

-- 



Reply via email to