Skip to content

Revert "Simplify checking for updates" #67

Revert "Simplify checking for updates"

Revert "Simplify checking for updates" #67

name: Black
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
verify:
name: Formatting verification
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ "python" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install black
run: |
python -m pip install --upgrade pip
python -m pip install black
- name: Check code formatting with black
run: |
black -l 100 --check src/*