Although python is a dynamically typed language, type hints have been an integrated part for some time now (see for example the PEP https://peps.python.org/pep-0484/).
While not mandatory for functionality, type hints makes life easier in code editors and it opens up for running automatic checker such as mypy.
So far MPFB is mostly without type hints, although there are infrequent and spotty coverage here and there.
The service layer (src/mpfb/services) should obviously have a thorough coverage of type hints. The entities layer (src/mpfb/entities) would also benefit, although the nodemodel (src/mpfb/entities/nodemodel) should probably be out of scope.
Covering the ui layer with type hints seems like more effort than it would be worth.
Although python is a dynamically typed language, type hints have been an integrated part for some time now (see for example the PEP https://peps.python.org/pep-0484/).
While not mandatory for functionality, type hints makes life easier in code editors and it opens up for running automatic checker such as mypy.
So far MPFB is mostly without type hints, although there are infrequent and spotty coverage here and there.
The service layer (src/mpfb/services) should obviously have a thorough coverage of type hints. The entities layer (src/mpfb/entities) would also benefit, although the nodemodel (src/mpfb/entities/nodemodel) should probably be out of scope.
Covering the ui layer with type hints seems like more effort than it would be worth.