Skip to content

"F841 local variable unused" triggering erroniously #889

@jhallard

Description

@jhallard

Example code below:

    # Verify the annotation is coming from two different sources
    annotations = get_annotations(tdm_client, node_uid)

    assert len({annotations["source_uid"] for annotations in annotations}) == 2

This is triggering for me

.../.../test_annotation_filter.py:352:5: F841 Local variable `annotations` is assigned to but never used

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions