Skip to content

F821 false positive for .pyi #3011

Closed
@JonathanPlasse

Description

@JonathanPlasse
class Distribution(IMetadataProvider): ...
class IMetadataProvider: ...

ruff detects the F821 while flake8 with flake8-pyi does not (flake8-pyi must be installed otherwise it will also detect an error).

Link to the playground

Metadata

Metadata

Assignees

Labels

ruleImplementing or modifying a lint rule

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions