gootsaud / bike-riding

Function or method is being redefined PYL-E0102
Bug risk
8 months ago8 months old
function already defined line 885
 908                    "either extensions or filter_func can be passed, but not both"
 909                )
 910
 911            def filter_func(x: str) -> bool: 912                return "." in x and x.rsplit(".", 1)[1] in extensions  # type: ignore
 913
 914        if filter_func is not None:
function already defined line 1393
1415
1416                if pass_arg == "environment":
1417
1418                    def finalize(value: t.Any) -> t.Any:1419                        return default(env_finalize(self.environment, value))
1420
1421        self._finalize = self._FinalizeInfo(finalize, src)
function already defined line 1393
1407
1408            if pass_arg is None:
1409
1410                def finalize(value: t.Any) -> t.Any:1411                    return default(env_finalize(value))
1412
1413            else: