Skip to content

Refactor unnecessary casts away from mypy #955

Closed
@JukkaL

Description

@JukkaL

This is not a priority, but because of better isinstance type inference the mypy implementation now has a lot of redundant casts. Remove those that aren't needed and consider filing issues for remaining casts that we wouldn't need if mypy was more clever.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactoringChanging mypy's internals

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions