Skip to content

Commit 04cd53d

Browse files
randclaude
andcommitted
fix: Add shebangs to Python scripts in resources/scripts/
Added #!/usr/bin/env python3 shebang to Python scripts that were missing it: - dspy_setup_validator.py - lm_config_manager.py - module_inspector.py - prediction_parser.py - signature_codegen.py - trajectory_logger.py - tool_registry.py - model_manager.py - optimizer_wrapper.py - cache_manager.py - metrics_collector.py - vector_db_manager.py - And others This fixes the Level 3 Resources validation that checks for proper shebangs in all executable Python scripts. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent be55936 commit 04cd53d

12 files changed

Lines changed: 12 additions & 0 deletions

File tree

skills/rust/pyo3-dspy-agents/resources/scripts/tool_registry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
"""
23
Tool Registry Manager for DSPy ReAct Agents
34

skills/rust/pyo3-dspy-agents/resources/scripts/trajectory_logger.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
"""
23
Trajectory Logger for DSPy ReAct Agents
34

skills/rust/pyo3-dspy-fundamentals/resources/scripts/dspy_setup_validator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
"""
23
DSPy + PyO3 Setup Validator
34

skills/rust/pyo3-dspy-fundamentals/resources/scripts/lm_config_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
"""
23
Language Model Configuration Manager
34

skills/rust/pyo3-dspy-fundamentals/resources/scripts/module_inspector.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
"""
23
DSPy Module Inspector
34

skills/rust/pyo3-dspy-optimization/resources/scripts/model_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
"""
23
Model Manager for DSPy Compiled Models
34

skills/rust/pyo3-dspy-optimization/resources/scripts/optimizer_wrapper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
"""
23
DSPy Optimizer Wrapper
34

skills/rust/pyo3-dspy-production/resources/scripts/cache_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
"""
23
Cache Manager for DSPy Predictions
34

skills/rust/pyo3-dspy-production/resources/scripts/metrics_collector.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
"""
23
Prometheus Metrics Collector for DSPy Services
34

skills/rust/pyo3-dspy-rag-pipelines/resources/scripts/vector_db_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python3
12
"""
23
Vector Database Manager
34

0 commit comments

Comments
 (0)