Skip to content

Bump flake8 from 6.0.0 to 6.1.0 (#23) #45

Bump flake8 from 6.0.0 to 6.1.0 (#23)

Bump flake8 from 6.0.0 to 6.1.0 (#23) #45

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