oslo.middleware/oslo_middleware
Takashi Kajinami 06123454ef 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: I904e16214939a52e42ca509ea5d5e06d59b18503
2024-10-21 19:25:12 +09:00
..
healthcheck Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:25:12 +09:00
locale/en_GB/LC_MESSAGES Imported Translations from Zanata 2023-06-28 04:09:45 +00:00
tests Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:25:12 +09:00
__init__.py Remove deprecated SSLMiddleware 2023-11-14 22:55:15 +09:00
_i18n.py Update URLs in documents according to document migration 2017-07-12 23:06:02 +08:00
base.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:25:12 +09:00
basic_auth.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:25:12 +09:00
catch_errors.py Fix invalid escape sequence warnings 2019-04-11 06:10:18 -05:00
correlation_id.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2016-12-07 04:10:58 +00:00
cors.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:25:12 +09:00
debug.py Stop to use the __future__ module. 2020-06-02 20:39:44 +02:00
exceptions.py Make ConfigInvalid generic 2024-07-04 11:49:52 +09:00
http_proxy_to_wsgi.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:25:12 +09:00
opts.py Add a enabled by files healthcheck plugin 2024-07-03 15:55:15 +02:00
request_id.py Set global_request_id if passed in as X-OpenStack-Request-ID. 2017-05-23 12:48:41 -04:00
sizelimit.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:25:12 +09:00
stats.py Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:25:12 +09:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:22 -05:00