oslo.policy/oslo_policy
Takashi Kajinami a33edecad6 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.

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

Change-Id: I282706b4b2986da32ce813045620f5a145d91c45
2024-10-21 20:08:26 +09:00
..
locale/en_GB/LC_MESSAGES Imported Translations from Zanata 2022-10-17 03:48:17 +00:00
tests Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 20:08:26 +09:00
__init__.py exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
_cache_handler.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 20:08:26 +09:00
_checks.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 20:08:26 +09:00
_external.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 20:08:26 +09:00
_i18n.py Update URLs in documents according to document migration 2017-07-12 23:01:31 +08:00
_parser.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 20:08:26 +09:00
fixture.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 20:08:26 +09:00
generator.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 20:08:26 +09:00
opts.py Merge "Switch default policy_file" 2024-10-15 20:22:55 +00:00
policy.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 20:08:26 +09:00
shell.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 20:08:26 +09:00
sphinxext.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 20:08:26 +09:00
sphinxpolicygen.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 20:08:26 +09:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:22 -05:00