Skip to content

redundant error when parameter is explicit Any #1464

@KotlinIsland

Description

@KotlinIsland

Description

Code sample in basedpyright playground

from typing import Any


def f(a: Any): 
    print(a)
Type of parameter "a" is Any  (reportAny)
Type `Any` is not allowed  (reportExplicitAny)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type checking / lintingissues relating to existing diagnostic rules or proposals for new diagnostic rules

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions