Skip to content

Lint

Lint #20

Workflow file for this run

name: Lint
on:
push:
paths:
- '**.py'
pull_request:
paths:
- '**.py'
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11.0'
- name: Install Black
run: pip install black
- name: Run Black
run: black --check --verbose .
- name: Install flake8
run: pip install flake8
- name: Run flake8
run: flake8 --verbose .
- name: Install isort
run: pip install isort
- name: Run isort
run: isort --check --diff .