Skip to content

Inspection

Inspection entry#

This plugin can be disabled by disabling the inspection Pyright diagnostics, which can be found under Editor | Inspections. However, this is not recommended for other purposes than debugging.

Highlight severity levels#

Pyright diagnostics have three possible levels: Error, warning, and information. These can be mapped to different highlight severity levels in the IDE.

The target levels can be configured via the inspection's corresponding settings pane.

Only the levels defined in the dropdowns under the Options pane are honored.

These levels are semantical, not visual.

The Information level is the only one not considered "problematic" by the IDE. Annotations of this kind will not be reported as "problems" during batch inspections (File, Project Errors and similar tabs in the Problems tool window).

Note

Despite having no visible effects, Information annotations are still shown on hover.

Diagnostic For most users (default) For lax users
Error Error Warning
Warning Warning Weak warning
Information Weak warning Weak warning