Skip to content

Commit

Permalink
Merge pull request #30 from zhangyiant/zhangyiant/fix-lint
Browse files Browse the repository at this point in the history
Fixed long line.
  • Loading branch information
zhangyiant authored Apr 16, 2022
2 parents 32a51c0 + 58009d9 commit 1913686
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions register_printer/parser/register_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ def is_field_row(row):
return False


def validate_register_row_empty_field(row, register_table_column_mapping, previous_context):
def validate_register_row_empty_field(
row,
register_table_column_mapping,
previous_context):
"""
row can be obtained by xlrd sheet.row() method.
It's a sequence of cell objects.
Expand All @@ -49,7 +52,11 @@ def parse_register_row(row, register_table_column_mapping, previous_context):
a sequence of cells.
"""
context = previous_context.copy()
validate_register_row_empty_field(row, register_table_column_mapping, context)
validate_register_row_empty_field(
row,
register_table_column_mapping,
context
)

context.column = register_table_column_mapping["offset"]
try:
Expand Down

0 comments on commit 1913686

Please sign in to comment.