tooz/tools
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
..
compat-matrix.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-22 16:43:10 +09:00