Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

check_docs.py 779B

123456789101112131415161718192021
  1. # Copyright (c) 2014-2015 Bruno Daniel <bruno.daniel@blue-yonder.com>
  2. # Copyright (c) 2015-2016 Claudiu Popa <pcmanticore@gmail.com>
  3. # Copyright (c) 2016 Ashley Whetter <ashley@awhetter.co.uk>
  4. # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  5. # For details: https://github.com/PyCQA/pylint/blob/master/COPYING
  6. import warnings
  7. from pylint.extensions import docparams
  8. def register(linter):
  9. """Required method to auto register this checker.
  10. :param linter: Main interface object for Pylint plugins
  11. :type linter: Pylint object
  12. """
  13. warnings.warn("This plugin is deprecated, use pylint.extensions.docparams instead.",
  14. DeprecationWarning)
  15. linter.register_checker(docparams.DocstringParameterChecker(linter))