Skip to content
vetkitChecksChangelogDocumentation

vetkit.py.quality.duplicate-elif-condition

This elif branch repeats an earlier condition in the same chain, so it can never run.

Last updated:

Suite: Code quality

python

This elif branch repeats an earlier condition in the same chain, so it can never run.

Category: QUALITY · Engine rule severity: WARNING

How to fix it

Fix the condition of the duplicated branch or remove the dead branch.

Source: packages/engine/rules/quality/python.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.