Skip to content

Disabling the MissingTypeAnnotation linting rule disabled the "Add inferred annotation" code action. #827

@anagrius

Description

@anagrius

There is an unfortunate interaction between the linting rule "MissingTypeAnnotation" and "Add inferred annotation" code action.

If you disable the linting rule, you cannot trigger the code action for top-level functions missing a type annotation.

I would be happy to make a PR fixing this. If we agree that there is no reason to disable the code action just because the linter does not report it as an error.

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