Brian Haley
cd8df72cc6
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_lib
Also did manual updates as necessary to fix other errors
and warnings after above commands. Removed a number of
pylint 'disable' directives.
Inspired by Octavia and Nova [0].
[0] https://review.opendev.org/c/openstack/nova/+/896986
Change-Id: Ic8c95898fc00d5463aa0992e844eee60ac3dc5a0
2024-11-04 21:18:15 -05:00
..
2024-09-11 10:01:33 +00:00
2018-04-05 14:58:38 +00:00
2021-02-10 12:45:09 -06:00
2018-05-14 21:01:39 +00:00
2019-01-23 16:27:47 +01:00
2020-07-28 10:42:18 +05:30
2018-05-14 20:56:59 +00:00
2023-04-21 11:05:50 +08:00
2018-04-03 09:39:15 +02:00
2018-04-11 23:37:17 +00:00
2018-06-25 14:50:38 +00:00
2018-05-14 20:56:59 +00:00
2024-09-09 16:09:33 +00:00
2021-05-11 14:07:18 +02:00
2021-05-11 14:07:18 +02:00
2021-05-11 14:07:18 +02:00
2024-01-16 16:56:54 +00:00
2018-05-07 10:04:55 +02:00
2018-05-07 10:04:55 +02:00
2018-05-07 10:04:55 +02:00
2018-05-07 10:04:55 +02:00
2018-04-03 09:39:15 +02:00
2021-07-05 18:30:44 +00:00
2017-07-17 13:50:15 -06:00
2017-05-04 06:30:18 -06:00
2017-08-07 07:35:37 -06:00
2018-04-03 09:39:15 +02:00
2020-06-16 20:23:52 +00:00
2017-06-27 19:21:01 +00:00
2017-06-16 13:14:56 +09:00
2018-04-03 09:39:15 +02:00
2024-01-27 12:33:40 +09:00
2018-05-01 15:26:22 +00:00
2019-04-11 03:19:21 +02:00
2018-07-09 09:47:24 +08:00
2018-04-09 17:01:20 +00:00
2021-10-25 22:06:40 +02:00
2019-08-30 00:27:35 +00:00
2017-08-15 04:36:38 -06:00
2018-07-12 23:12:00 +00:00
2017-03-28 12:43:51 +09:00
2023-01-05 02:13:31 +00:00
2020-03-02 20:58:27 +01:00
2022-08-08 07:33:47 +00:00
2024-06-02 16:30:59 +00:00
2018-04-20 23:21:37 +00:00
2023-04-27 15:10:47 +08:00
2018-01-16 15:10:54 -07:00
2024-07-08 14:25:20 +00:00
2018-11-02 23:06:28 +08:00
2019-02-25 11:08:56 +01:00
2018-06-08 18:10:07 +00:00
2018-04-27 10:46:02 +02:00
2018-05-14 21:01:39 +00:00
2018-01-08 22:43:48 +00:00
2017-08-15 15:19:45 -06:00
2019-07-19 02:15:58 +02:00
2023-08-29 12:01:30 +02:00
2023-08-29 12:01:30 +02:00
2021-08-17 16:39:38 +00:00
2023-04-20 19:18:02 +03:00
2017-09-07 10:23:24 -06:00
2021-07-27 09:11:30 -04:00
2018-05-14 21:01:39 +00:00
2021-07-27 09:11:30 -04:00
2018-11-06 23:15:47 +08:00
2018-07-02 14:53:11 +00:00
2021-11-03 14:53:06 +03:00
2019-11-04 08:57:53 -05:00
2018-05-14 21:01:39 +00:00
2020-08-26 11:11:00 -03:00
2018-10-19 11:44:32 -05:00
2017-11-02 10:27:46 -06:00
2018-04-09 17:04:50 +00:00
2022-07-28 13:57:47 +00:00
2023-06-20 17:45:12 +00:00
2021-08-23 13:13:55 +00:00
2020-05-20 14:51:26 +00:00
2018-04-16 18:22:38 +00:00
2022-03-24 17:39:44 -04:00
2018-04-09 17:04:50 +00:00
2017-08-17 13:11:22 -06:00
2020-12-18 16:58:39 +00:00
2023-07-04 09:07:51 +00:00
2023-02-20 13:11:54 +01:00
2023-02-20 13:11:54 +01:00
2022-03-23 13:19:44 +01:00
2018-07-19 04:47:14 +00:00
2024-02-13 06:56:20 +00:00
2024-02-13 06:56:20 +00:00
2021-08-11 12:19:54 +02:00
2018-08-21 17:40:32 +02:00
2018-04-03 09:39:15 +02:00
2024-09-09 07:10:20 +00:00
2022-11-03 07:46:22 +01:00
2018-07-19 22:00:29 +00:00
2022-02-08 07:10:47 +01:00
2018-08-13 18:38:29 +00:00
2017-08-24 10:27:15 -06:00
2018-04-09 17:01:20 +00:00
2018-10-19 11:44:32 -05:00
2018-07-17 11:38:17 +02:00
2018-05-14 20:56:59 +00:00
2021-11-19 19:49:35 +00:00
2022-01-18 11:23:37 +00:00
2023-04-20 19:18:02 +03:00
2020-01-10 15:38:08 +00:00
2021-10-22 15:04:10 +02:00
2021-08-20 14:46:43 +00:00
2021-08-17 05:57:45 +00:00
2018-01-08 06:49:29 -07:00
2022-02-10 11:57:33 +00:00
2019-01-30 08:15:14 +01:00
2024-07-08 14:25:20 +00:00
2024-09-06 07:07:44 +00:00
2021-09-09 14:33:28 +00:00
2021-01-21 18:32:06 -06:00
2020-02-25 18:07:31 +02:00
2021-07-05 18:30:44 +00:00
2019-02-21 11:21:13 -07:00
2020-02-25 18:11:55 +02:00
2018-01-16 17:06:10 +00:00
2019-07-08 09:34:07 +00:00
2017-08-18 13:31:31 -06:00
2017-03-28 12:43:51 +09:00
2018-01-08 06:51:11 -07:00
2020-07-29 22:58:30 +02:00
2018-06-14 06:55:27 -06:00
2020-08-28 14:21:31 -05:00
2023-06-07 09:50:57 +00:00
2021-10-08 09:24:04 -05:00
2018-08-13 15:45:43 +00:00
2018-06-26 23:53:41 +02:00
2017-12-06 13:47:55 -07:00
2018-04-27 10:46:02 +02:00
2018-07-12 14:46:47 +00:00
2018-01-08 06:45:51 -07:00
2018-05-29 22:57:33 +00:00
2019-11-29 11:01:00 +01:00
2019-11-27 13:46:07 +00:00
2024-07-12 08:52:21 +00:00
2019-01-24 08:40:08 +00:00
2018-09-24 15:37:20 -05:00
2021-06-08 15:44:44 +00:00
2019-03-13 11:14:55 -06:00
2024-05-29 12:24:17 -04:00
2019-02-27 17:53:51 +00:00
2018-05-14 21:01:39 +00:00
2022-01-20 10:07:30 +00:00
2024-08-06 18:59:51 +00:00
2019-12-30 16:49:52 -06:00
2024-01-25 14:59:57 +01:00
2019-04-22 11:23:33 +08:00
2018-05-14 21:01:39 +00:00
2024-09-09 16:09:33 +00:00
2020-08-05 12:49:55 +00:00
2022-01-20 10:07:30 +00:00
2024-11-04 21:18:15 -05:00
2023-10-24 13:18:59 +02:00
2018-01-26 09:14:42 +08:00
2024-09-06 12:47:25 -04:00
2023-10-24 13:18:59 +02:00