Skip to content

Don't strip filename from errors #90

@markusschmaus

Description

@markusschmaus

These lines strip the file name from the reported errors.
https://github.com/dbader/pytest-mypy/blob/8c99601158157ad96698d5a89357035e701bcf90/src/pytest_mypy.py#L234-L237

While this results in a cleaner looking output, it means the output is less useful when using pytest-mypy with other tools like Pycharm. When I change the code to include the filename, Pycharm turns it into a link which I can click to bring me directly to the place where the error is. Without the filename this doesn't work.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions