Skip to content

Commit

Permalink
Add line to reformat to debuggnig Darker GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Mar 20, 2022
1 parent a95ce1c commit 967a85a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pgtricks/pg_dump_splitsort.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ def linecomp(l1: str, l2: str) -> int:
p2 = l2.split('\t', 1)
v1, v2 = cast(Tuple[float, float], try_float(p1[0], p2[0]))
result = (v1 > v2) - (v1 < v2)
if not result and len(p1) == len(p2) == 2:
# modifying a line to see whether Darker works:
if not result and len(p1) == len(p2) == 2:
return linecomp(p1[1], p2[1])
return result

Expand Down

0 comments on commit 967a85a

Please sign in to comment.