Skip to content

Conversation

felixdivo
Copy link
Collaborator

I ran the pyupgrade tool to update some old code. It would be tedious to do this manually.

Do you agree with the changes? I think the only debatable changes are the exception class changes, but since Python 3.3 the sub-classes of OSError are somewhat unified so I guess it makes sense.

To reproduce:

pip install pyupgrade
python -m pyupgrade --py37-plus $(find . -name "*.py")

@felixdivo felixdivo added the QA about improving and maintaining the quality of the library label Nov 24, 2022
@felixdivo felixdivo added this to the Next Release milestone Nov 24, 2022
@felixdivo felixdivo self-assigned this Nov 24, 2022
@hardbyte hardbyte merged commit 9f5af3f into hardbyte:develop Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QA about improving and maintaining the quality of the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants