add stubs to try to get mypy plugin sqlmypy

This commit is contained in:
burnettk 2022-06-21 22:43:37 -04:00
parent ca04f6b902
commit 35430e35a1
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ def mypy(session: Session) -> None:
"""Type-check using mypy."""
args = session.posargs or ["src", "tests", "docs/conf.py"]
session.install(".")
session.install("mypy", "pytest")
session.install("mypy", "pytest", "sqlalchemy-stubs")
session.run("mypy", *args)
if not session.posargs:
session.run("mypy", f"--python-executable={sys.executable}", "noxfile.py")