Skip to content

chore: [pre-commit.ci] pre-commit autoupdate #373

chore: [pre-commit.ci] pre-commit autoupdate

chore: [pre-commit.ci] pre-commit autoupdate #373

Workflow file for this run

name: Lint
on:
pull_request:
workflow_dispatch:
jobs:
lint:
name: Lint Codebase
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip --quiet install .[lint]
python -m pip list
- name: Lint with flake8
run: |
python -m flake8 .
- name: Lint with Black
run: |
black --check --diff --verbose .