-
Notifications
You must be signed in to change notification settings - Fork 20
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
type more modules #134
base: main
Are you sure you want to change the base?
type more modules #134
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would Optional[str]
be more appropriate? Same for the other parameters?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: