actions / setup-python

Set up your GitHub Actions workflow with a specific version of Python
MIT License
1.74k stars 551 forks source link

Add problem matchers for common Python tools #455

Open segevfiner opened 2 years ago

segevfiner commented 2 years ago

Description: There are plenty of common tools used in the Python ecosystem, such as flake8, Sphinx, black, pylint, pytest. It would be nice to add problem matchers for them to this action.

P.S. I found it hard to discover that this feature even exists to know what to look to add such annotations.

Justification: This will make them more easily discoverable and will help with nicer reporting for the starter templates for Python which already use some of those tools. setup-node already includes ones for ESLint and tsc for example.

Are you willing to submit a PR? Yeah. But need to be sure which ones we are interested at including here, whether we want/need to add them conditionally under an option, and where is a good source to possibly pick up existing patterns so as not to reinvent the wheel.

marko-zivic-93 commented 2 years ago

Hello @segevfiner Thank you for your request. We will consider it and come back to you as soon as we have some information about it :)

aslafy-z commented 2 years ago

Hello, I referenced some problem matchers for the python environment, along with links to documentations in here: https://github.com/aslafy-z/problem-matchers.