summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Chaudron <manu.chaud@hotmail.fr>2021-04-17 19:21:22 +0200
committerGitHub <noreply@github.com>2021-04-17 19:21:22 +0200
commit1c0ee1d59d5044e8bbbaeabf1c0c1c8de091edd2 (patch)
treea6df09f3cdd1ef6d8eb26fb89aff7eee33bcc17f
parentc7ac7c0ec339e9a8d105ccac0e59e65cacb79272 (diff)
downloadpylint-git-1c0ee1d59d5044e8bbbaeabf1c0c1c8de091edd2.tar.gz
Use Python official doc's terminology (#4349)
A directory containing a __init__.py file is called a package, as per https://docs.python.org/3/tutorial/modules.html#packages
-rw-r--r--doc/user_guide/run.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/user_guide/run.rst b/doc/user_guide/run.rst
index 43e6e2113..e020e7f2e 100644
--- a/doc/user_guide/run.rst
+++ b/doc/user_guide/run.rst
@@ -102,10 +102,10 @@ configuration file in the following order and uses the first one it finds:
providing it has at least one ``tool.pylint.`` section.
#. ``setup.cfg`` in the current working directory,
providing it has at least one ``pylint.`` section
-#. If the current working directory is in a Python module, Pylint searches \
- up the hierarchy of Python modules until it finds a ``pylintrc`` file. \
+#. 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 \
- basis. Of course, a directory is judged to be a Python module if it \
+ basis. Of course, a directory is judged to be a Python package if it \
contains an ``__init__.py`` file.
#. The file named by environment variable ``PYLINTRC``
#. if you have a home directory which isn't ``/root``: