Annotate warnings as well?
mjpieters opened this issue · 9 comments
Can warnings captured by pytest also be turned into annotations? I’m referring to the warnings output at the end of a pytest run.
Pytest offers a hook for such warnings. They could be turned into annotations using the warning workflow command.
Looks like good. It would be better that we can suppress warning annotations with some options.
Started a PR #68
I would like to see this implemented. And the PR has been stale for nearly a year... and is fully functional, I pulled and tested it myself. Works as expected.
+1
@oliv10 thanks for giving it a try! Tests are failing for pytest 7.4.x on that PR, so I need to make some time to fix that. It's probably also worth adding tests for 8.x in a separate PR.
@edgarrmondragon no problem! Just to make note for you, I used pytest 8.2.0 in the previous screenshot.
Still looking forward to this feature!
+1 this came up in a discussion with our developers this week. Would be very nice to have!

