Skip to content

Commit 7c6ce9f

Browse files
committed
debugpy: Fix the EXE001 shebangs on the three top-level scripts.
`ruff check .` reports EXE001 on all three, and the rule is pointing at a real inconsistency rather than a style preference. `demo.py` and `test_vscode.py` are run as `micropython demo.py`, so `#!/usr/bin/env python3` names an interpreter that cannot run them; the line is removed. `dap_monitor.py` is a host-side CPython tool whose shebang is correct, so it becomes executable instead. Claude-Session: https://claude.ai/code Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
1 parent 1e43440 commit 7c6ce9f

3 files changed

Lines changed: 0 additions & 2 deletions

File tree

python-ecosys/debugpy/dap_monitor.py

100644100755
File mode changed.

python-ecosys/debugpy/demo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
"""Simple demo of MicroPython debugpy functionality."""
32

43
import sys

python-ecosys/debugpy/test_vscode.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
"""Test script for VS Code debugging with MicroPython debugpy."""
32

43
import sys

0 commit comments

Comments
 (0)