This repository contains a few GitHub actions that could be useful for Python projects.
Run Pyflakes and annotate the code with any errors found. Usage:
name: Pyflakes
uses: ljodal/python-actions/pyflakes@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
max-errors: 0
Run Mypy and annotate the code with any errors found. Usage:
name: Mypy
uses: ljodal/python-actions/mypy@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
max-errors: 0
Run Black and annotate the code with any errors found. Usage:
name: Black
uses: ljodal/python-actions/black@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}