Open KotlinIsland opened 5 months ago
Errors that only appear on uncommitted code. Errors won't show for lines that are committed.
I suppose any rule could be configured to this level, but one rule that would be default is "type could be wider/narrower"
def f(a: str): # error: type could be wider: "object" print(a) def f(l: list[object]): # error: type could be narrower: "Sequence[object]" print(l[0])
related (but different use case): #2
Errors that only appear on uncommitted code. Errors won't show for lines that are committed.
I suppose any rule could be configured to this level, but one rule that would be default is "type could be wider/narrower"