Skip to content

Commit cd1bb98

Browse files
authored
fix TOML examples
1 parent fbaeaa9 commit cd1bb98

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ for those legacy environments.
2929
First, ensure that ``setuptools_scm`` is present during the project's
3030
built step by specifying it as one of the build requirements.
3131

32-
.. code:: ini
32+
.. code:: toml
3333
3434
# pyproject.toml
3535
[build-system]
@@ -47,7 +47,7 @@ with those uses, consider also including a ``setup_requires`` directive
4747

4848
To enable version inference, add this section to your pyproject.toml:
4949

50-
.. code:: ini
50+
.. code:: toml
5151
5252
# pyproject.toml
5353
[tools.setuptools_scm]
@@ -57,11 +57,11 @@ Including this section is comparable to supplying
5757
include arbitrary keyword arguments in that section
5858
to be supplied to ``get_version()``. For example:
5959

60-
.. code:: ini
60+
.. code:: toml
6161
6262
# pyproject.toml
6363
[tools.setuptools_scm]
64-
write_to = pkg/version.py
64+
write_to = "pkg/version.py"
6565
6666
6767
``setup.py`` usage

0 commit comments

Comments
 (0)