File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
22
3+ import urllib .request
4+
35vendor = {
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
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-
1919for 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-
You can’t perform that action at this time.
0 commit comments