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

Add the case of a pair (str, int) to dolfinx.fem.TensorFunctionSpace type hints, second argument #2309

Merged
merged 2 commits into from
Aug 23, 2022

Conversation

francesco-ballarin
Copy link
Member

Mimics what is already there for dolfinx.fem.VectorFunctionSpace, just a few lines above.

Got this while running mypy on one of my projects, not sure why dolfinx CI did not complain, as such case is used in the tests (e.g., python/test/unit/io/test_vtk.py)

@garth-wells garth-wells added enhancement New feature or request documentation Documentation improvements or fixes labels Aug 23, 2022
@garth-wells garth-wells merged commit bfee5d5 into main Aug 23, 2022
@garth-wells garth-wells deleted the francesco/tensorfunctionspace-mypy branch August 23, 2022 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation improvements or fixes enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants