diff options
Diffstat (limited to 'qutebrowser/qt/machinery.py')
-rw-r--r-- | qutebrowser/qt/machinery.py | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/qutebrowser/qt/machinery.py b/qutebrowser/qt/machinery.py index 6699d5e73..1eef24f0b 100644 --- a/qutebrowser/qt/machinery.py +++ b/qutebrowser/qt/machinery.py @@ -1,9 +1,11 @@ # vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: -# FIXME:qt6 (lint) -# pylint: disable=missing-module-docstring -# flake8: noqa # pyright: reportConstantRedefinition=false +"""Qt wrapper selection. + +Contains selection logic and globals for Qt wrapper selection. +""" + import os import sys import argparse @@ -25,7 +27,7 @@ WRAPPERS = [ class Error(Exception): - pass + """Base class for all exceptions in this module.""" class Unavailable(Error, ImportError): @@ -37,7 +39,10 @@ class Unavailable(Error, ImportError): class UnknownWrapper(Error): - pass + """Raised when an Qt module is imported but the wrapper values are unknown. + + Should never happen (unless a new wrapper is added). + """ def _autoselect_wrapper() -> str: |