Avoid mutable default function arguments
Mutable defaults in function signatures retain state across calls.
#Metadata
#Why it matters
Reusing the same list, dict, or set instance can leak data between calls and produce non-deterministic behavior.
#Remediation
Use `None` as the default and construct a fresh mutable object inside the function.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/python/py.correctness.dangerous-mutable-default.rule.yaml.