chore(conductor): Finalize track 'Robust JSON Parsing for Tech Lead' and cleanup static analysis

This commit is contained in:
2026-03-06 12:36:24 -05:00
parent dc1b0d0fd1
commit 84de6097e6
3 changed files with 9 additions and 10 deletions

View File

@@ -1,9 +1,9 @@
import os
import glob
pattern = 'sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "src")))'
replacement = pattern + '\nsys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "src")))'
# Correcting the pattern definition to be syntactically valid
pattern = "sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), \"..\")))"
replacement = pattern + "\nsys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), \"..\", \"src\")))"
# Files to update
files = glob.glob("tests/*.py") + glob.glob("simulation/*.py") + glob.glob("scripts/*.py")