Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def validate(self):

# First, check if there are any tracked changes by Claude to validate
try:
import xml.etree.ElementTree as ET
import defusedxml.etree.ElementTree as ET

tree = ET.parse(modified_file)
root = tree.getroot()
Expand Down Expand Up @@ -81,7 +81,7 @@ def validate(self):

# Parse both XML files using xml.etree.ElementTree for redlining validation
try:
import xml.etree.ElementTree as ET
import defusedxml.etree.ElementTree as ET

modified_tree = ET.parse(modified_file)
modified_root = modified_tree.getroot()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def validate(self):

# First, check if there are any tracked changes by Claude to validate
try:
import xml.etree.ElementTree as ET
import defusedxml.etree.ElementTree as ET

tree = ET.parse(modified_file)
root = tree.getroot()
Expand Down Expand Up @@ -79,9 +79,9 @@ def validate(self):
)
return False

# Parse both XML files using xml.etree.ElementTree for redlining validation
# Parse both XML files using defusedxml for redlining validation
try:
import xml.etree.ElementTree as ET
import defusedxml.etree.ElementTree as ET

modified_tree = ET.parse(modified_file)
modified_root = modified_tree.getroot()
Expand Down
2 changes: 1 addition & 1 deletion mini_agent/skills/mcp-builder/scripts/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import sys
import time
import traceback
import xml.etree.ElementTree as ET
import defusedxml.etree.ElementTree as ET
from pathlib import Path
from typing import Any

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dependencies = [
"pipx>=1.8.0",
"anthropic>=0.39.0",
"openai>=1.57.4",
"defusedxml>=0.7.1",
"agent-client-protocol>=0.6.0",
]

Expand Down