Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

None is being flagged as used before assignment  #335

@brettcannon

Description

@brettcannon

microsoft/vscode-python#3117

When None is used in a type hint it gets flagged as being used before assignment. In the following example every use of None is being flagged.

def f(b:None) -> None:
    b: None

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions