summaryrefslogtreecommitdiff
path: root/src/flake8/main
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2019-11-27 17:01:37 +0000
committerAnthony Sottile <asottile@umich.edu>2019-11-27 17:01:37 +0000
commit15de413f9e04a9fe360d6a22a66ba163d21a7cf4 (patch)
tree366c38dcca9f6fd2665a914b2817f9db3a149404 /src/flake8/main
parente891d5b00a9cbe1e0680d06314f9c5090148632e (diff)
parentaf9153d397ef1e8ac7b92e727c643c9298686ce9 (diff)
downloadflake8-15de413f9e04a9fe360d6a22a66ba163d21a7cf4.tar.gz
Merge branch 'app-cleanup-docstrings' into 'master'
application: Update find_plugins() docstring See merge request pycqa/flake8!387
Diffstat (limited to 'src/flake8/main')
-rw-r--r--src/flake8/main/application.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/flake8/main/application.py b/src/flake8/main/application.py
index 689a1ad..42e365f 100644
--- a/src/flake8/main/application.py
+++ b/src/flake8/main/application.py
@@ -150,11 +150,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.