kconfig-hardened-check icon indicating copy to clipboard operation
kconfig-hardened-check copied to clipboard

Add some lightweight typing

Open jvoisin opened this issue 10 months ago • 0 comments

This is a first quick pass over the codebase. If having better typing is something desirable, I'll do another more comprehensive one.

Having typing makes it easier to understand what's going on in the code, eg. "this function called colorize_result it taking either a str or None, and is returning either a str or None, so odds are that it's handling error conditions properly." It also makes the life of IDE/static analyzers/… easier.

jvoisin avatar Apr 15 '24 12:04 jvoisin