How do I stop poetry.lock from populating every time I create a python project?

To stop the poetry lock --no-update command that may happen at the start of a run, do this:
Click three dots and Show hidden files, then open .replit file.
Insert this at the top:

disableInstallBeforeRun = true

You can ignore the poetry.lock file, it doesn’t affect whether the command appears or not.

1 Like