Ask Your Question

Equivalent of PyCharms Code Inspection

asked 2017-08-02 13:41:00 -0600

Michael Messuri gravatar image

updated 2019-03-13 09:04:10 -0600

Is there a way to enable behavior similar to PyCharms Code Inspection?  I ask because in PyCharm a line similar to:test_random_str += ''.join(random.choice(string.ascii_letters) for i in range (10)) results in an 'Unused local'; however, the latest WingIDE does not report such an errorAlso, PyCharm reports several PEP 8 naming convention violations while WingIDE does not.


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-08-02 17:02:00 -0600

Right now checking for errors like this is done with the Pylint tool from the Tools menu (requires separate installation of pylint and then configuring by right-clicking on the PyLint tool in Wing) or the pyflakes8 add-on at working on changing that so unused variable, undefined variable, etc will be indicated directly on the editor.

edit flag offensive delete link more


Thank you so much for both the quick response and the information I needed.  I will not only work on installing the tools you mentioned but will also await the release of those changes.-- Michael --

Michael Messuri gravatar imageMichael Messuri ( 2017-08-02 18:24:00 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-08-02 13:41:00 -0600

Seen: 174 times

Last updated: Mar 07