From b443e3bc2aeca9972e682ddf3b36938889d6f80b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Corr=C3=AAa=20da=20Silva=20Sanches?= Date: Fri, 22 Dec 2023 14:14:00 +0000 Subject: [PATCH] this is the code-massaging I hoped should not be done to make linters happy --- Lib/fontbakery/profiles/opentype/os2.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Lib/fontbakery/profiles/opentype/os2.py b/Lib/fontbakery/profiles/opentype/os2.py index a5b496f782..c89d43559f 100644 --- a/Lib/fontbakery/profiles/opentype/os2.py +++ b/Lib/fontbakery/profiles/opentype/os2.py @@ -1,7 +1,9 @@ from fontbakery.callable import check from fontbakery.status import FAIL, PASS, WARN, INFO, SKIP from fontbakery.message import Message -from fontbakery.profiles.googlefonts_conditions import RIBBI_ttFonts +from fontbakery.profiles.googlefonts_conditions import ( # noqa:F401,E501 pylint:disable=W0611 + RIBBI_ttFonts, +) @check( @@ -245,7 +247,9 @@ def com_adobe_fonts_check_fsselection_matches_macstyle(ttFont): """, proposal="https://github.com/fonttools/fontbakery/pull/2388", ) -def com_adobe_fonts_check_family_bold_italic_unique_for_nameid1(RIBBI_ttFonts): +def com_adobe_fonts_check_family_bold_italic_unique_for_nameid1( + RIBBI_ttFonts, # noqa:F811 +): """Check that OS/2.fsSelection bold & italic settings are unique for each NameID1""" from collections import Counter