jbampton opened a new issue, #10977: URL: https://github.com/apache/cloudstack/issues/10977
"A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language." https://github.com/asottile/pyupgrade https://github.com/asottile/pyupgrade?tab=readme-ov-file#python2-and-old-python3x-blocks Example `.pre-commit-config.yaml` entry: ``` - repo: https://github.com/asottile/pyupgrade rev: v3.19.1 hooks: - id: pyupgrade args: [--py37-plus] ``` Availability: - --py36-plus will remove Python <= 3.5 only blocks - --py37-plus will remove Python <= 3.6 only blocks so on and so forth -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
