Skip to content
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

using Self now that it's available in typing_extensions #124

Merged
merged 2 commits into from
Feb 14, 2024

Conversation

bandophahita
Copy link
Contributor

No description provided.

@bandophahita bandophahita requested a review from perrygoy February 8, 2024 14:49
Copy link
Member

@perrygoy perrygoy left a comment

Choose a reason for hiding this comment

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

Man look at this, so much cleaner. I only had one small suggestion!

@@ -7,6 +7,8 @@

from typing import TYPE_CHECKING

from typing_extensions import Self
Copy link
Member

Choose a reason for hiding this comment

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

Can we put it in if TYPE_CHECKING? 🥺

Copy link
Contributor Author

@bandophahita bandophahita Feb 14, 2024

Choose a reason for hiding this comment

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

I sure can. I even figured out how to get ruff to do that automatically. See latest commit.

Copy link
Member

@perrygoy perrygoy left a comment

Choose a reason for hiding this comment

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

Very nice! And what a relief to finally have Self.

@bandophahita bandophahita merged commit 1c8a8b2 into ScreenPyHQ:trunk Feb 14, 2024
11 checks passed
@bandophahita bandophahita deleted the yay_self branch February 14, 2024 18: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