[fonttools/fonttools] 881167: Fixes related to ufoLib annotations (#3925)

0 views
Skip to first unread message

Jens Kutilek

unread,
Sep 4, 2025, 7:02:45 AMSep 4
to fontto...@googlegroups.com
Branch: refs/heads/main
Home: https://github.com/fonttools/fonttools
Commit: 881167519b1ee915e164c8969d7af3e0de5513f6
https://github.com/fonttools/fonttools/commit/881167519b1ee915e164c8969d7af3e0de5513f6
Author: Jens Kutilek <web...@kutilek.de>
Date: 2025-09-04 (Thu, 04 Sep 2025)

Changed paths:
M Lib/fontTools/annotations.py
M Lib/fontTools/ufoLib/__init__.py
M Lib/fontTools/ufoLib/glifLib.py
M Lib/fontTools/ufoLib/validators.py
M Tests/ufoLib/__init__.py

Log Message:
-----------
Fixes related to ufoLib annotations (#3925)

* Don't import from lxml directly, it's optional

The existing "from fontTools.misc import etree" will import from lxml if it's available

* Clean up/sort imports

Some duplicates had sneaked in

* Remove unused import os.PathLike

* Sort imports

* Autoformat

* Remove duplicate import

* Import from lxml only when type checking

* Don't skip ufoLib tests when import fails



To unsubscribe from these emails, change your notification settings at https://github.com/fonttools/fonttools/settings/notifications
Reply all
Reply to author
Forward
0 new messages