Skip to content

[pre-commit.ci] auto fixes from pre-commit.com hooks #242

[pre-commit.ci] auto fixes from pre-commit.com hooks

[pre-commit.ci] auto fixes from pre-commit.com hooks #242

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 .