-
Notifications
You must be signed in to change notification settings - Fork 65
feat(tidy3d): FXC-3573 static type checking in python client (Stage 1) #2921
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
Merged
marcorudolphflex
merged 1 commit into
develop
from
FXC-3573-static-type-checking-in-python-client
Oct 29, 2025
Merged
feat(tidy3d): FXC-3573 static type checking in python client (Stage 1) #2921
marcorudolphflex
merged 1 commit into
develop
from
FXC-3573-static-type-checking-in-python-client
Oct 29, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Skipped: This PR changes more files than the configured file change limit: ( |
Contributor
Diff CoverageDiff: origin/develop...HEAD, staged and unstaged changes
Summary
tidy3d/components/viz/plot_sim_3d.pytidy3d/plugins/invdes/validators.pytidy3d/updater.pytidy3d/web/api/container.pytidy3d/web/cli/app.pytidy3d/web/cli/develop/documentation.pytidy3d/web/core/s3utils.py |
Collaborator
|
Nice this is pretty exciting |
764dded to
26ac0b6
Compare
26ac0b6 to
46dbe02
Compare
46dbe02 to
d470e08
Compare
yaugenst-flex
approved these changes
Oct 29, 2025
Collaborator
yaugenst-flex
left a comment
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.
mypy tidy3d/web/
--> Success: no issues found in 47 source filesNiice! This is great. Lots of Any, but I guess that's for another stage to figure out 😬
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is a start towards static type checks with mypy.
It includes:
no-untyped-deftidy3d/web*argand**kwargsargumentsNonereturn types if nothing or justNoneis returnedtidy3d.webpackageNotes
Review should be focussed on
tidy3d/webfiles as the others were automatically annotated (Anyargs andNonereturns, see above).The PR was made from here #2871 as there were already several merge conflicts with develop.