Skip to content

style: format with Black and isort #4

style: format with Black and isort

style: format with Black and isort #4

Workflow file for this run

name: Code Quality
on:
push:
branches: [ main, development ]
pull_request:
branches: [ main, development ]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: requirements-dev.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip install -e .
- name: Black (check)
run: python -m black --check src tests
- name: Isort (check)
run: python -m isort --check-only src tests
- name: Flake8
run: python -m flake8 src tests
- name: Mypy
run: python -m mypy src