Skip to content

Commit 72bcf19

Browse files
committed
cont : fix lint
1 parent 0776778 commit 72bcf19

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.flake8

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ exclude =
55
# Do not traverse examples and tools
66
examples,
77
tools,
8-
scripts,
98
# Do not include package initializers
109
__init__.py,
1110
# No need to traverse our git directory

scripts/sync_vendor.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
#!/usr/bin/env python3
22

3+
import urllib.request
4+
35
vendor = {
46
"https://github.com/nlohmann/json/releases/latest/download/json.hpp": "common/nlohmann/json.hpp",
57

68
# sync manually
7-
#"https://raw.githubusercontent.com/ochafik/minja/refs/heads/main/include/minja/minja.hpp": "common/minja/minja.hpp",
8-
#"https://raw.githubusercontent.com/ochafik/minja/refs/heads/main/include/minja/chat-template.hpp": "common/minja/chat-template.hpp",
9+
# "https://raw.githubusercontent.com/ochafik/minja/refs/heads/main/include/minja/minja.hpp": "common/minja/minja.hpp",
10+
# "https://raw.githubusercontent.com/ochafik/minja/refs/heads/main/include/minja/chat-template.hpp": "common/minja/chat-template.hpp",
911

1012
"https://raw.githubusercontent.com/nothings/stb/refs/heads/master/stb_image.h": "tools/mtmd/vendor/stb_image.h",
1113

@@ -14,9 +16,6 @@
1416
"https://raw.githubusercontent.com/yhirose/cpp-httplib/refs/tags/v0.20.1/httplib.h": "tools/server/httplib.h",
1517
}
1618

17-
import urllib.request
18-
1919
for url, filename in vendor.items():
20-
print(f"downloading {url} to {filename}")
20+
print(f"downloading {url} to {filename}") # noqa: NP100
2121
urllib.request.urlretrieve(url, filename)
22-

0 commit comments

Comments
 (0)