diff options
author | Jimmy <jimmy@spalge.com> | 2022-05-28 15:05:41 +1200 |
---|---|---|
committer | toofar <toofar@spalge.com> | 2022-07-03 16:51:04 +1200 |
commit | 33f3b25d7439c2a25d1c3934fb6b810de9a3c1ac (patch) | |
tree | bb200a4eaa48b8c260e2b911da1b60c60a51c76d | |
parent | 37bc5d2e468bdeac07246b40b7326c22b934a613 (diff) | |
download | qutebrowser-33f3b25d7439c2a25d1c3934fb6b810de9a3c1ac.tar.gz qutebrowser-33f3b25d7439c2a25d1c3934fb6b810de9a3c1ac.zip |
run pylint with both PyQt 5 and 6
We have differences in names between 5 and 6. Mostly we use the wrapper
machinery with conditional in a few special places which need to know
the details. So we could probably get away with just having Qt6
installed (since we are preferring Qt6 locations for things already).
But webkit isn't in Qt6 so we need Qt5 if we are keeping that anyway.
-rw-r--r-- | .pylintrc | 2 | ||||
-rw-r--r-- | tox.ini | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -2,7 +2,7 @@ [MASTER] ignore=resources.py -extension-pkg-whitelist=PyQt5,sip +extension-pkg-whitelist=PyQt6,PyQt5,sip load-plugins=qute_pylint.config, qute_pylint.modeline, pylint.extensions.docstyle, @@ -90,6 +90,7 @@ deps = -r{toxinidir}/misc/requirements/requirements-tests.txt -r{toxinidir}/misc/requirements/requirements-pylint.txt -r{toxinidir}/misc/requirements/requirements-pyqt.txt + -r{toxinidir}/misc/requirements/requirements-pyqt-6.txt commands = {envpython} -m pylint scripts qutebrowser --output-format=colorized --reports=no {posargs} {envpython} scripts/dev/run_pylint_on_tests.py {toxinidir} --output-format=colorized --reports=no {posargs} |