diff options
author | Florian Bruhin <me@the-compiler.org> | 2023-06-30 11:55:29 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2023-06-30 11:59:45 +0200 |
commit | 4cf2eea5809a987170c15f42003088fc019ef207 (patch) | |
tree | 54adca81c9abd91ae02bf44d54b65ec80b624823 /scripts | |
parent | 43fc49e5ad7938462e319e862ff0988ac62ef4ce (diff) | |
download | qutebrowser-4cf2eea5809a987170c15f42003088fc019ef207.tar.gz qutebrowser-4cf2eea5809a987170c15f42003088fc019ef207.zip |
qt6 mypy: Fix lintqt6-mypy
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/dev/changelog_urls.json | 1 | ||||
-rw-r--r-- | scripts/dev/misc_checks.py | 3 | ||||
-rwxr-xr-x | scripts/dev/run_vulture.py | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/scripts/dev/changelog_urls.json b/scripts/dev/changelog_urls.json index 5d7b13e28..baf9e2583 100644 --- a/scripts/dev/changelog_urls.json +++ b/scripts/dev/changelog_urls.json @@ -104,6 +104,7 @@ "PyQt-builder": "https://www.riverbankcomputing.com/news", "PyQt5-sip": "https://www.riverbankcomputing.com/news", "PyQt5-stubs": "https://github.com/python-qt-tools/PyQt5-stubs/blob/master/CHANGELOG.md", + "PyQt6-stubs": "https://github.com/python-qt-tools/PyQt6-stubs/commits/main", "sip": "https://www.riverbankcomputing.com/news", "PyQt6": "https://www.riverbankcomputing.com/news", "PyQt6-Qt6": "https://www.riverbankcomputing.com/news", diff --git a/scripts/dev/misc_checks.py b/scripts/dev/misc_checks.py index 044603468..a66dd68fe 100644 --- a/scripts/dev/misc_checks.py +++ b/scripts/dev/misc_checks.py @@ -94,6 +94,9 @@ def check_changelog_urls(_args: argparse.Namespace = None) -> bool: req, _version = recompile_requirements.parse_versioned_line(line) if req.startswith('./'): continue + if " @ " in req: # vcs URL + req = req.split(" @ ")[0] + all_requirements.add(req) if req not in recompile_requirements.CHANGELOG_URLS: missing.add(req) diff --git a/scripts/dev/run_vulture.py b/scripts/dev/run_vulture.py index eb74a4258..c53fe4a8f 100755 --- a/scripts/dev/run_vulture.py +++ b/scripts/dev/run_vulture.py @@ -194,7 +194,7 @@ def run(files): vult = vulture.Vulture(verbose=False) vult.scavenge( files + [whitelist_file.name], - exclude="qutebrowser/qt/_core_pyqtproperty.py", + exclude=["qutebrowser/qt/_core_pyqtproperty.py"], ) os.remove(whitelist_file.name) |