Skip to content
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

Fix some typing problems #1940

Merged
merged 11 commits into from
May 18, 2023
Merged

Fix some typing problems #1940

merged 11 commits into from
May 18, 2023

Conversation

jkulhanek
Copy link
Contributor

This PR fixes some typing issues in models, model_components, fields. Now pyright, vscode (pylance) do not report any errors for these subpackages.

@brentyi brentyi mentioned this pull request May 17, 2023
@SauravMaheshkar SauravMaheshkar added quality of life python Pull requests that update Python code labels May 17, 2023
@jkulhanek jkulhanek changed the title Fix some typing problems [WIP] Fix some typing problems May 17, 2023
@jkulhanek
Copy link
Contributor Author

There is a large overlap with #1941. This PR can wait. I will merge whats left after #1941 is finished.

@jkulhanek jkulhanek requested a review from brentyi May 17, 2023 13:09
@jkulhanek jkulhanek force-pushed the jkulhanek/fix-typing-problems branch from bfa283f to 8e20087 Compare May 17, 2023 14:50
@jkulhanek jkulhanek force-pushed the jkulhanek/fix-typing-problems branch from 8e20087 to 77dda66 Compare May 17, 2023 14:53
@jkulhanek jkulhanek changed the title [WIP] Fix some typing problems Fix some typing problems May 17, 2023
@jkulhanek
Copy link
Contributor Author

@brentyi can you take a look?

Copy link
Contributor

@tancik tancik left a comment

Choose a reason for hiding this comment

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

LGTM

@brentyi brentyi merged commit f481f5e into main May 18, 2023
@brentyi brentyi deleted the jkulhanek/fix-typing-problems branch May 18, 2023 00:36
@brentyi
Copy link
Collaborator

brentyi commented May 18, 2023

FYI I'm going to try and get the rest of the type errors resolve today, and (hopefully) get pyright into the the CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests that update Python code quality of life
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants