Skip to content

Commit

Permalink
fix incorrect blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfromearth committed Sep 19, 2023
1 parent 50acd08 commit 759a393
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ncompare/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,8 @@ def _print_group_details_side_by_side(
)

# Count the number of variables in this group as long as this group exists.
vars_a_sorted, vars_b_sorted = [""], [""]
vars_a_sorted: Union[list, str] = ""
vars_b_sorted: Union[list, str] = ""
if group_a:
vars_a_sorted = sorted(group_a.variables)
if group_b:
Expand Down
2 changes: 1 addition & 1 deletion ncompare/sequence_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def common_elements(


def count_diffs(
list_a: Union[list[str], list[int]], list_b: Union[list[str], list[int]]
list_a: Union[list[str], list[int], str], list_b: Union[list[str], list[int], str]
) -> tuple[int, int, int]:
"""Count how many elements are either uniquely in one list or the other, or in both.
Expand Down

0 comments on commit 759a393

Please sign in to comment.