Takashi Kajinami 1fe445863e Run pyupgrade to clean up Python 2 syntaxes
Update all .py source files by
 $ pyupgrade --py3-only $(git ls-files | grep ".py$")
to modernize the code according to Python 3 syntaxes.

Also add the pyupgrade hook to pre-commit to avoid merging additional
Python 2 syntaxes.

Change-Id: I42f1312e43167dd727e2004250c16e9c4a8ee934
2025-01-13 13:42:50 +09:00
..
2024-05-01 11:43:35 +09:00