Added type annotations to various functions and methods within the mantidimaging/gui/windows directory to enhance type safety and improve code maintainability. These annotations ensure clearer function signatures and better compatibility with Python type checkers like mypy.
Testing
Type annotations do not introduce runtime errors.
Functionality across affected modules remains intact.
All affected code paths are covered by existing unit tests.
Acceptance Criteria
Mannual testing
No linting errors related to type annotations.
No type-related runtime errors occur during testing.
All affected code paths are adequately covered by existing tests.
coverage: 73.144%. remained the same
when pulling 55107924ebe872e46dd83f72bd031a1666b5397e on Type_annoations_windows
into 24fbed6bcf4c8cf93fd6bbc700d29f748626acb1 on main.
Description
Added type annotations to various functions and methods within the mantidimaging/gui/windows directory to enhance type safety and improve code maintainability. These annotations ensure clearer function signatures and better compatibility with Python type checkers like mypy.
Testing
Type annotations do not introduce runtime errors. Functionality across affected modules remains intact. All affected code paths are covered by existing unit tests.
Acceptance Criteria
Mannual testing No linting errors related to type annotations. No type-related runtime errors occur during testing. All affected code paths are adequately covered by existing tests.