My question is different because I made a mistake using type hint.
I found a weird type hinging in pycharm:
Accoring to official PEP to denote list of objects you should use typing.List, not list builtin.
from typing import List
def f(seq: List[Something]): # no warning
for o in seq: