Summary
Rule function-call-in-default-argument (B008) reads, "Parameters with immutable type annotations will be ignored by this rule."
Python documentation reads, "The frozenset type is immutable."
However, this triggers B008:
def functionB008(anArgument: frozenset[str] = aFunction()) -> None:
pass
Playground
Version
v0.15.13
Summary
Rule function-call-in-default-argument (B008) reads, "Parameters with immutable type annotations will be ignored by this rule."
Python documentation reads, "The
frozensettype is immutable."However, this triggers B008:
Playground
Version
v0.15.13