diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-09-16 14:13:50 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-09-16 14:13:50 +0200 |
commit | 46ebef56445f739a91ca67ec9d4c3edc63158eb0 (patch) | |
tree | 222aba242e8df809e7052bf6bd890e3d89d08c57 /tox.ini | |
parent | f0bfc9aab2ee9d563cf037f5349fb86bff00dcda (diff) | |
download | qutebrowser-46ebef56445f739a91ca67ec9d4c3edc63158eb0.tar.gz qutebrowser-46ebef56445f739a91ca67ec9d4c3edc63158eb0.zip |
mypy: Use tox.ini to install PyQt6 conditionally
The changes in requirements-mypy.txt would get overwritten on the next
dependency update. Also, it looks like we don't actually need PyQt6 (or
the PyQt6 stubs) available for checking PyQt 5 code if all Qt 6 imports
are appropriately gated by conditionals mypy knows about.
Follow-up to c1738ca55006966e7c0ad9eacbfb58625aa88c44.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -191,6 +191,7 @@ deps = -r{toxinidir}/misc/requirements/requirements-dev.txt -r{toxinidir}/misc/requirements/requirements-tests.txt -r{toxinidir}/misc/requirements/requirements-mypy.txt + pyqt6: -r{toxinidir}/misc/requirements/requirements-pyqt-6.txt commands = {envpython} -m mypy {env:CONSTANTS_ARGS} qutebrowser {posargs} |