Skip to content

Commit 84fd1d1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2ed05cd commit 84fd1d1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.actions/assistant.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@
1414
import glob
1515
import logging
1616
import os
17-
import pathlib
1817
import re
1918
import shutil
20-
import tarfile
2119
import tempfile
2220
import urllib.request
2321
from distutils.version import LooseVersion
@@ -437,7 +435,7 @@ def pull_docs_files(
437435
raise RuntimeError(f"Requesting file '{zip_url}' does not exist or it is just unavailable.")
438436

439437
with zipfile.ZipFile(zip_file, "r") as zip_ref:
440-
zip_ref.extractall(tmp) # noqa: S202
438+
zip_ref.extractall(tmp)
441439

442440
zip_dirs = [d for d in glob.glob(os.path.join(tmp, "*")) if os.path.isdir(d)]
443441
# check that the extracted archive has only repo folder

0 commit comments

Comments
 (0)