oslo.log/oslo_log
Takashi Kajinami bfaed7b5c6 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_log

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

Change-Id: Ia9f2760df0e272148fe173691029062b0d8b8fc5
2024-10-21 19:20:15 +09:00
..
cmds Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:20:15 +09:00
fixture Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:20:15 +09:00
locale Imported Translations from Zanata 2020-04-16 06:14:33 +00:00
tests Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:20:15 +09:00
__init__.py Move files out of the namespace package 2014-12-17 21:43:41 -05:00
_i18n.py Update the documentation link 2017-08-23 15:08:41 +08:00
_options.py Merge "Add option to disable color" 2024-05-28 17:13:29 +00:00
formatters.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:20:15 +09:00
handlers.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:20:15 +09:00
helpers.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:20:15 +09:00
log.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:20:15 +09:00
pipe_mutex.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:20:15 +09:00
rate_limit.py Remove monotonic usage 2020-05-04 17:26:30 -05:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:23 -05:00
versionutils.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:20:15 +09:00