Add note on keeping qutebrowser.utils.log a Qt-free zone

This commit is contained in:
Philipp Albrecht 2023-07-21 08:41:10 +02:00
parent d7b420dc4b
commit 5da4c6022e
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ import argparse
from typing import (TYPE_CHECKING, Any, Iterator, Mapping, MutableSequence,
Optional, Set, Tuple, Union, TextIO, Literal, cast)
# NOTE: This is a Qt-free zone! All imports related to Qt logging should be done in
# qutebrowser.utils.qtlog (see https://github.com/qutebrowser/qutebrowser/issues/7769).
# Optional imports
try:
import colorama