Skip to content

Prototype type hints for skimage.filters with mypy#7185

Closed
lagru wants to merge 9 commits intoscikit-image:mainfrom
lagru:typing-playground
Closed

Prototype type hints for skimage.filters with mypy#7185
lagru wants to merge 9 commits intoscikit-image:mainfrom
lagru:typing-playground

Conversation

@lagru
Copy link
Copy Markdown
Member

@lagru lagru commented Oct 4, 2023

Description

Experimentally type our skimage.filters module as part of the CZI-EOSS5 project. This is still early days. Check with

mypy skimage/filters

Checklist

Release note

Summarize the introduced changes in the code block below in one or a few sentences. The
summary will be included in the next release notes automatically:

...

lagru added 8 commits April 7, 2023 17:33
Starting to type with mypy skimage/restoration/_cycle_spin.py...

The ignore_missing_imports, where generated for all PYX files with
manual additions.
Even though, mypy.ini should cover these, mypy still reports them as
imports with missing types. So for now, ignore them manually.
@lagru
Copy link
Copy Markdown
Member Author

lagru commented Jul 29, 2025

This approach is superseded by the one in #7802 – so closing.

@lagru lagru closed this Jul 29, 2025
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.

1 participant