Skip to content

Enhance type safety and fix bugs across the codebase#430

Merged
mmschlk merged 34 commits intomainfrom
Pyright-Integration
Oct 14, 2025
Merged

Enhance type safety and fix bugs across the codebase#430
mmschlk merged 34 commits intomainfrom
Pyright-Integration

Conversation

@Advueu963
Copy link
Copy Markdown
Collaborator

@Advueu963 Advueu963 commented Aug 27, 2025

Motivation and Context

Being statically typed as a package is a very important desireta which this PR addresses.
It adds pyright to the .venv and adds it to of the pre-commit hooks.
The changes are quite extensive thus the integration must be done slowly and with a lot of discussions.

Public API Changes

  • No Public API changes
  • Yes, Public API changes (Details below)

How Has This Been Tested?

It has been tested locally running pyright in the top-level folder.
Additionally it was added to pre-commit, making all future changes statically typed.

Checklist

  • The changes have been tested locally.
  • Documentation has been updated (if the public API or usage changes).
  • An entry has been added to CHANGELOG.md (if relevant for users).
  • The code follows the project's style guidelines.
  • I have considered the impact of these changes on the public API.

@Advueu963 Advueu963 self-assigned this Aug 27, 2025
@mmschlk
Copy link
Copy Markdown
Owner

mmschlk commented Sep 10, 2025

This is crazy good! Wow thank you so much. Let's go through this together!

@Advueu963 Advueu963 marked this pull request as ready for review September 15, 2025 12:44
@Advueu963 Advueu963 requested a review from mmschlk September 15, 2025 12:44
mmschlk and others added 6 commits October 10, 2025 17:37
Removed the step to reinstall Python on Windows due to issues with tkinter. The linked GitHub issue was solved. Doing this as a first try.
Reinstall Python and install Tkinter for Windows tests. prior commit did not help
@mmschlk mmschlk moved this to 👀 In review in shapiq development Oct 14, 2025
@mmschlk mmschlk merged commit 193f1a9 into main Oct 14, 2025
9 of 10 checks passed
@mmschlk mmschlk deleted the Pyright-Integration branch October 14, 2025 14:26
@github-project-automation github-project-automation Bot moved this from 👀 In review to ✅ Done in shapiq development Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants