mantidproject / mantidimaging

Graphical toolkit for neutron imaging.
https://mantidproject.github.io/mantidimaging
GNU General Public License v3.0
10 stars 6 forks source link

Added Type checking to the liveviewer and recon #2252

Open ashmeigh opened 4 days ago

ashmeigh commented 4 days ago

Description

Added type annotations to various files 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 adequately covered by existing unit tests.

Acceptance Criteria

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.