From 1c0ee1d59d5044e8bbbaeabf1c0c1c8de091edd2 Mon Sep 17 00:00:00 2001 From: Emmanuel Chaudron Date: Sat, 17 Apr 2021 19:21:22 +0200 Subject: 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 --- doc/user_guide/run.rst | 6 +++--- 1 file 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``: -- cgit v1.2.1