Skip to content

CI coverage of auto generated stubs#4101

Draft
schnellerhase wants to merge 5 commits into
mainfrom
schnellerhase/mypy-ci
Draft

CI coverage of auto generated stubs#4101
schnellerhase wants to merge 5 commits into
mainfrom
schnellerhase/mypy-ci

Conversation

@schnellerhase
Copy link
Copy Markdown
Contributor

@schnellerhase schnellerhase commented Feb 24, 2026

Readds #4096 - now with cpp standalone mypy check for CI coverage, which catches #4096 (comment).

@schnellerhase schnellerhase self-assigned this Feb 24, 2026
@schnellerhase schnellerhase added ci Continuous Integration type-hints labels Feb 24, 2026
@schnellerhase schnellerhase force-pushed the schnellerhase/mypy-ci branch from 86fd57a to e99a6d2 Compare March 1, 2026 16:37
@schnellerhase schnellerhase force-pushed the schnellerhase/mypy-ci branch 6 times, most recently from a60754b to 15e3fe9 Compare March 19, 2026 09:06
@schnellerhase schnellerhase force-pushed the schnellerhase/mypy-ci branch from 8c8a410 to d7b2dee Compare March 24, 2026 17:56
@schnellerhase schnellerhase changed the base branch from main to schnellerhase/generics March 24, 2026 17:56
@schnellerhase schnellerhase force-pushed the schnellerhase/generics branch from 36886a4 to 5944836 Compare March 31, 2026 18:35
@jhale
Copy link
Copy Markdown
Member

jhale commented Apr 18, 2026

Would be good to get this substantial PR in before it gets stale. What needs sorting still?

Comment thread python/dolfinx/fem/function.py Outdated
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.

I do have my concerns here - if we add another type, we need to change this definition in 100 files. Can't it be in a library and imported?

@schnellerhase
Copy link
Copy Markdown
Contributor Author

Mainly we need to fix the mypy CI checks, they are non exhaustive in the sense that we currently do not run the checks against an installed dolfinx version. #4154 and #4131 are first steps to improve on this, so should also go in first.

@schnellerhase schnellerhase force-pushed the schnellerhase/generics branch 5 times, most recently from d55000f to a0d66b7 Compare April 30, 2026 16:11
Base automatically changed from schnellerhase/generics to main May 4, 2026 13:14
@jhale jhale added this to the 0.11.0 milestone May 13, 2026
@schnellerhase schnellerhase force-pushed the schnellerhase/mypy-ci branch from d7b2dee to b77c229 Compare May 16, 2026 07:04
qbisi and others added 4 commits May 16, 2026 09:04
* add cpp stub files

* fix nanobind OUTPUT path

Note that these OUTPUT are not actually passed to the stub
generator and purely used for dependency management
within CMake.
@schnellerhase schnellerhase force-pushed the schnellerhase/mypy-ci branch from b77c229 to f4d0bc0 Compare May 16, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous Integration type-hints

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants