Inspectopedia 2026.3 Help

Control flow issues

Comparison that is always True or always False   New in this release

Reports an ==, !=, is, is not, in or not in comparison that is always True or always False, because the types of its operands do not overlap.

Inconsistent return statements  

Highlights inconsistent return statements in functions.

Redundant boolean variable check  

Reports equality comparison with a boolean literal.

Statement has no effect  

Reports statements that have no effect.

Unbound local variables  

Reports local variables referenced before assignment.

Unreachable code  

Reports code fragments that cannot be normally reached.

Last modified: 20 November 2026