Code Warnings and Quality Inspection

Index of All Documentation » Wing Pro Reference Manual »

Wing Pro warns about possible problems with Python code, by underlining them in the editor and listing them in the Code Warnings tool. A warning indicates something might be wrong in the code, for example a syntax error, indentation problem, use of an undefined variable, an import that cannot be resolved, or a variable that is set but never used.

New code is checked as it is entered, although Wing will wait until you have finished typing so that it doesn't warn about code that is still being entered.

Wing's builtin warnings may be supplemented with warnings found with external code quality checkers like mypy, pep8, and pylint.

Since all code checkers have only a limited understanding of happens when code is actually run, they may show incorrect warnings. Wing allows you to disable specific warnings either for a single case, for an entire file, or for all files.

Section Contents