diff --git a/Lib/ufo2ft/featureWriters/markFeatureWriter.py b/Lib/ufo2ft/featureWriters/markFeatureWriter.py index 473541e48..6e4154d08 100644 --- a/Lib/ufo2ft/featureWriters/markFeatureWriter.py +++ b/Lib/ufo2ft/featureWriters/markFeatureWriter.py @@ -559,7 +559,7 @@ def _groupAttachments(self, attachments): # We keep the NamedAnchor if the markClass is allowed in the # current lookup. def include(anchor): - return anchor.markClass.name in markClasses + return anchor.markClass.name in markClasses # noqa: B023 filteredAttachment = attachment.filter(include) if filteredAttachment: