commit: b71d01d6054e270ab87e42df2d4d704e41281724 Author: Mike Frysinger <vapier <AT> chromium <DOT> org> AuthorDate: Tue Jan 2 17:39:34 2024 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Tue Jan 2 18:03:25 2024 +0000 URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=b71d01d6
github: add python checkers Signed-off-by: Mike Frysinger <vapier <AT> chromium.org> Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> .github/workflows/python.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml new file mode 100644 index 0000000..7b7dcaf --- /dev/null +++ b/.github/workflows/python.yml @@ -0,0 +1,28 @@ +# GitHub actions workflow. +# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions + +name: Python + +on: [push, pull_request] + +jobs: + python: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + # NB: v1.4.0 covers Python 3.8. + - uses: ricardochaves/python-lint@v1.4.0 + with: + python-root-list: lddtree.py pylint + use-pylint: true + use-pycodestyle: false + use-flake8: false + use-black: true + use-mypy: true + use-isort: true + extra-pylint-options: "" + extra-pycodestyle-options: "" + extra-flake8-options: "" + extra-black-options: "" + extra-mypy-options: "" + extra-isort-options: ""