Skip to content

Commit

Permalink
ci: Work around Python 3.10/3.11 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Compiler committed Jan 21, 2022
1 parent 788a395 commit cc012d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,6 @@ filterwarnings =
ignore:_SixMetaPathImporter\.find_spec\(\) not found; falling back to find_module\(\):ImportWarning
# https://github.com/ionelmc/python-hunter/issues/97
ignore:The distutils\.sysconfig module is deprecated, use sysconfig instead:DeprecationWarning
# https://github.com/certifi/python-certifi/issues/170
ignore:path is deprecated\. Use files\(\) instead\. Refer to https.//importlib-resources\.readthedocs\.io/en/latest/using\.html#migrating-from-legacy for migration advice\.:DeprecationWarning:certifi.core
faulthandler_timeout = 90
4 changes: 3 additions & 1 deletion qutebrowser/utils/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
colorama = None

if TYPE_CHECKING:
# pylint: disable=unused-import
# Only used in type annotation strings, whether pylint thinks it's unused
# depends on Python version...
# pylint: disable=unused-import,useless-suppression
from qutebrowser.config import config as configmodule
from typing import TextIO

Expand Down

0 comments on commit cc012d9

Please sign in to comment.