Skip to content

lint loop-variable-name for unused vars #225

@chrisheib

Description

@chrisheib

We sometimes use loops like these:

	for _i in range(1000):
		spawn_ant()

This formatter is unhappy with _i not being snake_case, but it's supposed to have the underline to mark the unused var..

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions