Skip to content

Upgrade syntax to comply with 3.10

Theodore Chang requested to merge pyupgrade-39 into develop

Since now the minimum version is 3.10, the syntax shall be upgraded to reduce the cost of maintainability and readability.

The provided scripts/pyupgrade.sh can be executed regularly to update all python files.

pyupgrade can also be separately installed and used as a commit hook.

Edited by Theodore Chang

Merge request reports

Loading