Skip to content

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

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

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

Workflow file for this run

name: Lint
on:
pull_request:
jobs:
lint:
name: Lint Codebase
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade --quiet --no-cache-dir --editable .[lint]
python -m pip list
- name: Lint with flake8
run: |
python -m flake8 .
- name: Lint with Black
run: |
black --check --diff --verbose .