Skip to content

Code formatting

Code formatting #3

Workflow file for this run

name: black
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: black
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install --upgrade pip
- run: pip install black
- run: black --diff --check $(git ls-files '*.py')