mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-21 16:19:21 +00:00
19 lines
586 B
Python
19 lines
586 B
Python
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
# For details: https://github.com/PyCQA/pylint/blob/master/COPYING
|
|
|
|
import warnings
|
|
|
|
from pylint.extensions import docparams
|
|
|
|
|
|
def register(linter):
|
|
"""Required method to auto register this checker.
|
|
|
|
:param linter: Main interface object for Pylint plugins
|
|
:type linter: Pylint object
|
|
"""
|
|
warnings.warn("This plugin is deprecated, use pylint.extensions.docparams instead.",
|
|
DeprecationWarning)
|
|
linter.register_checker(docparams.DocstringParameterChecker(linter))
|
|
|