Skip to content

Source file found twice under different module names #141

Description

@jaraco

Starting with mypy 0.990, when testing a module in a namespace, mypy starts emitting errors when it encounters that module:

 error: Source file found twice under different module names: "abode" and "jaraco.abode"

The issue almost certainly has the same root cause as pytest-dev/pytest#3396. Pytest is too reliant on the old assumption that a directory without an __init__.py is not a package, but that assumption doesn't hold since Python 3.3.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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