Closed chemelli74 closed 2 years ago
I have to admit that I'm not a fan of type hints. It makes the code look ugly and doesn't help very much – at least as you are not at Dropbox porting millions of lines from Python 2 to 3. Can help on larger projects, but fritzconnection isn't a large project. Also type errors are a very minor issue, if any. So I like to postpone this idea.
Fine for me; take only care that every day one more HA core integration is strictly typed. For now HA allows any return type, but sooner or later it will be required to strict typing libraries.
Simone
If you are not considering this proposal, please go ahead and close the PR.
Thank you,
Simone
Strict typing not enforced as time of writing.
This PR aim to get strict typing for the library