Skip to content

Annotate and document compatibility.py #822

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

Draft
wants to merge 2 commits into
base: v1
Choose a base branch
from

Conversation

knutnergaard
Copy link
Contributor

@knutnergaard knutnergaard commented Mar 11, 2025

@benkiel b0efc71 results in the folllowing mypy errors:

glyph.py:2903: error: Argument 1 to "list" has incompatible type "set[tuple[Optional[str], int]]"; expected "Iterable[str]"  [arg-type]
glyph.py:2908: error: Argument 1 to "list" has incompatible type "set[tuple[Optional[str], int]]"; expected "Iterable[str]"  [arg-type]
Found 2 errors in 1 file (checked 24 source files)

This can be most easily solved by casting set[tuple[Optional[str], int]] to str, but I'm not sure if that's appropriate.

Also, should this module be documented?

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.

1 participant