Line too long (90 > 79 characters):
4 specifically, https://github.com/pytorch/vision/blob/master/torchvision/datasets/utils.py.Line too long (96 > 79 characters):
83 def download_url(url: str, root: str, filename: Optional[str] = None, md5: Optional[str] = None,Line too long (99 > 79 characters):
90 filename (str, optional): Name to save the file under. If None, use the basename of the URLLine too long (80 > 79 characters):
91 md5 (str, optional): MD5 checksum of the download. If None, do not checkLine too long (83 > 79 characters):
112 except (urllib.error.URLError, IOError) as e: # type: ignore[attr-defined]Line too long (85 > 79 characters):
133 prefix (bool, optional): If true, prepends the path to each result, otherwiseLine too long (87 > 79 characters):
137 directories = [p for p in os.listdir(root) if os.path.isdir(os.path.join(root, p))]Line too long (93 > 79 characters):
148 suffix (str or tuple): Suffix of the files to match, e.g. '.png' or ('.jpg', '.png').Line too long (85 > 79 characters):
150 prefix (bool, optional): If true, prepends the path to each result, otherwiseLine too long (105 > 79 characters):
154 files = [p for p in os.listdir(root) if os.path.isfile(os.path.join(root, p)) and p.endswith(suffix)]Line too long (96 > 79 characters):
160 def _quota_exceeded(response: "requests.models.Response") -> bool: # type: ignore[name-defined]Line too long (120 > 79 characters):
164 def download_file_from_google_drive(file_id: str, root: str, filename: Optional[str] = None, md5: Optional[str] = None):Line too long (95 > 79 characters):
170 filename (str, optional): Name to save the file under. If None, use the id of the file.Line too long (80 > 79 characters):
171 md5 (str, optional): MD5 checksum of the download. If None, do not checkLine too long (109 > 79 characters):
173 # Based on https://stackoverflow.com/questions/38511444/python-download-files-from-google-drive-using-urlLine too long (108 > 79 characters):
207 def _get_confirm_token(response: "requests.models.Response") -> Optional[str]: # type: ignore[name-defined]Line too long (118 > 79 characters):
216 response: "requests.models.Response", destination: str, chunk_size: int = 32768, # type: ignore[name-defined]Line too long (106 > 79 characters):
253 def extract_archive(from_path: str, to_path: Optional[str] = None, remove_finished: bool = False) -> None:Line too long (89 > 79 characters):
267 to_path = os.path.join(to_path, os.path.splitext(os.path.basename(from_path))[0])Line too long (112 > 79 characters):
310 value: T, arg: Optional[str] = None, valid_values: Iterable[T] = None, custom_msg: Optional[str] = None,