Skip to content

ci: add check that enforces Python formatting with yapf. #7

ci: add check that enforces Python formatting with yapf.

ci: add check that enforces Python formatting with yapf. #7

Workflow file for this run

name: Python formatting
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
formatting-check:
name: Run yapf
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: run YAPF to test if python code is correctly formatted
uses: AlexanderMelde/[email protected]
with:
args: --verbose