Closed
Description
Bug Report
Since at least v0.902
, executing dmypy run
in a project that has ignore_missing_imports = True
in mypy.ini
is not working anymore.
To Reproduce
(Write your steps here:)
- Create
src/something.py
with some code in it, and createmypy.ini
with:
[mypy]
files = src
ignore_missing_imports = True
- Run
dmypy run
Expected Behavior
dmypy run
should execute correctly, outputting something like:
Daemon started
src\something.py:1: error: Incompatible types in assignment (expression has type "str", variable has type "int")
Found 1 error in 1 file (checked 26 source files)
Actual Behavior
dmypy run
keeps showing:
Restarting: configuration changed
Daemon stopped
Daemon started
Response: {'restart': 'configuration changed', 'platform': 'win32', 'python_version': '3_9', 'roundtrip_time': 0.5543885231018066}
even when trying to run it again.
Your Environment
- Mypy version used:
v0.902
,v0.910
and0.920+dev.379622de482ec16dd1676ad6d183dcfca5203194
- Mypy command-line flags:
dmypy run
- Mypy configuration options from
mypy.ini
(and other config files):
[mypy]
files = src
ignore_missing_imports = True
- Python version used: 3.9.5
- Operating system and version: Windows 10 21H1