Skip to content

Commit a2359ce

Browse files
committed
chore: improve documentation around pyproject.toml usage
1 parent 5f65de3 commit a2359ce

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ With Pip:
5858
5959
$ pip install radon
6060
61-
With Pip and `pyproject.toml` support on Python <3.11:
61+
If you want to configure Radon from `pyproject.toml` and you run Python <3.11,
62+
you'll need the extra `toml` dependency:
6263

6364
.. code-block:: sh
6465

docs/commandline.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ For example, all of the radon commands have a ``--exclude`` and ``--ignore`` arg
2323
Radon will look for the following files to determine default arguments:
2424

2525
* ``radon.cfg``
26-
* ``pyproject.toml`` (with optional toml install before python 3.11)
26+
* ``pyproject.toml`` (with optional `toml` install on Python <3.11)
2727
* ``setup.cfg``
2828
* ``~/.radon.cfg``
2929

0 commit comments

Comments
 (0)