File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -135,11 +135,16 @@ e.g.:
135135 if len (filename) > 11 and filename.startswith(" pylock." ) and filename.endswith(" .toml" ):
136136 name = filename.removeprefix(" pylock." ).removesuffix(" .toml" )
137137
138- The expectation is that services that install lock files automatically will
139- search for a lock file with the service's name, then fallback to the generic
140- ``pylock.toml `` (e.g. a cloud host service named Spam would first look for
138+ The expectation is that services that automatically install from lock files will
139+ search for:
140+
141+ 1. A lock file with the service's name
142+ 2. ``pylock.toml `` with a dependency group with the name of the service
143+ 3. The default install with ``pylock.toml ``
144+
145+ E.g. a cloud host service named "spam" would first look for
141146``pylock.spam.toml `` to install, and if that file didn't exist then install from
142- ``pylock.toml ``) .
147+ ``pylock.toml `` and look for a dependency group named "spam" fo use if present .
143148
144149The lock file(s) SHOULD be located in the directory as appropriate for the scope
145150of the lock file. Locking against a single ``pyproject.toml ``, for instance,
You can’t perform that action at this time.
0 commit comments