summaryrefslogtreecommitdiff
path: root/pylint/pyreverse
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2022-05-05 15:06:50 +0200
committerGitHub <noreply@github.com>2022-05-05 15:06:50 +0200
commit30a56fbd804882f0acc9d251f237b6c50ef91672 (patch)
tree5aa77367006362cef15c5493b85ce85567c41a8d /pylint/pyreverse
parent0a4204fd7555cfedd43f43017c94d24ef48244a5 (diff)
downloadpylint-git-30a56fbd804882f0acc9d251f237b6c50ef91672.tar.gz
Activate the ``duplicate-code`` checker (#6121)
Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'pylint/pyreverse')
-rw-r--r--pylint/pyreverse/mermaidjs_printer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/pyreverse/mermaidjs_printer.py b/pylint/pyreverse/mermaidjs_printer.py
index e125e8046..e9247a385 100644
--- a/pylint/pyreverse/mermaidjs_printer.py
+++ b/pylint/pyreverse/mermaidjs_printer.py
@@ -42,6 +42,7 @@ class MermaidJSPrinter(Printer):
Nodes can be classes, packages, participants etc.
"""
+ # pylint: disable=duplicate-code
if properties is None:
properties = NodeProperties(label=name)
stereotype = "~~Interface~~" if type_ is NodeType.INTERFACE else ""