mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-02 19:56:52 +00:00
application: Update find_plugins() docstring
When the checks for the cached objects were removed in
2d5eae637a, the `.find_plugins()`
docstring need to be updated to specify the updated behavior.
This commit is contained in:
parent
e571167161
commit
af9153d397
1 changed files with 2 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue