aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2024-01-02 12:39:34 -0500
committerMike Frysinger <vapier@gentoo.org>2024-01-02 13:03:25 -0500
commitb71d01d6054e270ab87e42df2d4d704e41281724 (patch)
treef28dc5364821332365098420b6e28b62d5871027 /.github/workflows/python.yml
parentlddtree: add some more typing info for mypy (diff)
downloadpax-utils-b71d01d6054e270ab87e42df2d4d704e41281724.tar.gz
pax-utils-b71d01d6054e270ab87e42df2d4d704e41281724.tar.bz2
pax-utils-b71d01d6054e270ab87e42df2d4d704e41281724.zip
github: add python checkers
Signed-off-by: Mike Frysinger <vapier@chromium.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to '.github/workflows/python.yml')
-rw-r--r--.github/workflows/python.yml28
1 files changed, 28 insertions, 0 deletions
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: ""