Skip to content
vetkitChecksChangelogDocumentation

vetkit.py.quality.self-assignment

A variable is assigned to itself. This has no effect and usually indicates a typo.

Last updated:

Suite: Code quality

python

A variable is assigned to itself. This has no effect and usually indicates a typo.

Category: QUALITY · Engine rule severity: WARNING

How to fix it

Assign the intended value.

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.