Skip to content

Update pre-commit hook to include Black formatting #4

Update pre-commit hook to include Black formatting

Update pre-commit hook to include Black formatting #4

Workflow file for this run

name: Black Code Formatting
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black
- name: Check Black formatting
run: |
black --check .