Automatic updates from Ruff for Python 3.9+#4721
Conversation
|
Idk if we want the |
57468ce to
d2e7e70
Compare
You are right. I should, at least, separate it into to 2 PRs. I will have a look at it later, thank you. |
d2e7e70 to
3fa7d33
Compare
|
Removed the changes for |
|
This thing of |
|
I was surprised that Ruff didn't also move |
|
Perfect, thank you very much @Avasam, for the thorough review. I think from this set of PRs, the only controversial one is the one I remove the vendored copy of But we should be able to merge this PR with relatively ease. |
3fa7d33 to
e8a62df
Compare
cdce8p
left a comment
There was a problem hiding this comment.
The typing looks fine and is 3.9 compatible 👍🏻
Summary of changes
Implement @Avasam suggestions from #4718 (comment):
The procedure used for the changes is:
ruff.tomlas suggested in Remove unnecessary code paths for 3.9+ (follow up onskeletonchanges) #4718 (comment)ruff check --fix --unsafe-fixesgit restore ruff.toml(I am leaving this decision forskeletonfor the time being)git restore setuptools/_importlib.py(Already covered in Remove unnecessary code paths for 3.9+ (follow up onskeletonchanges) #4718)Pull Request Checklist
newsfragments/.(See documentation for details)