8000 Add typing for the simpler STAT arguments by Hoolean · Pull Request #3812 · fonttools/fonttools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add typing for the simpler STAT arguments #3812

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 29, 2025
Merged

Conversation

Hoolean
Copy link
Contributor
@Hoolean Hoolean commented Apr 25, 2025

As well as general creature comforts, this avoids popular Python type checkers assuming that the elided fallback name argument can only accept an integer.

Hoolean added 2 commits April 25, 2025 12:34
As well as general creature comforts, this avoids popular Python type
checkers assuming that the elided fallback name argument can only accept
an integer.
< 9B1B div class="pr-1 d-md-inline-block d-none">
Hoolean added a commit to daltonmaag/statmake that referenced this pull request Apr 25, 2025
See fonttools/fonttools#3812 - the internal implementation of the name-
-adding function does a type check against dict, and so this type is
explicitly required by the builder function argument.
@madig madig merged commit 1bf18b0 into fonttools:main Apr 29, 2025
11 checks passed
@madig madig deleted the stat-typing branch April 29, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0