Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 20, 2023
1 parent 46e851e commit 52ad33a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/split_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def loop_from_filename(filename: str):
value = __value_from_filename(filename, "@@", 1)

# Loop should always be positive
return value if value >= 1 else 1
return max(value, 1)


def comparison_method_from_filename(filename: str):
Expand Down

0 comments on commit 52ad33a

Please sign in to comment.