First time here? Check out the FAQ!
1

Equivalent of PyCharms Code Inspection

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.

Thanks

Michael Messuri's avatar
11
Michael Messuri
asked 2017-08-02 13:41:00 -0600
Wingware Support's avatar
4.2k
Wingware Support
updated 2020-01-22 19:36:50 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

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 https://wingware.com/doc/warnings

Wingware Support's avatar
4.2k
Wingware Support
answered 2020-01-22 19:36:14 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

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 https://github.com/grahamu/flake8pane... working on changing that so unused variable, undefined variable, etc will be indicated directly on the editor.

Wingware Support's avatar
4.2k
Wingware Support
answered 2017-08-02 17:02:00 -0600
edit flag offensive 0 remove flag delete link

Comments

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's avatar Michael Messuri (2017-08-02 18:24:00 -0600) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer