Skip to content

mypy warning: tests/__init__.py:34: error: Cannot assign to a method #494

Closed
@hjmjohnson

Description

@hjmjohnson

Describe the bug
mypy static checker provides warning:

tests/__init__.py:34: error: Cannot assign to a method

To Reproduce
Steps to reproduce the behavior:

  1. Modify setup.cfg and enable error checking for tests/__init__.py
  2. MYPYPATH=$(pwd)/monai mypy $(pwd)

Expected behavior
No warnings produced.

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