Skip to content

WIP mypy config

WIP mypy config #41

Workflow file for this run

name: CI
on: [workflow_dispatch, pull_request, push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, "3.10", 3.11]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U nbdev
pip install -e ".[dev]"
- name: Run lint
run: |
nbqa ruff --fix nbs/*.ipynb -v
- name: Run mypy
run: |
nbqa mypy nbs/*.ipynb
- name: Run Tests
run: |
nbdev_test