neutron/tools
Brian Haley 706a24e298 pyupgrade changes for Python3.9+
As discussed at the Epoxy PTG meeting, run an automated
upgrade tool to make code python 3.9+ compliant.

This patch is for code (non-tests).

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

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: Ife79df75dd2c9c42d4de36edef1d29b98f5d85da
2024-10-25 14:32:16 -04:00
..
ovn_migration Drop ovn migration for TripleO deployments 2024-09-24 01:19:50 +00:00
abandon_old_reviews.sh Skip abandoning of the old patches in unmaintained branches 2024-08-04 18:52:50 +02:00
bug-1921150-re-parent-device-rps.sql Physical NIC RP should be child of agent RP 2021-03-26 15:52:18 +01:00
check_unit_test_structure.sh Fix bashate warnings 2017-03-07 13:32:04 -05:00
coding-checks.sh Add pre-commit configuration 2024-05-02 10:46:27 +00:00
configure_for_func_testing.sh Use compiled OVN version v23.09.0 2023-09-25 10:10:38 -04:00
deploy_rootwrap.sh Adapt deploy_rootwrap filters path for tox4 2023-02-03 22:18:39 +01:00
download_gerrit_change.py pyupgrade changes for Python3.9+ 2024-10-25 14:32:16 -04:00
files_in_patch.py pyupgrade changes for Python3.9+ 2024-10-25 14:32:16 -04:00
generate_config_file_samples.sh Remove unnecessary 'set -x' at EOL in genconfig script 2018-12-13 13:28:57 +00:00
generate_dhclient_script_for_fullstack.sh fullstack: Don't let dhcp agents failover 2017-04-20 14:04:50 +00:00
migrate_names.py pyupgrade changes for Python3.9+ 2024-10-25 14:32:16 -04:00
migrate_names.txt [OVN] Updates to tools/migrate_names.txt 2020-12-14 16:44:40 -05:00
misc-sanity-checks.sh Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
pip_install_src_modules.sh Updates for python3.8 2020-04-28 14:03:21 -04:00
requirements.txt Migrate "migrate_names" to use "cliff" 2022-08-10 09:58:11 +02:00
split.sh Replace git.openstack.org URLs with opendev.org URLs 2019-04-23 10:00:45 +08:00
unassign_bug.py Add launchpad bug update support to abandon script 2017-04-16 02:44:03 -07:00
with_venv.sh Use tools_path/venv environment variables in install_venv 2016-01-20 02:07:12 +00:00