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 /pylint/pyreverse/utils.py | |
parent | 15c8825eeb4c7546f2c8e5c5a044e0f25fc9d4e6 (diff) | |
download | pylint-git-fffde57ac06ace43d74a04f799fabe1724d83ace.tar.gz |
Format docstrings with ``pydocstringformatter``
Diffstat (limited to 'pylint/pyreverse/utils.py')
-rw-r--r-- | pylint/pyreverse/utils.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pylint/pyreverse/utils.py b/pylint/pyreverse/utils.py index e22061781..454b9dfc9 100644 --- a/pylint/pyreverse/utils.py +++ b/pylint/pyreverse/utils.py @@ -270,7 +270,8 @@ def get_annotation( def infer_node(node: Union[nodes.AssignAttr, nodes.AssignName]) -> set: """Return a set containing the node annotation if it exists - otherwise return a set of the inferred types using the NodeNG.infer method""" + otherwise return a set of the inferred types using the NodeNG.infer method + """ ann = get_annotation(node) try: @@ -286,7 +287,8 @@ def infer_node(node: Union[nodes.AssignAttr, nodes.AssignName]) -> set: def check_graphviz_availability(): """Check if the ``dot`` command is available on the machine. This is needed if image output is desired and ``dot`` is used to convert - from *.dot or *.gv into the final output format.""" + from *.dot or *.gv into the final output format. + """ if shutil.which("dot") is None: print( "The requested output format is currently not available.\n" |