gootsaud / bike-riding

Loop variable used outside the loop PYL-W0631
Bug risk
Critical
a year agoa year old
Using possibly undefined loop variable 'prefix'
 713            if bytes < unit:
 714                return f"{base * bytes / unit:.1f} {prefix}"
 715
 716        return f"{base * bytes / unit:.1f} {prefix}" 717
 718
 719def do_pprint(value: t.Any) -> str:
Using possibly undefined loop variable 'prefix'
 713            if bytes < unit:
 714                return f"{base * bytes / unit:.1f} {prefix}"
 715
 716        return f"{base * bytes / unit:.1f} {prefix}" 717
 718
 719def do_pprint(value: t.Any) -> str: