Skip to content

mypy errors #736

@davidbrochart

Description

@davidbrochart

Since traitlets v5.2.0, mypy errors out with:

from traitlets import Integer

# error: Module "traitlets" has no attribute "Integer"  [attr-defined]
#     from traitlets import Integer
#     ^
# Found 1 error in 1 file (checked 1 source file)

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