add type hints for "mypy --strict-optional" complaints
add type hints for "mypy --strict-optional" complaints

mikr/whatstyle,mikr/whatstyle,mikr/whatstyle,mikr/whatstyle,mikr/whatstyle,mikr/whatstyle,mikr/whatstyle,mikr/whatstyle,mikr/whatstyle