Skip to content

Commit a233b20

Browse files
committed
Fix CI validation: Improve f-string detection and README title
Fixes: 1. Updated CI f-string detection pattern to avoid false positives - Old: grep -r caught strings like "on/off" (false positive) - New: More precise regex pattern for actual f-strings - Pattern looks for f-strings preceded by space, =, (, or comma - Verified: Catches actual f-strings, ignores false positives 2. Fixed README.md title formatting - Changed: Missing space after # in title - To: Proper markdown formatting with ClaudeMCP prefix Testing: - Verified pattern does not match false positives - Verified pattern DOES match actual f-string syntax - All local CI checks pass
1 parent 845b5f1 commit a233b20

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
- name: Validate Python syntax (Python 2.7 compatibility check)
2727
run: |
2828
echo "Checking Python 2.7 syntax compatibility..."
29-
# Check for common Python 3 syntax that breaks Python 2.7
30-
! grep -r "f'" ClaudeMCP_Remote/ || (echo "Found f-strings (not compatible with Python 2.7)" && exit 1)
31-
! grep -r 'f"' ClaudeMCP_Remote/ || (echo "Found f-strings (not compatible with Python 2.7)" && exit 1)
29+
# Check for f-strings (more precise pattern to avoid false positives)
30+
# Look for f" or f' preceded by =, (, comma, or space
31+
! grep -rE '(\s|=|\(|,)f["'"'"']' ClaudeMCP_Remote/ || (echo "Found f-strings (not compatible with Python 2.7)" && exit 1)
3232
echo "✓ No obvious Python 2.7 incompatibilities found"
3333
3434
- name: Check for common issues

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Remote Script for Ableton Live
1+
# ClaudeMCP Remote Script for Ableton Live
22

33
A comprehensive Python Remote Script for Ableton Live that exposes **220 LiveAPI tools** via a simple TCP socket interface. Control every aspect of your Ableton Live session programmatically - from playback and recording to tracks, clips, devices, MIDI notes, and Max for Live / CV Tools devices.
44

0 commit comments

Comments
 (0)