Skip to content

Commit

Permalink
Add poetry version used to generate lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
pfouque committed Jan 11, 2023
1 parent d8b5181 commit 730aa75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/poetry/packages/locker.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
from tomlkit import inline_table
from tomlkit import table

from poetry.__version__ import __version__
from poetry.utils._compat import tomllib


Expand All @@ -40,8 +41,8 @@
logger = logging.getLogger(__name__)
_GENERATED_IDENTIFIER = "@" + "generated"
GENERATED_COMMENT = (
f"This file is automatically {_GENERATED_IDENTIFIER} by Poetry and should not be"
" changed by hand."
f"This file is automatically {_GENERATED_IDENTIFIER} by Poetry (version"
f" {__version__}) and should not be changed by hand."
)


Expand Down

0 comments on commit 730aa75

Please # to comment.