summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/user_guide/usage/run.rst3
-rw-r--r--doc/whatsnew/fragments/7163.other3
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/user_guide/usage/run.rst b/doc/user_guide/usage/run.rst
index b9dfedc88..7e6e1a830 100644
--- a/doc/user_guide/usage/run.rst
+++ b/doc/user_guide/usage/run.rst
@@ -105,6 +105,9 @@ configuration file in the following order and uses the first one it finds:
providing it has at least one ``pylint.`` section
#. ``tox.ini`` in the current working directory,
providing it has at least one ``pylint.`` section
+#. Pylint will search for the ``pyproject.toml`` file up the directories hierarchy
+ unless it's found, or a ``.git``/``.hg`` directory is found, or the file system root
+ is approached.
#. If the current working directory is in a Python package, Pylint searches \
up the hierarchy of Python packages until it finds a ``pylintrc`` file. \
This allows you to specify coding standards on a module-by-module \
diff --git a/doc/whatsnew/fragments/7163.other b/doc/whatsnew/fragments/7163.other
new file mode 100644
index 000000000..93f731aae
--- /dev/null
+++ b/doc/whatsnew/fragments/7163.other
@@ -0,0 +1,3 @@
+Search for ``pyproject.toml`` recursively in parent directories up to a project or file system root.
+
+Refs #7163, Closes #3289