fix: capture mypy stderr output on fatal options error instead of generic message#828
fix: capture mypy stderr output on fatal options error instead of generic message#828sbrunner wants to merge 3 commits into
Conversation
63b4767 to
6cbb1f8
Compare
f011f27 to
99b08ba
Compare
carlio
left a comment
There was a problem hiding this comment.
This looks like it's repeating some things already done with the stdout/stderr capturing - https://github.com/prospector-dev/prospector/blob/master/prospector/run.py#L110
Am I missing something? What does this PR add that isn't already available via the --die-on-tool-error or --direct-tool-stdout options?
Is there a way to capture the stderr using the exising mechanism instead of repeating it?
…d of generic message" This reverts commit 99b08ba.
|
Yes your right it's not so good, do you like like this, to get: Or should we propose to use the option |
deb6ed5 to
e04d8ae
Compare
|
I asked the reporter for the output from |
|
The It's useful to debug but its hart to read and we don't get the error message! PS: I edit my last message because I write |
|
I am facing the same issue in my repo - 100% reproducible on python 3.14 |
Description
Example of new output:
Related Issue
Probably fix: #825 I don't have the exact same issue.
Motivation and Context
How Has This Been Tested?
Run in a project that has a mypy error
Types of changes
Checklist: