Skip to content

Conversation

@ajpotts
Copy link
Contributor

@ajpotts ajpotts commented Dec 17, 2025

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
Copy link
Collaborator

@1RyanK 1RyanK left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Contributor

@jaketrookman jaketrookman left a comment

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
21 of 22 checks passed
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