From 1aa99b9b3b4c900b3585ef67ae3f02f8ddfd20a2 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 4 Sep 2021 10:12:05 -0700 Subject: [PATCH] disable Pylint duplicate-code warning This triggers for a lot of Graphviz Python code because, by its nature of being used to write test cases in Graphviz, there is inherently always going to be a lot of similar looking code. --- .pylintrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pylintrc b/.pylintrc index 8aee9f105..645fd03eb 100644 --- a/.pylintrc +++ b/.pylintrc @@ -147,7 +147,8 @@ disable=print-statement, invalid-name, too-many-locals, global-statement, - too-many-lines + too-many-lines, + duplicate-code # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option -- 2.40.0