File tree Expand file tree Collapse file tree 7 files changed +528
-9
lines changed Expand file tree Collapse file tree 7 files changed +528
-9
lines changed Original file line number Diff line number Diff line change 4040 - run : .venv/bin/python utils/check_contrib_list.py
4141 - run : .venv/bin/python utils/check_inference_input_params.py
4242 - run : .venv/bin/python utils/check_static_imports.py
43+ - run : .venv/bin/python utils/check_all_variable.py
4344 - run : .venv/bin/python utils/generate_async_inference_client.py
4445 - run : .venv/bin/python utils/generate_inference_types.py
4546 - run : .venv/bin/python utils/check_task_parameters.py
Original file line number Diff line number Diff line change 11include src/huggingface_hub/templates/modelcard_template.md
22include src/huggingface_hub/templates/datasetcard_template.md
3+ include src/huggingface_hub/py.typed
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ quality:
1010 python utils/check_inference_input_params.py
1111 python utils/check_contrib_list.py
1212 python utils/check_static_imports.py
13+ python utils/check_all_variable.py
1314 python utils/generate_async_inference_client.py
1415
1516 mypy src
1920 ruff check --fix $(check_dirs ) # linter
2021 python utils/check_contrib_list.py --update
2122 python utils/check_static_imports.py --update
23+ python utils/check_all_variable.py --update
2224 python utils/generate_async_inference_client.py --update
2325
2426inference_check :
Original file line number Diff line number Diff line change @@ -138,4 +138,5 @@ def get_version() -> str:
138138 "Topic :: Scientific/Engineering :: Artificial Intelligence" ,
139139 ],
140140 include_package_data = True ,
141+ package_data = {"huggingface_hub" : ["py.typed" ]}, # Needed for wheel installation
141142)
You can’t perform that action at this time.
0 commit comments