Skip to content

Adds python validation workflows #19

Adds python validation workflows

Adds python validation workflows #19

Workflow file for this run

name: Python Formatting (run tox -e black to fix)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install tox==4.11.3
- name: Run Black
run: |
tox -e black -- . --diff
tox -e black -- . --check