Skip to content

Commit be0e85f

Browse files
Apply suggestions from code review
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
1 parent 95f181f commit be0e85f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

source/specifications/pylock-toml.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@ The expectation is that services that automatically install from lock files will
3131
search for:
3232

3333
1. The lock file with the service's name and doing the default install
34-
2. A multi-use ``pylock.toml`` with a dependency group with the name of the service
35-
3. The default install of ``pylock.toml``
34+
2. A multi-use :file:`pylock.toml` with a dependency group with the name of the service
35+
3. The default install of :file:`pylock.toml`
3636

3737
E.g. a cloud host service named "spam" would first look for
38-
``pylock.spam.toml`` to install from, and if that file didn't exist then install
39-
from ``pylock.toml`` and look for a dependency group named "spam" to use if
38+
:file:`pylock.spam.toml` to install from, and if that file didn't exist then install
39+
from :file:`pylock.toml` and look for a dependency group named "spam" to use if
4040
present.
4141

4242
The lock file(s) SHOULD be located in the directory as appropriate for the scope
43-
of the lock file. Locking against a single ``pyproject.toml``, for instance,
44-
would place the ``pylock.toml`` in the same directory. If the lock file covered
45-
multiple projects in a monorepo, then the expectation is the ``pylock.toml``
43+
of the lock file. Locking against a single :file:`pyproject.toml`, for instance,
44+
would place the :file:`pylock.toml` in the same directory. If the lock file covered
45+
multiple projects in a monorepo, then the expectation is the :file:`pylock.toml`
4646
file would be in the directory that held all the projects being locked.
4747

4848

@@ -54,7 +54,7 @@ The format of the file is TOML_.
5454

5555
Tools SHOULD write their lock files in a consistent way to minimize noise in
5656
diff output. Keys in tables -- including the top-level table -- SHOULD be
57-
recorded in a consistent order (if inspiration is desired, this PEP has tried to
57+
recorded in a consistent order (if inspiration is desired, this specification has tried to
5858
write down keys in a logical order). As well, tools SHOULD sort arrays in
5959
consistent order. Usage of inline tables SHOULD also be kept consistent.
6060

0 commit comments

Comments
 (0)