diff options
author | toofar <toofar@spalge.com> | 2024-10-20 08:53:18 +1300 |
---|---|---|
committer | toofar <toofar@spalge.com> | 2024-10-27 12:48:53 +1300 |
commit | 5ad68024b2085902b24be5bec09d66e1c1b4f4c3 (patch) | |
tree | 88c26291cee5d287d0fc4fe0db64e61452aaa346 | |
parent | 8064e3ea6f4e172775f6c73d83568d5c19084ec5 (diff) | |
download | qutebrowser-5ad68024b2085902b24be5bec09d66e1c1b4f4c3.tar.gz qutebrowser-5ad68024b2085902b24be5bec09d66e1c1b4f4c3.zip |
mypy: ignore pyqt attribute from the future
Once pyqt 6.8 is released mypy will probably start complaining about an
unnecessary ignore statement and we can remove it.
-rw-r--r-- | qutebrowser/browser/webengine/webenginesettings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/browser/webengine/webenginesettings.py b/qutebrowser/browser/webengine/webenginesettings.py index 63f740a2e..30a43ecaf 100644 --- a/qutebrowser/browser/webengine/webenginesettings.py +++ b/qutebrowser/browser/webengine/webenginesettings.py @@ -351,7 +351,7 @@ class ProfileSetter: pyqt_version = utils.VersionNumber.parse(version.PYQT_WEBENGINE_VERSION_STR) if pyqt_version >= utils.VersionNumber(6, 8): self._profile.setPersistentPermissionsPolicy( - QWebEngineProfile.PersistentPermissionsPolicy.AskEveryTime + QWebEngineProfile.PersistentPermissionsPolicy.AskEveryTime # type: ignore[attr-defined] ) |