Notebook checks (#333)

* add checks for notebooks

* format

* Fix mypy

* format

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
This commit is contained in:
Jack Gerrits
2024-08-07 17:38:44 -04:00
committed by GitHub
parent c7f5931dc8
commit 33649c3e08
8 changed files with 83 additions and 40 deletions

View File

@@ -87,6 +87,15 @@ jobs:
hatch run +python=${{ matrix.python-version }} teamone-test-matrix:pytest -n auto
working-directory: ./python/teams/team-one
mypy-notebooks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Hatch
uses: pypa/hatch@install
- run: hatch run nbqa mypy docs/src
working-directory: ./python
docs:
runs-on: ubuntu-latest
steps: