You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PERF203 should only trigger when there’s no loop flow control (break, continue) in the try-catch statement. E.g. I don’t think there’s a better way to write the following:
for repo in ['R-patched', 'cran', 'bioc']:
try:
pkg_cache = self._fetch_cache(repo, pkg)
break
except HTTPError:
pass
else:
return None
The text was updated successfully, but these errors were encountered:
Copied from #4789 (comment):
PERF203 should only trigger when there’s no loop flow control (break, continue) in the try-catch statement. E.g. I don’t think there’s a better way to write the following:
The text was updated successfully, but these errors were encountered: