Markus Armbruster
5c24c3e2f3
tests/qapi-schema: Tidy up pylint warnings and advice
...
Pylint warns:
tests/qapi-schema/test-qapi.py:139:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
tests/qapi-schema/test-qapi.py:143:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
Add encoding='utf-8'.
Pylint advises:
tests/qapi-schema/test-qapi.py:143:13: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
Silence this by returning the value directly.
Pylint advises:
tests/qapi-schema/test-qapi.py:221:4: R1722: Consider using sys.exit() (consider-using-sys-exit)
tests/qapi-schema/test-qapi.py:226:4: R1722: Consider using sys.exit() (consider-using-sys-exit)
Sure, why not.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20231025092925.1785934-1-armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
2023-11-13 10:36:51 +01:00
..
2022-04-21 10:11:25 +02:00
2022-04-21 10:11:25 +02:00
2022-04-21 10:11:25 +02:00
2022-04-21 10:11:25 +02:00
2022-04-21 10:11:25 +02:00
2022-04-21 10:11:25 +02:00
2023-04-24 15:21:39 +02:00
2023-04-24 15:21:39 +02:00
2023-04-24 15:21:39 +02:00
2023-04-24 15:21:39 +02:00
2023-04-24 15:21:39 +02:00
2023-04-24 15:21:39 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2023-04-24 15:21:39 +02:00
2021-09-08 15:30:30 +02:00
2023-09-08 13:08:52 +03:00
2021-09-08 15:30:10 +02:00
2021-10-02 07:33:41 +02:00
2023-05-10 10:00:40 +02:00
2023-05-10 10:00:40 +02:00
2021-10-02 07:33:42 +02:00
2023-05-10 10:00:40 +02:00
2023-05-10 10:00:40 +02:00
2021-10-27 17:18:55 +02:00
2023-05-22 10:03:26 +02:00
2021-10-27 17:18:55 +02:00
2021-09-25 06:55:54 +02:00
2023-04-24 15:21:39 +02:00
2023-04-24 15:21:39 +02:00
2023-04-24 15:21:39 +02:00
2023-04-24 15:21:39 +02:00
2023-04-26 07:52:45 +02:00
2023-04-24 15:21:39 +02:00
2023-04-26 07:52:45 +02:00
2023-04-26 07:52:45 +02:00
2021-09-27 08:23:25 +02:00
2023-04-24 15:21:39 +02:00
2023-04-24 15:21:39 +02:00
2023-04-24 15:21:39 +02:00
2023-04-24 15:21:39 +02:00
2023-04-24 15:21:39 +02:00
2023-11-13 10:36:51 +01:00
2023-04-24 15:21:39 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2023-04-24 15:21:39 +02:00
2023-04-24 15:21:39 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2023-04-26 07:52:45 +02:00
2023-04-26 07:52:45 +02:00
2023-04-26 07:52:45 +02:00
2023-04-26 07:52:45 +02:00
2023-04-26 07:52:45 +02:00
2023-04-26 07:52:45 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00
2021-09-27 08:23:25 +02:00