mypy tweaks, refs #289, #266, #37

This commit is contained in:
Simon Willison 2021-06-22 11:08:21 -07:00
commit 8d1d801389
2 changed files with 2 additions and 2 deletions

View file

@ -25,8 +25,7 @@ jobs:
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install -e '.[test]'
pip install mypy
pip install -e '.[test,mypy]'
- name: Optionally install numpy
if: matrix.numpy == 1
run: pip install numpy

View file

@ -27,6 +27,7 @@ setup(
extras_require={
"test": ["pytest", "black", "hypothesis"],
"docs": ["sphinx_rtd_theme", "sphinx-autobuild"],
"mypy": ["mypy", "types-click", "types-tabulate"],
},
entry_points="""
[console_scripts]