Skip to content

Python QA

Python QA #2782

Workflow file for this run

name: Python QA
on:
workflow_dispatch:
schedule:
- cron: '0 3 * * *'
push:
paths:
- '**.py'
pull_request:
paths:
- '**.py'
jobs:
run-qa:
name: Run QA
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: pip
cache-dependency-path: qa-requirements.txt
- name: Install linters
run: python -m pip install -r qa-requirements.txt
- name: Check format
run: black --check --diff plugins
if: always()
- name: Check imports
run: isort --check --diff plugins
if: always()