/python-lint-action

GitHub Action for Python linting with `black` and `isort`.

Primary LanguageDockerfileGNU Affero General Public License v3.0AGPL-3.0

python-lint-action

GitHub Action for Python linting with black and isort.

Usage example

# .github/workflows/lint.yml

name: Lint Action

on:
  push:
  pull_request:

jobs:
  lint:
    name: Lint project
    runs-on: ubuntu-latest
    steps:
      - name: Check out source repository
        uses: actions/checkout@v3.2.0
      - name: Lint
        uses: axelmunch/python-lint-action@v2.0.0