hauntsaninja / mypy_primer

Run mypy and pyright over millions of lines of code
MIT License
57 stars 30 forks source link

Make diff comments link to the source code on GitHub #3

Closed JelleZijlstra closed 3 years ago

JelleZijlstra commented 3 years ago

It would be really great if mypy_primer's comments linked to the relevant line of source code for the library on GitHub (or even elsewhere), so it's easy to see context for the error.

An easier to implement but still useful version would be to link to the library's repo without linking to the exact line.

hauntsaninja commented 3 years ago

Concise output now contains the link to the project repo.

Linking the exact line is a little painful since:

JelleZijlstra commented 3 years ago

Thank you!