Skip to content

Add black style checking #28

Add black style checking

Add black style checking #28

Workflow file for this run

name: Python CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
./setup.sh
- name: Run tests with coverage
run: pytest
- name: Check code style with black
run: black --check .