Skip to content

chore: python lint action #23

chore: python lint action

chore: python lint action #23

Workflow file for this run

name: Lint Python
on:
pull_request:
types: [opened, reopened, synchronize]
branches:
- main
paths:
- '**.py'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
- name: Install requirements
run: |
pip install pylint black
- uses: pre-commit/[email protected]
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: pylint
path: ./pylint/