Skip to content

Add remaining return annotations#147

Merged
jaraco merged 2 commits intojaraco:mainfrom
silasary:types
Mar 23, 2022
Merged

Add remaining return annotations#147
jaraco merged 2 commits intojaraco:mainfrom
silasary:types

Conversation

@silasary
Copy link
Copy Markdown
Contributor

@silasary silasary commented Mar 2, 2022

Most importantly, it adds -> None: to the __init__ of both classes, explicitly telling type checkers that the classes are in fact typed.

Note that I didn't hint make_pl_si_lists, as it's return type is a nightmare, and makes mypy very unhappy in a lot of places.

@silasary
Copy link
Copy Markdown
Contributor Author

@jaraco Can I get your eyes on this?

@jaraco jaraco merged commit f14ff17 into jaraco:main Mar 23, 2022
@silasary silasary deleted the types branch March 26, 2022 23:54
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