-
Notifications
You must be signed in to change notification settings - Fork 17
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
Remove obsolete uses of typing.*
#433
Labels
priority:low
This should be addressed only if there is nothing else on the table
type:tech-debt
Improves the project without visible changes for users
Milestone
Comments
I want to eventually add I guess this is a motivation to do it sooner than later, will probably be more worth investing the time in integrating |
This was referenced Sep 6, 2023
Merged
github-merge-queue bot
pushed a commit
that referenced
this issue
Sep 7, 2023
The tool `pyupgrade` was used to modernize the code base given that frequenz-SDK is already using python 3.11 as minimum version. The tool was mainly used to replace obsolete types. Just as a reference the tool was run with the following shell command: ```sh find ./src ./benchmarks ./docs ./examples ./tests -name '*.py' -exec pyupgrade --py311-plus {} \; ``` Also `black` and `isort` were both run to format the code base after running `pyupgrade`. Fixes #433
github-merge-queue bot
pushed a commit
to frequenz-floss/frequenz-channels-python
that referenced
this issue
Sep 7, 2023
The tool `pyupgrade` was used to modernize the code base given that frequenz-channels is already using python 3.11 as minimum version. The tool was mainly used to replace obsolete types. Also `black` and `isort` tools were both run to format the code base after running `pyupgrade`. Related to frequenz-floss/frequenz-sdk-python#433
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
priority:low
This should be addressed only if there is nothing else on the table
type:tech-debt
Improves the project without visible changes for users
Oh, interesting that you can use
type
as a generic type, maybe you should replace the otherType
uses?Originally posted by @leandro-lucarella-frequenz in #422 (comment)
The text was updated successfully, but these errors were encountered: