summaryrefslogtreecommitdiff
path: root/doc/user_guide
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/user_guide
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/user_guide')
-rw-r--r--doc/user_guide/usage/run.rst3
1 files changed, 3 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 \