Skip to content

[pre-commit.ci] pre-commit autoupdate #240

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #240

Workflow file for this run

name: Lint
on: [push, pull_request, workflow_dispatch]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Ruff
if: success() || failure()
uses: jpetrucciani/ruff-check@main
- name: Black
if: success() || failure()
uses: psf/black@stable
with:
options: "--check --verbose"
version: "22.8.0"
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: blackdoc
if: success() || failure()
run: |
pip install black[jupyter] blackdoc
blackdoc .