Skip to content

style: Reformat all Python files in src/ with Black for consistent co… #4

style: Reformat all Python files in src/ with Black for consistent co…

style: Reformat all Python files in src/ with Black for consistent co… #4

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with flake8
run: |
pip install flake8
flake8 src/ --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Check formatting with black
run: |
pip install black
black --check src/
- name: (Optional) Run tests
run: |
echo "No test suite found. Add tests/ and update this step."