This issue suggests adding Git attributes to the `poetry.lock` file to mark it as generated and disable diff for that file.