From 9d309a43dfc19720f4eeb8bcbbf7aedee606ef50 Mon Sep 17 00:00:00 2001 From: Cory Todd Date: Sun, 15 Mar 2026 10:03:43 -0700 Subject: [PATCH] fix: ruff nits remove unused import use a better lambda variable name --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index f781786..5438202 100644 --- a/main.py +++ b/main.py @@ -9,7 +9,7 @@ import xml.etree.ElementTree as ET from pathlib import Path -from PIL import Image, ImageOps +from PIL import Image import vtracer from fontTools.ttLib import TTFont from fontTools.pens.basePen import AbstractPen @@ -331,7 +331,7 @@ def add_ligature(font: TTFont, sequence: str, glyph_name: str) -> None: if first_glyph in subtable.ligatures: subtable.ligatures[first_glyph].append(lig) subtable.ligatures[first_glyph].sort( - key=lambda l: len(l.Component), reverse=True + key=lambda _lig: len(_lig.Component), reverse=True ) else: subtable.ligatures[first_glyph] = [lig]