Skip to content

Create black.yml

Create black.yml #1

Workflow file for this run

name: Lint Code Base
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Black
run: pip install black
- name: Run Black
run: black --check --diff package/