Skip to content

Commit

Permalink
github: add python checkers
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <vapier@chromium.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
vapier committed Jan 2, 2024
1 parent cb88e6f commit b71d01d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -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: ""

0 comments on commit b71d01d

Please sign in to comment.