Skip to content

Commit

Permalink
fix: Format with black
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisklein committed Nov 8, 2024
1 parent dc8e2e0 commit 149205f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions generate_test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
description="Generates n lines of sleep() statements within the specified rang",
)

parser.add_argument("-n", default=100, type=int, help="Number of lines to generate")
parser.add_argument(
"-n", default=100, type=int, help="Number of lines to generate"
)
parser.add_argument(
"-t",
default="0.5-5",
Expand All @@ -27,4 +29,6 @@
if random.random() < false_probability:
print("false")
else:
print("sleep " + str(round(random.uniform(lower_bound, upper_bound), 2)))
print(
"sleep " + str(round(random.uniform(lower_bound, upper_bound), 2))
)

0 comments on commit 149205f

Please sign in to comment.