Takashi Kajinami 9c7dbf8fd0 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.

pep8 errors are fixed by
 $ autopep8 --select=E127,E128,E501 --max-line-length 79 -r \
    --in-place tooz

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

Change-Id: I18b9e51964afe739ddabd3d074431c27a09a8508
2024-10-22 16:43:10 +09:00
..
2021-04-16 14:23:46 +02:00
2017-01-20 19:16:28 +00:00
2017-07-28 21:09:02 +00:00
2018-01-24 18:11:38 +00:00
2018-07-26 12:43:11 +00:00
2019-05-23 15:47:47 +00:00
2019-09-20 17:45:17 +00:00
2020-04-14 10:20:27 +00:00