Skip to content

Moar types#2687

Open
richardebeling wants to merge 5 commits intoe-valuation:mainfrom
richardebeling:types
Open

Moar types#2687
richardebeling wants to merge 5 commits intoe-valuation:mainfrom
richardebeling:types

Conversation

@richardebeling
Copy link
Copy Markdown
Member

because moar = better

I think we can conclude by now that python type hints are not going anywhere, so we may just as well annotate our interfaces to benefit from better LSP understanding and type checking.

Split into two commits, the first one should be very quick to review, containing only type changes. The second one contains everything that needs to touch actual production logic, mostly by adding assertions.

@richardebeling richardebeling marked this pull request as ready for review April 1, 2026 20:41
Comment thread evap/evaluation/models.py Outdated
Comment thread evap/evaluation/models_logging.py Outdated
Comment thread evap/evaluation/models_logging.py Outdated
Copy link
Copy Markdown
Member

@niklasmohrin niklasmohrin left a comment

Choose a reason for hiding this comment

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

some more files checked off; should we maybe split this into multiple PRs so that reviewed changes can get merged before they get conflicts?

Comment thread evap/evaluation/auth.py Outdated
Comment thread evap/evaluation/forms.py Outdated
Comment thread evap/evaluation/forms.py
Comment thread evap/evaluation/tools.py Outdated
Comment thread evap/evaluation/tools.py
Comment thread evap/evaluation/views.py Outdated
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