Skip to content

Comments

Better type hints and overloads signatures for ImpactFuncSet#1250

Merged
spjuhel merged 8 commits intodevelopfrom
feature/impf-type-hints
Feb 13, 2026
Merged

Better type hints and overloads signatures for ImpactFuncSet#1250
spjuhel merged 8 commits intodevelopfrom
feature/impf-type-hints

Conversation

@spjuhel
Copy link
Collaborator

@spjuhel spjuhel commented Feb 12, 2026

Changes proposed in this PR:

  • Better type hints for ImpactFuncSet
  • Overloads for get_func() and get_ids()

I was annoyed by my LSP saying get_func return a dict[Unknown, Unknown]

This PR adjusts a few type hints and some overloads statement for get_func. (This tells LSP what is the return type of get_func() for different inputs).

PR Author Checklist

PR Reviewer Checklist

@spjuhel spjuhel removed the request for review from emanuel-schmid February 12, 2026 10:27
Copy link
Member

@peanutfun peanutfun left a comment

Choose a reason for hiding this comment

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

One tiny thing, then it's good to go!

@spjuhel spjuhel merged commit 33e7bac into develop Feb 13, 2026
4 of 5 checks passed
@spjuhel spjuhel deleted the feature/impf-type-hints branch February 13, 2026 14:46
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.

2 participants