mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-12 23:54:17 +00:00
Merge branch 'app-cleanup-docstrings' into 'master'
application: Update find_plugins() docstring See merge request pycqa/flake8!387
This commit is contained in:
commit
166768e232
1 changed files with 2 additions and 5 deletions
|
|
@ -150,11 +150,8 @@ class Application(object):
|
||||||
# type: (config.ConfigFileFinder, Optional[str], bool) -> None
|
# type: (config.ConfigFileFinder, Optional[str], bool) -> None
|
||||||
"""Find and load the plugins for this application.
|
"""Find and load the plugins for this application.
|
||||||
|
|
||||||
If :attr:`check_plugins`, or :attr:`formatting_plugins` are ``None``
|
Set the :attr:`check_plugins` and :attr:`formatting_plugins` attributes
|
||||||
then this method will update them with the appropriate plugin manager
|
based on the discovered plugins found.
|
||||||
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``.
|
|
||||||
|
|
||||||
:param config.ConfigFileFinder config_finder:
|
:param config.ConfigFileFinder config_finder:
|
||||||
The finder for finding and reading configuration files.
|
The finder for finding and reading configuration files.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue