We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ed05cd commit 84fd1d1Copy full SHA for 84fd1d1
.actions/assistant.py
@@ -14,10 +14,8 @@
14
import glob
15
import logging
16
import os
17
-import pathlib
18
import re
19
import shutil
20
-import tarfile
21
import tempfile
22
import urllib.request
23
from distutils.version import LooseVersion
@@ -437,7 +435,7 @@ def pull_docs_files(
437
435
raise RuntimeError(f"Requesting file '{zip_url}' does not exist or it is just unavailable.")
438
436
439
with zipfile.ZipFile(zip_file, "r") as zip_ref:
440
- zip_ref.extractall(tmp) # noqa: S202
+ zip_ref.extractall(tmp)
441
442
zip_dirs = [d for d in glob.glob(os.path.join(tmp, "*")) if os.path.isdir(d)]
443
# check that the extracted archive has only repo folder
0 commit comments