Skip to content
Merged
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
8 changes: 3 additions & 5 deletions dev_requirements/requirements-linting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
#
# pip-compile-multi
#
astroid==3.1.0
# via pylint
colorama==0.4.6
astroid==3.2.2
# via pylint
dill==0.3.8
# via pylint
Expand All @@ -17,7 +15,7 @@ mccabe==0.7.0
# via pylint
platformdirs==4.2.1
# via pylint
pylint==3.1.0
# via -r dev_requirements\requirements-linting.in
pylint==3.2.5
# via -r dev_requirements/requirements-linting.in
tomlkit==0.12.4
# via pylint
7 changes: 5 additions & 2 deletions src/ebdamame/docxtableconverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ def _handle_single_table(
boolean_outcome, subsequent_step_number = _read_subsequent_step_cell(
enhanced_table_row.cells[len(use_cases) + self._column_index_check_result]
)
if step_number.endswith("*"):
if step_number.endswith("*"): # pylint:disable=possibly-used-before-assignment
# step number is defined and set at this point, because the enhanced list view always starts with UPPER
self._handle_single_table_star_exception(table, multi_step_instructions, row_offset, rows, row_index)
break
sub_row = EbdTableSubRow(
Expand All @@ -262,7 +263,9 @@ def _handle_single_table(
sub_rows.append(sub_row)
if enhanced_table_row.sub_row_position == _EbdSubRowPosition.LOWER:
row = EbdTableRow(
description=description,
description=description, # pylint:disable=possibly-used-before-assignment
# description is defined and set at this point because the enhanced list view always starts with
# UPPER. Hence, the second iteration of the outer for loop is the earlist we try access it.
step_number=step_number,
sub_rows=sub_rows,
use_cases=use_cases or None,
Expand Down