Takashi Kajinami 34fd61bdc2 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_messaging
and a few manual adjustments.

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

Change-Id: I8115b7f8c5d27ce935e4422c351add4bb72e354f
2024-10-21 19:58:14 +09:00
..
2023-02-24 15:20:06 +00:00
2023-09-07 09:37:14 +00:00
2024-03-08 14:22:43 +00:00
2024-09-05 16:01:24 +00:00
2024-09-05 16:01:24 +00:00
2017-02-22 14:08:19 +08:00
2017-02-22 14:08:19 +08:00
2017-07-28 21:05:03 +00:00
2018-01-24 18:05:58 +00:00
2018-07-26 12:38:43 +00:00
2019-03-18 14:45:21 +00:00
2019-09-20 16:34:26 +00:00
2017-02-22 14:08:19 +08:00
2020-04-14 10:15:30 +00:00