Takashi Kajinami f6592d2e42 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: I03025adae5df96058ad3364c9ac17e899a600f7b
2024-10-24 23:08:20 +09:00
..
2017-09-20 14:30:03 -04:00
2021-01-07 17:24:43 +01:00