Disappearing dmypy errors using --export-types
, pip install -e
, and absolute paths
#16768
Labels
--export-types
, pip install -e
, and absolute paths
#16768
Bug Report
Errors disappear on the second run of dmypy under specific circumstances:
--export-types
flag.pip install -e
.src
directory. (This is so odd that I feel as though I might have made a mistake here.)This looks similar to #9655, but unlike that, this isn't fixed by #15043 (see #15043 (comment)).
To Reproduce
The best minimal example I have so far:
pyproject.toml
:src/foo.py
:Commands:
Expected Behavior
We should see the same error output after both runs of dmypy.
Actual Behavior
Regardless of the error in the file, it disappears on the second run of dmypy.
Your Environment
mypy.ini
(and other config files): None.The text was updated successfully, but these errors were encountered: