Skip to content
Discussion options

You must be logged in to vote

Hmm... it works fine for me!

It seems configargparse ignores the last line if there isnt a newline at the end, but other than that I cant reproduce.

❯ docker run -it --entrypoint bash locustio/locust:master
locust@fcac7d0e8f12:~$ echo 'locustfile = "foo.py"' >> locust.conf
locust@fcac7d0e8f12:~$ locust
Could not find 'locustfile.py'. Ensure your locustfile ends with '.py' or is a directory with locustfiles. See --help for available options.
locust@fcac7d0e8f12:~$ echo 'locustfile = "foo.py"' >> locust.conf
locust@fcac7d0e8f12:~$ locust
Could not find 'foo.py'. Ensure your locustfile ends with '.py' or is a directory with locustfiles. See --help for available options.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rofr
Comment options

Answer selected by rofr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants