[PATCH 0/2] dts: update mypy and clean up
Luca Vizzarro
luca.vizzarro at arm.com
Thu May 9 12:57:02 CEST 2024
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(-)
--
2.34.1
More information about the dev
mailing list