Skip to content

Added Apache 2.0 LICENSE #50

Added Apache 2.0 LICENSE

Added Apache 2.0 LICENSE #50

Workflow file for this run

name: Python Black Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
black:
runs-on: ubuntu-latest
steps:
- name: Check out source repository
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Cache Poetry virtualenv
uses: actions/cache@v2
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install dependencies
run: |
poetry install
- name: Check code formatting
run: |
poetry run black --check .