python-lint
python-lint copied to clipboard
Annotations for Lint Findings
It would be nice to have annotations applied to the files that the enabled linters find problems with so it is easier to see what is wrong without going through the terminal output.
I will analyze. The idea is fantastic.
There's a flake8 action with an annotation here: https://github.com/TrueBrain/actions-flake8/blob/main/flake8-matcher.json
To make it work: https://github.com/TrueBrain/actions-flake8/blob/7e33a2bcf3bee056945183e6d08d70000de48114/entrypoint.sh#L3-L6 https://github.com/TrueBrain/actions-flake8/blob/7e33a2bcf3bee056945183e6d08d70000de48114/entrypoint.sh#L32-L34
Also see these matchers: https://github.com/PyCQA/pylint/pull/2758#issuecomment-696059847