代码拉取完成,页面将自动刷新
.PHONY: quality style test
check_dirs := src tests utils setup.py
quality:
ruff check $(check_dirs) # linter
ruff format --check $(check_dirs) # formatter
python utils/check_inference_input_params.py
python utils/check_static_imports.py
python utils/check_all_variable.py
python utils/generate_async_inference_client.py
python utils/generate_cli_reference.py
ty check src
style:
ruff format $(check_dirs) # formatter
ruff check --fix $(check_dirs) # linter
python utils/check_static_imports.py --update
python utils/check_all_variable.py --update
python utils/generate_async_inference_client.py --update
python utils/generate_cli_reference.py --update
inference_check:
python utils/generate_inference_types.py
python utils/check_task_parameters.py
inference_update:
python utils/generate_inference_types.py --update
python utils/check_task_parameters.py --update
repocard:
python utils/push_repocard_examples.py
test:
pytest ./tests/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。