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 <andreas.reichel.ext@siemens.com>
This commit is contained in:
Andreas Reichel 2018-09-05 11:13:02 +02:00 committed by Daniel Wagner
parent 6349f7ab73
commit 249a05267e

View File

@ -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