Skip to content

Commit

Permalink
sfsdfd
Browse files Browse the repository at this point in the history
  • Loading branch information
hf-kklein committed May 17, 2024
1 parent 508d584 commit 07aa241
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/kohlrahbi/ahbtable/ahbtablerow.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ def parse(
dtype="str",
)
# pylint: disable=unsubscriptable-object, no-member
empty_row: pd.Series = pd.Series(
empty_row: pd.Series = pd.Series( # type:ignore[type-arg]
len(ahb_row_dataframe.columns) * [""], index=self.seed.column_headers
) # type:ignore[type-arg]
)

ahb_row_dataframe = pd.concat([ahb_row_dataframe, empty_row.to_frame().T], ignore_index=True)

Expand Down
2 changes: 1 addition & 1 deletion src/kohlrahbi/read_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def process_table(
ahb_sub_table = AhbSubTable.from_headless_table(docx_table=item, tmd=seed)
ahb_table.append_ahb_sub_table(ahb_sub_table=ahb_sub_table)
# actually, the ahb_table is none here (see test_kohlrahbi_cli_with_valid_arguments)
return searched_pruefi_is_found, ahb_table
return searched_pruefi_is_found, ahb_table # type:ignore[return-value]


# Logging functions
Expand Down

0 comments on commit 07aa241

Please sign in to comment.