type more modules - #134
Conversation
49Indium
left a comment
There was a problem hiding this comment.
I'm liking Pyright so far. Looking forward to it being across the bot.
| min_players: int | ||
| max_players: int | ||
| name: str | ||
| score: Union[str, None] |
There was a problem hiding this comment.
Would Optional[str] be more appropriate? Same for the other parameters?
There was a problem hiding this comment.
yes but i'm braindead. will fix soon:tm:
|
Marking as draft as its uh, not complete |
wdym this is clearly ready for merge. |
|
Final thing for this PR: investigate the exemptor in yelling.py, with the goal of removing the |
|
My thoughts on the progress of this:
I'm optimistic. It's looking like steady progress is being made, but that we might be waiting on stubs if we want to type all of this. |
Now #114 is merged, this'll be the branch where I work through the rest of our cogs and get them all to pass pyright. Note that a couple of these cogs will be typed in other outstanding PRs.
List including all cogs not typed as of this PR's opening: