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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Michael Messuri's avatar
11
Michael Messuri
asked 7 years ago
Wingware Support's avatar
4.2k
Wingware Support
updated 5 years ago

Comments

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Wingware Support's avatar
4.2k
Wingware Support
answered 5 years ago
link

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Wingware Support's avatar
4.2k
Wingware Support
answered 7 years ago
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 (7 years ago)
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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)