Skip to content

Commit 2a5c9c4

Browse files
Fix pylint test error (#416)
1 parent 47a46f1 commit 2a5c9c4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pylintrc

+3-3
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,6 @@ valid-metaclass-classmethod-first-arg=mcs
436436

437437
# Exceptions that will emit a warning when being caught. Defaults to
438438
# "Exception"
439-
overgeneral-exceptions=StandardError,
440-
Exception,
441-
BaseException
439+
overgeneral-exceptions=builtins.StandardError,
440+
builtins.Exception,
441+
builtins.BaseException

gli/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def download_file_from_google_drive(g_url: str,
100100
os.makedirs(root, exist_ok=True)
101101

102102
url = "https://drive.google.com/uc"
103-
params = dict(id=file_id, export="download")
103+
params = {"id": file_id, "export": "download"}
104104
with requests.Session() as session:
105105
response = session.get(url, params=params, stream=True)
106106

0 commit comments

Comments
 (0)