#50 Pychecker results for 3.9.5

closed
nobody
None
5
2005-02-03
2005-02-01
No

Hi, I checked the the whold program with pychecker:
(i took into account only unused variable, no attribut
found)

(I think, this makes problems)
!drPluginMenu.py:142: No global (Install) found
!drPluginDialog.py:896: No global (Install) found
(self.Install?)
!drPrefsDialog.py:1262: No class attribute
(pnlLineEndings) found
!drSourceBrowser.py:92: No class attribute
(OnItemRightClicked) found (this was reported already,
I saw)

(doubled defineed)
drRegularExpressionDialog.py:237: Redefining attribute
(OnbtnAnyCharacter) original line (216) (exists to times)

unused variables (could make program more clear):

drpython.py:84: Parameter (EditRecentFiles) not used
drpython.py:646: Local variable (eolmodestr) not used
drpython.py:652: Local variable (ovrstring) not used
drpython.py:755: Local variable (l) not used
drpython.py:765: Local variable (l) not used
drpython.py:769: Local variable (l) not used
drpython.py:813: Local variable (code) not used
drpython.py:1643: Local variable (pos) not used
drpython.py:2258: Local variable (document) not used
drpython.py:3047: Local variable (oldpromptfinder) not used
drpython.py:3357: Local variable (txtDocument) not used
drTreeDialog.py:32: Local variable (y) not used
drTreeDialog.py:136: Local variable (frombranchtext)
not used
drDragAndDrop.py:79: Local variable (doCut) not used
drFileDialog.py:396: Local variable (imagesize) not used
drFileDialog.py:951: Local variable (a) not used
drFindReplaceDialog.py:126: Local variable (doclength)
not used
drFindReplaceDialog.py:440: Local variable (dText) not used
drFindReplaceDialog.py:483: Local variable (dText) not used
drFindReplaceDialog.py:665: Local variable (line) not used
drGetBlockInfo.py:187: Local variable (x) not used
drNotebook.py:47: Local variable (ID_CLOSE) not used
drNotebook.py:507: Local variable (edge) not used
drOpenImportedModuleDialog.py:40: Local variable
(selmoudle) not used
drPluginDialog.py:856: Parameter (filename) not used
drPluginDialog.py:1514: Local variable (selection) not used
drPluginMenu.py:79: Local variable (pluginsfile) not used
drPopUpMenuDialog.py:28: Imported module (drPopUp) not used
drPopUpMenuDialog.py:29: Imported module (drShortcuts)
not used
drPopUpMenuDialog.py:272: Local variable (selection)
not used
drPrefsFile.py:88: Local variable (evaltext) not used
drPrefsFile.py:100: Local variable (evaltext) not used
drShortcuts.py:361: Local variable (keycode) not used
drShortcuts.py:669: Local variable (keyindex) not used
drShortcutsDialog.py:525: Local variable (parentframe)
not used
drShortcutsDialog.py:447: Local variable (stcka) not used
drSourceBrowser.py:205: Local variable (eol) not used
drSTC.py:145: Local variable (wasnotmixed) not used
drToolBarDialog.py:497: Local variable (sel) not used
drToolBarDialog.py:358: Local variable (selection) not used

Discussion

  • Daniel Pozmanter

    Logged In: YES
    user_id=796750

    Thanks, this will be (*most of it*) in the next release.

    Some of it I just didn't get to.

    I've noticed pychecker/pylint pick up two things I tend to
    do, that are the way the code should be. One is a for loop
    which is just used to cycle through a list, and the other is
    when I run exec on code expecting a method Install to have
    been defined.

    Anyway, thanks, and this is done (Just the encoding, and I'm
    done!)

     
  • Daniel Pozmanter

    • status: open --> closed
     

Log in to post a comment.