Skip to content
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

Add multiline error strings #72

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

helpmefindaname
Copy link
Contributor

PytestPlugins like pytest-mypy pytest-flake8 or pytest-ruff create one test for each file and collect all errors of the file in a single result.

This PR handles the general output format of all <file>:<lineno>:<char>: <message> like results and splits it into multiple annotations per linenumber.

You can see a demonstration of this on this PR https://github.com/helpmefindaname/test-pytest-github-actions-annotate/pull/2/files (look at buggy_module/cli.py).

@ssbarnea ssbarnea added the bug Something isn't working label Mar 1, 2024
@henryiii henryiii force-pushed the add_multiline_error_strings branch from fedafa8 to 1749131 Compare May 15, 2024 07:28
@edgarrmondragon
Copy link
Collaborator

@helpmefindaname can you rebase if you're still interested in moving forward with this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants