Skip to content

Commit

Permalink
Add type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbaldwin44 committed Jul 31, 2024
1 parent 6200118 commit 25922e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion locust/argument_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def wait_for_reply():
return msg.data.get("locustfiles", [])


def parse_locustfiles_from_master(locustfile_sources):
def parse_locustfiles_from_master(locustfile_sources) -> list[str]:
locustfiles = []

for source in locustfile_sources:
Expand Down
1 change: 1 addition & 0 deletions locust/test/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1828,6 +1828,7 @@ def t(self):
stdout=PIPE,
text=True,
)
gevent.sleep(2)
proc_worker = subprocess.Popen(
[
"locust",
Expand Down

0 comments on commit 25922e8

Please sign in to comment.