Skip to content

False type for tree #352

@kasium

Description

@kasium

Python Version

3.7.1

flake8 Version

3.9.2

Package Version

latest

Description

Hi,
thanks for adding type hints to the project.
The type for ComprehensionChecker.__init__.tree is ast.Module, but should be ast.AST.

I'm happy to open a PR if you like

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions