From 249a05267e1c22634a3e829f78b36075ca8e105b Mon Sep 17 00:00:00 2001 From: Andreas Reichel Date: Wed, 5 Sep 2018 11:13:02 +0200 Subject: [PATCH] pylint: disable duplicate code build.py and shell.py have a long list of explicit macro commands, which are code duplicates. Since this is wanted coding pattern, disable the pylint warning about this. Signed-off-by: Andreas Reichel --- .pylintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pylintrc b/.pylintrc index 4ceefd8..94845ab 100644 --- a/.pylintrc +++ b/.pylintrc @@ -65,7 +65,7 @@ confidence= # --enable=similarities". If you want to run only the classes checker, but have # no Warning level messages displayed, use"--disable=all --enable=classes # --disable=W" -disable=too-few-public-methods,locally-disabled,redefined-variable-type,too-many-statements +disable=too-few-public-methods,locally-disabled,redefined-variable-type,too-many-statements,duplicate-code