Skip to content

iterative_jump contains unused iterator result #466

Description

@braingram

The iterator returned by range(ndiffs) is unused (violating B007).

for i in range(ndiffs): # Can't have more than ndiffs CRs per pixel!

This may be expected (since cr_pix is recomputed during the loop) but it's unclear why range(ndiffs) is used. If the current behavior is as expected it seems worth remomving the noqa and assigning to _ instead of i.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions