Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
9ff01a08
"include/vscode:/vscode.git/clone" did not exist on "44be91d3d15b485aed091f920e863545a8765489"
Unverified
Commit
9ff01a08
authored
Jun 09, 2021
by
Anirudh
Committed by
GitHub
Jun 09, 2021
Browse files
Install missing stubs for mypy (#4014)
parent
69f2e1b3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
.circleci/config.yml
.circleci/config.yml
+1
-0
.circleci/config.yml.in
.circleci/config.yml.in
+1
-0
torchvision/datasets/utils.py
torchvision/datasets/utils.py
+1
-1
No files found.
.circleci/config.yml
View file @
9ff01a08
...
...
@@ -205,6 +205,7 @@ jobs:
sudo apt-get update -y
sudo apt install -y libturbojpeg-dev
pip install --user --progress-bar off mypy
pip install --user --progress-bar off types-requests
pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
pip install --user --progress-bar off --editable .
mypy --config-file mypy.ini
...
...
.circleci/config.yml.in
View file @
9ff01a08
...
...
@@ -205,6 +205,7 @@ jobs:
sudo apt-get update -y
sudo apt install -y libturbojpeg-dev
pip install --user --progress-bar off mypy
pip install --user --progress-bar off types-requests
pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
pip install --user --progress-bar off --editable .
mypy --config-file mypy.ini
...
...
torchvision/datasets/utils.py
View file @
9ff01a08
...
...
@@ -201,7 +201,7 @@ def download_file_from_google_drive(file_id: str, root: str, filename: Optional[
md5 (str, optional): MD5 checksum of the download. If None, do not check
"""
# Based on https://stackoverflow.com/questions/38511444/python-download-files-from-google-drive-using-url
import
requests
# type: ignore
import
requests
url
=
"https://docs.google.com/uc?export=download"
root
=
os
.
path
.
expanduser
(
root
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment