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

Pylance typing #705

Merged
merged 1 commit into from
Dec 1, 2022
Merged

Conversation

OMEGARAZER
Copy link
Contributor

Fix Pylance warnings for typing

@Serene-Arc
Copy link
Owner

Actually if we're going down this route, I'd prefer we use the newer typing method of doing unions, namely str | bytes and the like.

Fix Pylance warnings for typing
@Serene-Arc
Copy link
Owner

Thanks for conforming to my obsessive formatting, I'll merge

@Serene-Arc Serene-Arc merged commit d056647 into Serene-Arc:development Dec 1, 2022
@OMEGARAZER
Copy link
Contributor Author

OMEGARAZER commented Dec 1, 2022

@Serene-Arc Just noticed we'll need to update min version to 3.10 with that formatting.

It would essentially drop support for debian 11 and any other OS that doesn't ship with it available.

@Serene-Arc
Copy link
Owner

It's been reverted. Much as I would like to switch to 3.10 we should probably wait for Debian at the very least. That puts the upgrade time at mid next year at this rate. For now, we should stick to 3.9 compatible typing. If you could do the PR without my change again, that would be great, you were right the first time.

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