代码拉取完成,页面将自动刷新
GIT_ROOT ?= $(shell git rev-parse --show-toplevel)
help: ## Show all Makefile targets.
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[33m%-30s\033[0m %s\n", $$1, $$2}'
format: ## Run code autoformatters (black).
pre-commit install
git ls-files | xargs pre-commit run black --files
lint: ## Run linters: pre-commit (black, ruff, codespell) and mypy
pre-commit install && git ls-files | xargs pre-commit run --show-diff-on-failure --files
test: ## Run tests via pants
pants --no-local-cache --changed-since=origin/main --changed-dependents=transitive test
test-core: ## Run tests via pants
pants --no-local-cache test llama-index-core/::
test-integrations: ## Run tests via pants
pants --no-local-cache test llama-index-integrations/::
test-finetuning: ## Run tests via pants
pants --no-local-cache test llama-index-finetuning/::
test-experimental: ## Run tests via pants
pants --no-local-cache test llama-index-experimental/::
test-packs: ## Run tests via pants
pants --no-local-cache test llama-index-packs/::
watch-docs: ## Build and watch documentation.
sphinx-autobuild docs/ docs/_build/html --open-browser --watch $(GIT_ROOT)/llama_index/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。