Takashi Kajinami c12e49fabb 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 oslo_config

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

Change-Id: I0c88bddde6979e3626a18be1e31905cc5f8c4e86
2024-10-21 19:42:59 +09:00
..
2020-02-12 09:56:58 +00:00