From fffde57ac06ace43d74a04f799fabe1724d83ace Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Noord?= <13665637+DanielNoord@users.noreply.github.com> Date: Sun, 2 Jan 2022 23:21:23 +0100 Subject: Format docstrings with ``pydocstringformatter`` --- examples/custom.py | 3 ++- examples/deprecation_checker.py | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/custom.py b/examples/custom.py index 695f77d20..d4376fc4e 100644 --- a/examples/custom.py +++ b/examples/custom.py @@ -52,7 +52,8 @@ class MyAstroidChecker(BaseChecker): def visit_call(self, node: nodes.Call) -> None: """Called when a :class:`.nodes.Call` node is visited. - See :mod:`astroid` for the description of available nodes.""" + See :mod:`astroid` for the description of available nodes. + """ if not ( isinstance(node.func, nodes.Attribute) and isinstance(node.func.expr, nodes.Name) diff --git a/examples/deprecation_checker.py b/examples/deprecation_checker.py index d3dca4e07..79a728537 100644 --- a/examples/deprecation_checker.py +++ b/examples/deprecation_checker.py @@ -1,5 +1,4 @@ -""" -Example checker detecting deprecated functions/methods. Following example searches for usages of +"""Example checker detecting deprecated functions/methods. Following example searches for usages of deprecated function `deprecated_function` and deprecated method `MyClass.deprecated_method` from module mymodule: -- cgit v1.2.1