Skip to content

add dedicated pylint stage #2

add dedicated pylint stage

add dedicated pylint stage #2

Workflow file for this run

name: Lint
on: [pull_request]
concurrency:
group: >-
${{ github.workflow }}-${{
github.event.pull_request.number || github.sha
}}
cancel-in-progress: true
jobs:
linter:
name: Run linter
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: "3.10"
- name: Install Python dependencies
run: pip install -r requirements.txt
- name: Run pylint
run: pylint tests plugins
- name: Run black
run: python -m black --check --diff plugins tests