refactor(lib): extract large inline python blocks to lib_py package and optimize abstraction layer
This commit is contained in:
+3
-3
@@ -69,14 +69,14 @@ jobs:
|
||||
- name: Run Flake8 (Syntax/Error Check)
|
||||
run: |
|
||||
echo "🔍 Checking Python syntax with flake8..."
|
||||
flake8 .agents/skills/multi-agent-mux-delegate-job/scripts/ --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
flake8 .agents/skills/multi-agent-mux-delegate-job/scripts/ .agents/skills/lib_py/ --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
||||
flake8 .agents/skills/multi-agent-mux-delegate-job/scripts/ --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
flake8 .agents/skills/multi-agent-mux-delegate-job/scripts/ .agents/skills/lib_py/ --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
|
||||
- name: Run Python Syntax Check (Compile test)
|
||||
run: |
|
||||
echo "🔍 Verifying Python file compilation..."
|
||||
python -m py_compile .agents/skills/multi-agent-mux-delegate-job/scripts/*.py
|
||||
python -m py_compile .agents/skills/multi-agent-mux-delegate-job/scripts/*.py .agents/skills/lib_py/*.py
|
||||
echo "✅ All Python files compiled successfully."
|
||||
|
||||
test:
|
||||
|
||||
@@ -82,6 +82,7 @@ if [ -f "$MANIFEST_FILE" ]; then
|
||||
else
|
||||
fallback_assets=(
|
||||
".agents/skills/lib.sh"
|
||||
".agents/skills/lib_py"
|
||||
".agents/skills/multi-agent-mux-create"
|
||||
".agents/skills/multi-agent-mux-delegate-job"
|
||||
".agents/skills/multi-agent-mux-loop"
|
||||
|
||||
Reference in New Issue
Block a user