add stubs to try to get mypy plugin sqlmypy
This commit is contained in:
parent
ca04f6b902
commit
35430e35a1
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue