Skip to content

Closes #5183: Increase Literals typing through project - #5184

Merged
ajpotts merged 3 commits into
Bears-R-Us:mainfrom
ajpotts:5183_Increase_Literals_typing_through_project
Jan 8, 2026
Merged

ajpotts merged 3 commits into
Bears-R-Us:mainfrom
ajpotts:5183_Increase_Literals_typing_through_project

Conversation

@ajpotts

@ajpotts ajpotts commented Dec 17, 2025

Copy link
Copy Markdown
Contributor

Increases the usage of Literals as type hints throughout the project. In general, Literal is preferred over str for type hints in cases where only a finite set of values is allowed.

Closes #5183: Increase Literals typing through project

@ajpotts
ajpotts marked this pull request as ready for review December 17, 2025 18:57

@1RyanK 1RyanK left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@jaketrookman jaketrookman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@ajpotts
ajpotts added this pull request to the merge queue Jan 8, 2026
Merged via the queue into Bears-R-Us:main with commit f464e45 Jan 8, 2026
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.

Increase Literals typing through project.

3 participants