Skip to content

Commit

Permalink
Make flake8 happier
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Nov 1, 2023
1 parent 325acda commit 496a9ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Lib/fontmake/compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ def check_glyph(self, glyphs):
)
# Context for contextual anchors
libs = [g.lib for g in glyphs]
for ix, anchors in enumerate(zip(*anchors)):
if anchors[0].name[0] == "*":
for each_anchors in zip(*anchors):
if each_anchors[0].name[0] == "*":
objectlibs = [
libs[font_ix]
.get("public.objectLibs", {})
.get(anchor.identifier, {})
for font_ix, anchor in enumerate(anchors)
for font_ix, anchor in enumerate(each_anchors)
]
with Context(self, f"anchor {anchors[0].name}"):
with Context(self, f"anchor {each_anchors[0].name}"):
self.ensure_all_same(
lambda lib: lib.get("GPOS_Context", "None").strip(),
objectlibs,
Expand Down

0 comments on commit 496a9ea

Please sign in to comment.