Skip to content

More types: Part 1#2720

Merged
richardebeling merged 3 commits into
e-valuation:mainfrom
richardebeling:types-subchanges1
May 11, 2026
Merged

More types: Part 1#2720
richardebeling merged 3 commits into
e-valuation:mainfrom
richardebeling:types-subchanges1

Conversation

@richardebeling

Copy link
Copy Markdown
Member

Subset of changes from #2687 for simpler review

@richardebeling

Copy link
Copy Markdown
Member Author

@niklasmohrin these non-cherrypicked changes were necessary to make precommit pass: 9c9b32e

@niklasmohrin niklasmohrin left a comment

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.

Ship it

Comment thread evap/rewards/exporters.py
default_sheet_name = _("Redemptions")

def export_impl(self, users_with_redeemed_points): # pylint: disable=arguments-differ
def export_impl(self, users_with_redeemed_points: Iterable) -> None: # pylint: disable=arguments-differ

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.

Suggested change
def export_impl(self, users_with_redeemed_points: Iterable) -> None: # pylint: disable=arguments-differ
def export_impl(self, users_with_redeemed_points: Iterable[UserProfile]) -> None: # pylint: disable=arguments-differ

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Sadly doesn't work because we access user.points below and that is just a monkey-annotated field

Comment thread evap/evaluation/forms.py Outdated
@richardebeling richardebeling merged commit 5717c4a into e-valuation:main May 11, 2026
16 checks passed
@richardebeling richardebeling deleted the types-subchanges1 branch May 11, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants