Skip to content

Extend mypy checks to test/ and demo/#4154

Open
schnellerhase wants to merge 13 commits intomainfrom
schnellerhase/mypy-demo/test-2
Open

Extend mypy checks to test/ and demo/#4154
schnellerhase wants to merge 13 commits intomainfrom
schnellerhase/mypy-demo/test-2

Conversation

@schnellerhase
Copy link
Copy Markdown
Contributor

(Uncontroversial subset of #4135 to proceed with #4131)

Comment thread python/demo/demo_pyamg.py Outdated
Comment thread python/demo/demo_pyamg.py Outdated
Co-authored-by: Paul T. Kühner <56360279+schnellerhase@users.noreply.github.com>
Comment thread python/demo/demo_pyamg.py

# +
def nullspace_elasticty(Q: fem.FunctionSpace) -> list[np.ndarray]:
def nullspace_elasticty(Q: fem.FunctionSpace) -> npt.NDArray:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this just be np.ndarray?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

hah, i felt like i'd commented on this before xD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants