Skip to content

Show source on mypy errors #240

@joelostblom

Description

@joelostblom

What do you think about running mypy with --pretty? It displays the offending line from the source file, which I think makes it easier to troubleshoot. It also formats the error message in a similar way to what we like.

--pretty                    Use visually nicer output in error messages: Use
                            soft word wrap, show source code snippets, and
                            show error location markers (inverse: --no-pretty)
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions