Skip to content

Commit aed8f3e

Browse files
style(csv): format files with black
1 parent 435a389 commit aed8f3e

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

application/utils/spreadsheet_parsers.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,15 @@ def is_empty(value: Optional[str]) -> bool:
135135
)
136136

137137

138-
def validate_export_csv_rows(rows: List[Dict[str, Any]]) -> List[Dict[str, Any]]:
138+
def validate_import_csv_rows(rows: List[Dict[str, Any]]) -> List[Dict[str, Any]]:
139+
"""
140+
Entry point for parsing imported CSV files.
141+
142+
CSV validation is handled at the parser level.
143+
Structural and row-level validation rules are implemented in
144+
"validate_import_csv_rows", which is invoked internally
145+
before parsing proceeds.
146+
"""
139147
if not rows:
140148
raise ValueError("Invalid CSV format or missing data rows")
141149

0 commit comments

Comments
 (0)