-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
add py312 support - v6 #3373
add py312 support - v6 #3373
Conversation
) | ||
from typing import Dict # noqa: F401 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was there a limit your for dict? Weird that it imports typing twice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure. I put the noqa
line after it in the original single import and something in linting split it out. Maybe isort?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can say: self.strategies: Dict[str, Callable[[Package], Package]] = {}
on line 30 below and get rid of this weird import stuff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet!
) | ||
from typing import Dict # noqa: F401 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can say: self.strategies: Dict[str, Callable[[Package], Package]] = {}
on line 30 below and get rid of this weird import stuff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
What was wrong?
Support py312 in v6. Bumped
flake8
version to one that supports py312, fixed a couple errors that came up.Todo:
Cute Animal Picture