Skip to content

Add formatting check #1

Add formatting check

Add formatting check #1

Workflow file for this run

name: Check Python code format
on:
push:
branches:
- '**'
tags:
- '*'
pull_request:
branches:
- '**'
jobs:
black:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install black
- name: Check formatting with black
run: |
black --check .