Skip to content

Commit cbb4a76

Browse files
author
Thomas Preud'homme
committed
Install missing mypy stubs
Mypy currently warns about missing stubs to analyse LNT's code: lnt/server/ui/globals.py:5: error: Library stubs not installed for "flask" (or incompatible with Python 2.7) lnt/server/ui/decorators.py:1: error: Library stubs not installed for "flask" (or incompatible with Python 2.7) lnt/lnttool/convert.py:2: error: Library stubs not installed for "click" (or incompatible with Python 2.7) lnt/lnttool/common.py:2: error: Library stubs not installed for "click" (or incompatible with Python 2.7) lnt/lnttool/import_report.py:1: error: Library stubs not installed for "click" (or incompatible with Python 2.7) lnt/lnttool/admin.py:4: error: Library stubs not installed for "click" (or incompatible with Python 2.7) This commits adds the necessary dependency to get rid of those warnings. Reviewed By: PrzemekWirkus Differential Revision: https://reviews.llvm.org/D104706
1 parent e3001ee commit cbb4a76

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ skip_install = true
1919
deps =
2020
mypy
2121
sqlalchemy-stubs
22+
types-Flask
23+
types-Jinja2
24+
types-PyYAML
25+
types-Werkzeug
26+
types-click
27+
types-pkg_resources
2228
commands =
2329
# No where close to passing yet, but nice to have.
2430
- mypy --junit-xml=junit-{envname}.xml --py2 --ignore-missing-imports lnt

0 commit comments

Comments
 (0)