chore: [pre-commit.ci] pre-commit autoupdate #373
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . |