Skip to content

Type Fixes #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 11, 2024
Merged

Type Fixes #15

merged 3 commits into from
Oct 11, 2024

Conversation

dsp-ant
Copy link
Member

@dsp-ant dsp-ant commented Oct 11, 2024

Depends on:

This removes strict typing for now. I opened an issue #14 about this. With these changes it typechecks without strict mode for now. This will allow us to create automation on top of the SDK.

We currently have 21 non strict typing issues and 112 strict typing
issues. Most of the strict ones come from generic handling.

This is the initial step to tackle the non strict errors by
ignoring strict errors and adding github actions to check for type
errors. Once this is place we move back to using strict types.
Strict pyright mode results in a lot of issues regarding non fully
determined types, due to Generics. These are some issues I came across
today. We are still far from being clean on pyright.
The request and notification method were defined as str but later
overwritten in subclasses with literals. This causes a
reportIncompatibleVariableOverride issue. We need to make method
generic.
@dsp-ant dsp-ant requested a review from jspahrsummers October 11, 2024 11:13
@dsp-ant dsp-ant changed the title Davidsp/type fixes Type Fixes Oct 11, 2024
Base automatically changed from davidsp/pyproject to main October 11, 2024 13:06
@dsp-ant dsp-ant merged commit 047b5d8 into main Oct 11, 2024
1 check passed
@dsp-ant dsp-ant deleted the davidsp/type-fixes branch October 11, 2024 13:06
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