Re: [RFC 1/2] python: be more selective in hiding mypy subclassing warning

2025-04-15 Thread Thomas Huth
On 24/02/2025 20.11, Daniel P. Berrangé wrote: Use an annotation inline to the file instead of in setup.cfg This has the added advantage that the mypy checks now pass when using 'mypy /path/to/python/qemu' as well as 'mypy -p qemu'. Signed-off-by: Daniel P. Berrangé --- python/qemu/qmp/qmp_t

[RFC 1/2] python: be more selective in hiding mypy subclassing warning

2025-02-24 Thread Daniel P . Berrangé
Use an annotation inline to the file instead of in setup.cfg This has the added advantage that the mypy checks now pass when using 'mypy /path/to/python/qemu' as well as 'mypy -p qemu'. Signed-off-by: Daniel P. Berrangé --- python/qemu/qmp/qmp_tui.py| 12 ++-- python/qemu/utils/qom_