Skip to content

fix: type def in fs_em_class to appease mypy #27

fix: type def in fs_em_class to appease mypy

fix: type def in fs_em_class to appease mypy #27

Workflow file for this run

name: CI
on:
push:
branches: [ main , develop]
pull_request:
jobs:
build-test-lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
env:
MPLBACKEND: Agg
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install package + dev deps
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Lint + Format
run: |
ruff check .
black --check .
- name: Type check
run: mypy src
- name: Run tests
run: pytest