From 3cc2af909b75b2271a51ce916756a8ef6933d466 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 23 Nov 2018 19:40:12 +0100 Subject: [PATCH] mypy: Add PyQt5 stubs --- misc/requirements/requirements-mypy.txt | 3 +++ misc/requirements/requirements-mypy.txt-raw | 1 + tox.ini | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/misc/requirements/requirements-mypy.txt b/misc/requirements/requirements-mypy.txt index 3a6548040..3071410a5 100644 --- a/misc/requirements/requirements-mypy.txt +++ b/misc/requirements/requirements-mypy.txt @@ -2,4 +2,7 @@ mypy==0.641 mypy-extensions==0.4.1 +PyQt5==5.11.3 +PyQt5-sip==4.19.13 +PyQt5-stubs==5.11.3.0 typed-ast==1.1.0 diff --git a/misc/requirements/requirements-mypy.txt-raw b/misc/requirements/requirements-mypy.txt-raw index f0aa93ac8..e400122f6 100644 --- a/misc/requirements/requirements-mypy.txt-raw +++ b/misc/requirements/requirements-mypy.txt-raw @@ -1 +1,2 @@ mypy +PyQt5-stubs diff --git a/tox.ini b/tox.ini index 9deaa64b0..cffee3f0e 100644 --- a/tox.ini +++ b/tox.ini @@ -196,4 +196,4 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/misc/requirements/requirements-mypy.txt commands = - {envpython} -m mypy --ignore-missing-imports qutebrowser + {envpython} -m mypy qutebrowser