Query module ConstantInConditional

name
Constant in conditional expression or statement
description
The conditional is always true or always false
kind
problem
tags
maintainability useless-code external/cwe/cwe-561 external/cwe/cwe-570 external/cwe/cwe-571
problem.severity
warning
sub-severity
low
precision
very-high
id
py/constant-conditional-expression

Imports

Predicates