Ask Your Question

Equivalent of PyCharms Code Inspection

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

Michael Messuri gravatar image

updated 2020-01-22 19:36:50 -0500

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

2 Answers

Sort by » oldest newest most voted

answered 2020-01-22 19:36:14 -0500

Wing Pro 7+ adds a Code Warnings tool that supports inline display of internally generated code warnings and also warnings found by PyLint, pep8, and mypy. Details at

edit flag offensive delete link more

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

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 -0500 )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 -0500

Seen: 311 times

Last updated: Jan 22