Skip to content

Create black.yml

Create black.yml #2

Workflow file for this run

name: Black
on: [pull_request, push]
jobs:
black:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
architecture: 'x64'
- name: Install dependencies.
run: pip install black
- name: Check code style of package.
run: black --config=black.toml --check .