pychecker filtering

S

simon.dahlbacka

Hi,

I'm trying to make a decent .pycheckrc for our project and have
stumbled on a few issues. (the pychecker-list would have seemed like
the appropriate place, but the S/N ratio seemed very low with all the
spam)

- for various reasons we decided to add an attribute to a module in the
stdlib, lets say os.foo. Now, pychecker screams "No module attribute
(foo) found" in a lot of places, which is not desirable.

(Yes I know, don't do that, fix the original problem etc.. We probably
will eventually, but for now, I just don't want to see those)

I thought of doing something with the suppressions dict, but could not
figure out how to use that in this particular case.

Another thing, we have a lot of autogenerated files which contain a
function _translateException which is basically a huge dictionary
lookup.
Here pychecker complains about too many lines, can I somehow suppress
<RandomName>Wrapper.<RandomName>._translateException or failing that,
all _translateException

(manually including every name does not seem like fun..)


/Simon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top