diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-01-02 23:21:23 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-01-02 23:52:24 +0100 |
commit | fffde57ac06ace43d74a04f799fabe1724d83ace (patch) | |
tree | bd14fe27bb389dd85ac12da6d564f56629411558 /examples | |
parent | 15c8825eeb4c7546f2c8e5c5a044e0f25fc9d4e6 (diff) | |
download | pylint-git-fffde57ac06ace43d74a04f799fabe1724d83ace.tar.gz |
Format docstrings with ``pydocstringformatter``
Diffstat (limited to 'examples')
-rw-r--r-- | examples/custom.py | 3 | ||||
-rw-r--r-- | examples/deprecation_checker.py | 3 |
2 files changed, 3 insertions, 3 deletions
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: |