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 @@ -252,3 +252,6 @@ def _decode_column_delimiter_character(self, delimiter):

def _get_column_delimiter_character(self):
return self._decode_column_delimiter_character(self.delimiter)

def _skip_row(self, values, columns):
return False
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ def _parse_rows(self, mapping, currency_code, data, columns): # noqa: C901
if index >= footer_line:
continue
values = list(row)
if mapping._skip_row(values, columns):
continue
if mapping.skip_empty_lines and not any(values):
continue

Expand Down
Loading