-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Mypy report does not get generated when cache is fresh #5103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Same thing happens to me with the html report. |
Unfortunately this is a known problem with the reports. Use
--no-incremental for reports.
|
If this isn't a duplicate, a |
Technically it's already mentioned here: #1123 (comment) But I'm happy to keep this open as a separate issue. It's unlikely to be fixed in any way other than forcing incremental mode off when generating the reports though... |
mthuurne
added a commit
to mthuurne/mypy
that referenced
this issue
Dec 17, 2018
If the cache is used, coverage information will only be reported for modules that were not in the cache. Fixes python#5103
mthuurne
added a commit
to mthuurne/mypy
that referenced
this issue
Dec 17, 2018
If the cache is used, coverage information will only be reported for modules that were not in the cache. Fixes python#5103
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mypy report does not get generated when cache is fresh (i.e. not stale).
Say we have a python file
a.py
:a.py
Without
.mypy_cache
folder xml report generated bymypy a.py --xml-report .
is as follows:index.xml
However running
mypy a.py --xml-report .
again produces this:index.xml
Removing
.mypy_cache
and running it again properly generates the report.Versions:
python version: 3.6.5
mypy version: mypy-0.610+dev.76d60b018c93f6879a01a30f89bf0586c610bc06
lxml version: lxml-4.2.1
The text was updated successfully, but these errors were encountered: