Skip to content

Commit b437757

Browse files
committed
Fix PEP8
1 parent dcb6ffe commit b437757

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

bandit/plugins/huggingface_unsafe_download.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,14 @@
2828
- ``AutoTokenizer.from_pretrained("org/model-name", revision="main")``
2929
- ``AutoTokenizer.from_pretrained("org/model-name", revision="v3.3.0")``
3030
- ``hf_hub_download(repo_id="org/model_name", filename="file_name")``
31-
- ``hf_hub_download(repo_id="org/model_name", filename="file_name", revision="main")``
32-
- ``hf_hub_download(repo_id="org/model_name", filename="file_name", revision="v2.0.0")``
31+
- ``hf_hub_download(repo_id="org/model_name",
32+
filename="file_name",
33+
revision="main"
34+
)``
35+
- ``hf_hub_download(repo_id="org/model_name",
36+
filename="file_name",
37+
revision="v2.0.0"
38+
)``
3339
- ``snapshot_download(repo_id="org/model_name")``
3440
- ``snapshot_download(repo_id="org/model_name", revision="main")``
3541
- ``snapshot_download(repo_id="org/model_name", revision="refs/pr/1")``

0 commit comments

Comments
 (0)