Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix(dev): handle empty pyrefly target paths (#36325)
-LAN-59e96fbb2aae
diff --git a/dev/pyrefly-check-local b/dev/pyrefly-check-localindex e29dfe49e07..be782306625 100755--- a/dev/pyrefly-check-local+++ b/dev/pyrefly-check-local@@ -34,8 +34,16 @@ if [[ -f "$EXCLUDES_FILE" ]]; thenfitmp_output="$(mktemp)"+pyrefly_command=(+ uv run --directory api --dev pyrefly check+ "${pyrefly_args[@]}"+)+if (( ${#target_paths[@]} > 0 )); then+ pyrefly_command+=("${target_paths[@]}")+fi+set +e-uv run --directory api --dev pyrefly check "${pyrefly_args[@]}" "${target_paths[@]}" >"$tmp_output" 2>&1+"${pyrefly_command[@]}" >"$tmp_output" 2>&1pyrefly_status=$?set -e