tap-as-a-service/neutron_taas
elajkat b8c65a9ec2 pyupgrade changes for Python3.9+
As discussed at the Epoxy PTG meeting, run an automated
upgrade tool to make code python 3.9+ compliant.

Result of running:

$ pyupgrade --py39-plus $(git ls-files | grep ".py$")

Fixed PEP8 errors introduced by pyupgrade by running:

$ autopep8 --select=E127,E128,E501 --max-line-length 79 -r \
  --in-place neutron_taas

Also did manual updates as necessary to fix other errors
and warnings after above commands.

Inspired by Octavia and Nova [0].

[0] https://review.opendev.org/c/openstack/nova/+/896986

Change-Id: I14155656d7e233cdd0f8a30c34158465e8de325a
2024-10-30 10:49:41 +00:00
..
common Generate plugin config file 2024-09-17 23:59:24 +09:00
db SQLAlchemy2: fix remaining issues 2024-05-17 11:59:15 +02:00
extensions Py3: Remove six 2022-07-27 12:20:11 +00:00
policies Adds policy in code to Tap-as-a-Service 2020-01-09 12:52:26 +00:00
services pyupgrade changes for Python3.9+ 2024-10-30 10:49:41 +00:00
taas_client Remove the old CLI code from taas 2023-05-16 11:22:53 +02:00
tests pyupgrade changes for Python3.9+ 2024-10-30 10:49:41 +00:00
__init__.py Undefined name '_' 2017-03-25 11:04:50 +08:00
_i18n.py Remove log translations 2017-03-21 15:58:40 +08:00
opts.py Generate plugin config file 2024-09-17 23:59:24 +09:00