[0/2] dts: update mypy and clean up

Message ID 20240509105704.1162449-1-luca.vizzarro@arm.com (mailing list archive)
Headers
Series dts: update mypy and clean up |

Message

Luca Vizzarro May 9, 2024, 10:57 a.m. UTC
  Hello,

sending in a couple of patches which:
- update mypy version & clears all the new warnings
- use the new Self type (backported through typing_extensions)
  which is now supported by mypy updated version

Best,
Luca

Luca Vizzarro (2):
  dts: update mypy static checker
  dts: clean up config types

 dts/framework/config/__init__.py              | 49 ++++++-----
 dts/framework/logger.py                       |  4 +-
 .../interactive_remote_session.py             |  4 +-
 .../remote_session/interactive_shell.py       |  2 +-
 dts/framework/remote_session/ssh_session.py   |  6 +-
 dts/framework/runner.py                       | 14 +--
 dts/framework/test_result.py                  |  4 +-
 dts/framework/test_suite.py                   |  6 +-
 dts/framework/testbed_model/tg_node.py        |  2 +-
 .../traffic_generator/__init__.py             |  8 +-
 .../capturing_traffic_generator.py            |  4 +-
 .../testbed_model/traffic_generator/scapy.py  |  6 +-
 .../traffic_generator/traffic_generator.py    |  2 +-
 dts/framework/utils.py                        |  2 +-
 dts/poetry.lock                               | 86 +++++++++++--------
 dts/pyproject.toml                            |  3 +-
 dts/tests/TestSuite_os_udp.py                 |  4 +-
 dts/tests/TestSuite_pmd_buffer_scatter.py     |  8 +-
 18 files changed, 117 insertions(+), 97 deletions(-)