Suppressing checking of modules with pychecker

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Qopit

    Suppressing checking of modules with pychecker

    Does anyone know how to stop the command line pychecker from analyzing
    particular modules? It really gets slowed down on some big ones.

    In particular having 'import wx' takes a long while (30 - 60s). If you
    try pycheck'ing the program below it takes a while and prints a zillion
    warnings.

    #---
    import wx
    print "Go make a sandwich while this finishes..."
    #---

    I tried the blacklisting -b option, but can't seem to get it to work
    right. Plus I think it just suppresses the warnings but does not stop
    it from digging through the wx module.

    Anyone using pychecker with wxPython apps know what to do?

  • MrJean1

    #2
    Re: Suppressing checking of modules with pychecker

    FWIIW,

    We use PyChecker all the time with Python files using importing wx plus
    wx.grid or wx.stc, etc. and the run times vary between 5 and 15
    seconds.

    This is Python 2.4 with wxPython 2.4.2.4 and RedHat Fedora Core 2 Linux
    running on a 1.2 GHz Pentium 4 M laptop.

    /Jean Brouwers

    Comment

    Working...