summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMikhail f. Shiryaev <mr.felixoid@gmail.com>2023-04-30 22:48:34 +0200
committerGitHub <noreply@github.com>2023-04-30 22:48:34 +0200
commitf8288842e58a8b6007ff15ab380c84b00eb9b7a3 (patch)
tree727cd5397b5fa88d9fa3f0d7f55af36280911bc9 /doc
parentc2ac6f1e905b263adb32102c87150a0c607e4db0 (diff)
downloadpylint-git-f8288842e58a8b6007ff15ab380c84b00eb9b7a3.tar.gz
Search for pyproject.toml config file in parent dirs (#7163)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
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