Closed moyogo closed 1 year ago
hey Denis! can you fix formatting with black, and also rebase on main where I made codecov not fail the PR checks (upload is flaky with PRs sometimes)
@anthrotype Will do. Do you know if the feature tag argument is used in anyway? Considering classes can be defined anywhere it doesn't seem to make sense as currently used. I'm not sure what it's used for either.
is it not used? maybe remove it then. These methods are unlikely to be used outside ufo2ft. You're right it doesn't make much sense to narrow the search to a specific feature block given these class definitions are global in nature.
@anthrotype Please take another look. I rewrote the function iterClassDefinitions() without the featureTag argument and formatted ast_test.py after black and isort complained.
Thank you!
feel free to merge when you get a LGTM from other co-maintainers, I think you already should have write access to this repo
https://adobe-type-tools.github.io/afdko/OpenTypeFeatureFileSpecification.html#2.g.ii
Glyph class definitions can be top-level, inside a feature blocks but also inside a lookup block or inside lookup block itself inside a feature block. I guess other blocks like cvparameters or table would not make sense.