Skip to content

Bump black from 23.10.1 to 23.11.0 #48

Bump black from 23.10.1 to 23.11.0

Bump black from 23.10.1 to 23.11.0 #48

Workflow file for this run

name: Formatting validation using black
on:
push:
branches: [ main ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
python-version: ['3.9']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -U pip
pip install -r requirements.txt
- name: Format with black
run: |
black .
if git status --porcelain | grep .; then git --no-pager diff; exit 1; fi