Skip to content

Commit 1c0ee1d

Browse files
authored
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
1 parent c7ac7c0 commit 1c0ee1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/user_guide/run.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ configuration file in the following order and uses the first one it finds:
102102
providing it has at least one ``tool.pylint.`` section.
103103
#. ``setup.cfg`` in the current working directory,
104104
providing it has at least one ``pylint.`` section
105-
#. If the current working directory is in a Python module, Pylint searches \
106-
up the hierarchy of Python modules until it finds a ``pylintrc`` file. \
105+
#. If the current working directory is in a Python package, Pylint searches \
106+
up the hierarchy of Python packages until it finds a ``pylintrc`` file. \
107107
This allows you to specify coding standards on a module-by-module \
108-
basis. Of course, a directory is judged to be a Python module if it \
108+
basis. Of course, a directory is judged to be a Python package if it \
109109
contains an ``__init__.py`` file.
110110
#. The file named by environment variable ``PYLINTRC``
111111
#. if you have a home directory which isn't ``/root``:

0 commit comments

Comments
 (0)