diff options
| author | Eric N. Vander Weele <ericvw@gmail.com> | 2019-11-27 11:52:26 -0500 |
|---|---|---|
| committer | Eric N. Vander Weele <ericvw@gmail.com> | 2019-11-27 11:52:26 -0500 |
| commit | af9153d397ef1e8ac7b92e727c643c9298686ce9 (patch) | |
| tree | 040b4d10c86e78254d17de7a232e34de8d623a6a /src/flake8/main/application.py | |
| parent | e571167161a42a5da052eaf247ab13ac0c56b7c6 (diff) | |
| download | flake8-af9153d397ef1e8ac7b92e727c643c9298686ce9.tar.gz | |
application: Update find_plugins() docstring
When the checks for the cached objects were removed in
2d5eae637a0738d4bad62bed36b57fef07682df6, the `.find_plugins()`
docstring need to be updated to specify the updated behavior.
Diffstat (limited to 'src/flake8/main/application.py')
| -rw-r--r-- | src/flake8/main/application.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/flake8/main/application.py b/src/flake8/main/application.py index 6e7aabf..ae8fdb3 100644 --- a/src/flake8/main/application.py +++ b/src/flake8/main/application.py @@ -152,11 +152,8 @@ class Application(object): # type: (config.ConfigFileFinder, Optional[str], bool) -> None """Find and load the plugins for this application. - If :attr:`check_plugins`, or :attr:`formatting_plugins` are ``None`` - then this method will update them with the appropriate plugin manager - instance. Given the expense of finding plugins (via :mod:`entrypoints`) - we want this to be idempotent and so only update those attributes if - they are ``None``. + Set the :attr:`check_plugins` and :attr:`formatting_plugins` attributes + based on the discovered plugins found. :param config.ConfigFileFinder config_finder: The finder for finding and reading configuration files. |
