Closed
Description
- Are you reporting a bug, or opening a feature request?
Reporting a bug.
- Please insert below the code you are checking with mypy,
or a mock-up repro if the source is private. We would appreciate
if you try to simplify your case to a minimal repro.
Execute pip install -e .
in the directory which contains empty a.py
file and setup.py
file as below:
from setuptools import setup
setup(
name='a',
version='0.0.1',
py_modules=['a'],
)
Then run mypy a.py
.
- What is the actual behavior/output?
Output:
/path/to/current/dir is in the PYTHONPATH. Please change directory so it is not.
- What is the behavior/output you expect?
Run type check.
- What are the versions of mypy and Python you are using?
Do you see the same issue after installing mypy from Git master?
Python: 3.6.5
Mypy: Latest git master (0.620+dev-f5058bcb269a55b33a02c3e3fd345541839bf06e)
Metadata
Metadata
Assignees
Labels
No labels