From 89a6e456e701424aaebe922d715de2db1a1ded78 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 13 Feb 2020 14:44:16 +0100 Subject: Ignore flake8 complexity error Real fix in master: 31a3aa584aa2dd1ceff4a58b4c88ebe5146e22df --- qutebrowser/config/configtypes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qutebrowser/config/configtypes.py b/qutebrowser/config/configtypes.py index 4c2d458c3..303ac44c6 100644 --- a/qutebrowser/config/configtypes.py +++ b/qutebrowser/config/configtypes.py @@ -1287,8 +1287,8 @@ class QtFont(Font): return configutils.FontFamilies.from_str(family_str) - def to_py(self, value: _StrUnset) -> typing.Union[usertypes.Unset, - None, QFont]: + def to_py(self, value: _StrUnset) -> typing.Union[ # noqa: C901 + usertypes.Unset, None, QFont]: self._basic_py_validation(value, str) if isinstance(value, usertypes.Unset): return value -- cgit v1.2.3-54-g00ecf