Skip to content

Added return type for functions that have variable annotations

Luis Aleixo requested to merge feature/signature_type into master

With the newest mypy update there is a validation for variable annotations within a function without a signature - https://github.com/home-assistant/core/pull/81783

Since we have some variables through the code with annotations, this MR adds the respective signatures for the methods these variables are defined in. In most of the cases the return type is `None'.

Edited by Luis Aleixo

Merge request reports