Closed
Description
Bug Report
MyPy is reporting problems with dependencies in site-packages.
To Reproduce
To be honest, I'm having trouble reproducing a minimal example I can share. I don't understand why it's reporting on site-packages in the first place.
Expected Behavior
MyPy should only tell me about errors in the code I tell it to check - not it's dependencies.
Actual Behavior
.venv/lib/python3.6/site-packages/ddtrace/internal/utils/__init__.py: error: Source file found twice under different module names: "ddtrace.internal.utils" and "ddtrace.internal.utils.__init__"
Your Environment
- Mypy version used: mypy 0.931
- Mypy command-line flags: just a list of directories (none of which are
.venv
) - Mypy configuration options from
mypy.ini
(and other config files):
follow_imports = "silent"
ignore_missing_imports = true
namespace_packages = true
exclude = "(.venv|...other stuff...)"
- Python version used: 3.6.7
- Operating system and version: OSX Big Sur