Skip to content

MAINT: Autotype methods + manual fixes - #1562

Open
Carreau wants to merge 2 commits into
ipython:mainfrom
Carreau:autotyping
Open

MAINT: Autotype methods + manual fixes#1562
Carreau wants to merge 2 commits into
ipython:mainfrom
Carreau:autotyping

Conversation

@Carreau

@Carreau Carreau commented Sep 14, 2026

Copy link
Copy Markdown
Member
For the goal of tightening mypy later, potentialy on a per-file basis
autotype some methonds

$ autotyping ipykernel --safe

Then

Annotate the news items that are trigered by autotyping.

And move most `__init__` declaration to class level + default value when
immutable.

(second part with the help of sonnet 5)


Warning this will conflict with some existing PRs. It is though fairly mechanical, so easily redone

For the goal of tightening mypy later, potentialy on a per-file basis
autotype some methonds

$ autotyping ipykernel --safe
And move most `__init__` declaration to class level + default value when
immutable.
@Carreau
Carreau requested a review from krassowski September 14, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant