Skip to content

chore: add type-hints to response_*.py#530

Merged
mjs merged 1 commit intomjs:masterfrom
JohnVillalovos:jlvillal/mypy_1
Aug 27, 2023
Merged

chore: add type-hints to response_*.py#530
mjs merged 1 commit intomjs:masterfrom
JohnVillalovos:jlvillal/mypy_1

Conversation

@JohnVillalovos
Copy link
Contributor

Added type-hints to:

  • response_lexer.py
  • response_parser.py
  • response_types.py

@JohnVillalovos
Copy link
Contributor Author

This took quite a long time to do. So possible a type-hint is incorrect. But usually we will catch those as we complete all the type-hints. I think everything is correct, but no guarantees 🙂

Added type-hints to:
  * `response_lexer.py`
  * `response_parser.py`
  * `response_types.py`
Copy link
Owner

@mjs mjs left a comment

Choose a reason for hiding this comment

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

This looks great. As you said, we'll catch any typing errors as more of the code gets hints.

@mjs mjs merged commit a34f173 into mjs:master Aug 27, 2023
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