Skip to content

Commit 708381c

Browse files
committed
ci: fix sonar issues
1 parent 6448c7c commit 708381c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

leetcode_py/tools/generator.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,11 @@ def convert_arrays_to_nested(self, data: Dict[str, Any]) -> Dict[str, Any]:
137137
"""Convert arrays to cookiecutter-friendly nested format."""
138138
extra_context = data.copy()
139139
array_fields = [
140-
# "examples",
141-
# "test_cases",
142140
"tags",
143141
"readme_examples",
144142
"solution_methods",
145143
"test_helper_methods",
146-
"test_methods", # New format
144+
"test_methods",
147145
]
148146
for field in array_fields:
149147
if field in data and isinstance(data[field], list):

0 commit comments

Comments
 (0)