mypy annotations for rows_from_file(), run mypy in CI

Refs #289, #279
This commit is contained in:
Simon Willison 2021-06-22 11:04:32 -07:00
commit 7b3fdf0fcd
4 changed files with 26 additions and 18 deletions

View file

@ -26,11 +26,14 @@ jobs:
- name: Install dependencies
run: |
pip install -e '.[test]'
pip install mypy
- name: Optionally install numpy
if: matrix.numpy == 1
run: pip install numpy
- name: Run tests
run: |
pytest
- name: run mypy
run: mypy sqlite_utils
- name: Check formatting
run: black . --check